spatial computing page
This commit is contained in:
parent
73a37bcffe
commit
c40f003590
2 changed files with 50 additions and 0 deletions
30
tem/html/pages/sc.html
Normal file
30
tem/html/pages/sc.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
{{ template "head.html" .}}
|
||||
|
||||
<div style='height: 44px; width: 100%;'></div>
|
||||
|
||||
<div
|
||||
style="
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
width: 100%;
|
||||
justify-content: left;
|
||||
padding-left: 12px;
|
||||
"
|
||||
>
|
||||
<h1 style='word-wrap: break-word; hyphens: auto;'>
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
<p>{{ .Desc }}</p>
|
||||
</div>
|
||||
|
||||
<img src="/public/img/spatial.svg" width="100%" />
|
||||
|
||||
<div style='height: 12px; width: 100%;'></div>
|
||||
|
||||
<h2>spatial computing</h2>
|
||||
<p>signed unbounded 3d space</p>
|
||||
|
||||
<h2>paper computing</h2>
|
||||
<p>unsigned bounded 2d space</p>
|
||||
|
||||
<div style='height: 128px; width: 100%;'></div>
|
20
web/pages/sc/sc.go
Normal file
20
web/pages/sc/sc.go
Normal file
|
@ -0,0 +1,20 @@
|
|||
package sc
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"dofdev/tem"
|
||||
)
|
||||
|
||||
// func Handler(ctx *gin.Context) {
|
||||
func Handler(w http.ResponseWriter, r *http.Request) {
|
||||
data := struct {
|
||||
}{}
|
||||
tem.Render(
|
||||
w, r,
|
||||
"sc.html",
|
||||
"sc",
|
||||
"spatial computing vs paper computing",
|
||||
data,
|
||||
)
|
||||
}
|
Loading…
Add table
Reference in a new issue