Compare commits

..

No commits in common. "4017094a6648b7f9a3f9440aef83b5d156466134" and "093cfebebfbf1e33347891882e0fd91e4c80759d" have entirely different histories.

4 changed files with 16 additions and 34 deletions

1
.gitignore vendored
View File

@ -2,4 +2,3 @@
app app
web/*.wasm web/*.wasm
staticsite staticsite
node_modules

View File

@ -65,10 +65,6 @@ func main() {
Title: "Internetica Galactica", Title: "Internetica Galactica",
Description: "A 1990's style PWA!", Description: "A 1990's style PWA!",
Author: "Quenten", Author: "Quenten",
Scripts: []string{
"https://cdn.tailwindcss.com",
"/web/static/tailwind.config.js",
},
Keywords: []string{ Keywords: []string{
"Based website", "Based website",
"Cool website", "Cool website",

View File

@ -87,15 +87,12 @@ func (p *page) Render() app.UI {
p.IbackgroundClass = app.AppendClass(p.IbackgroundClass, "background") p.IbackgroundClass = app.AppendClass(p.IbackgroundClass, "background")
} }
return app.Div(). return app.Div().
Class("flex flex-col"). Class("main").
Body( Body(
// Header and navbar // Header and navbar
&header{}, &header{},
app.Div(). app.Div().
Class("flex flex-row"). Class("left").
Body(
app.Div().
Class("basis-1/3").
Body( Body(
&navbar{}, &navbar{},
app.Range(p.IleftBar).Slice(func(i int) app.UI { app.Range(p.IleftBar).Slice(func(i int) app.UI {
@ -104,14 +101,13 @@ func (p *page) Render() app.UI {
), ),
app.Div(). app.Div().
Style("display", visible(p.hideRightContent)). Style("display", visible(p.hideRightContent)).
Class("basis-2/3"). Class("right").
ID("right"). ID("right").
Body( Body(
app.Range(p.Imain).Slice(func(i int) app.UI { app.Range(p.Imain).Slice(func(i int) app.UI {
return p.Imain[i] return p.Imain[i]
}), }),
), ),
),
) )
} }

View File

@ -1,9 +0,0 @@
tailwind.config = {
theme: {
extend: {
colors: {
clifford: '#da373d',
}
}
}
}