Moved pages

This commit is contained in:
DutchEllie 2022-03-15 13:06:52 +01:00
parent 8b994ce249
commit 43af5b5686
7 changed files with 7 additions and 3 deletions

View File

@ -21,6 +21,6 @@ func (a *AboutPage) Render() app.UI {
Main( Main(
newHTMLBlock(). newHTMLBlock().
Class("right"). Class("right").
Src("/web/blocks/about.html"), Src("/web/blocks/pages/about.html"),
) )
} }

View File

@ -19,6 +19,6 @@ func (f *GalaxiesPage) Render() app.UI {
Main( Main(
newHTMLBlock(). newHTMLBlock().
Class("right"). Class("right").
Src("/web/blocks/galaxies.html"), Src("/web/blocks/pages/galaxies.html"),
) )
} }

View File

@ -32,7 +32,7 @@ func (p *Homepage) Render() app.UI {
Main( Main(
newHTMLBlock(). newHTMLBlock().
Class("right"). Class("right").
Src("/web/blocks/intro.html"), Src("/web/blocks/pages/intro.html"),
&guestbookForm{ &guestbookForm{
OnSubmit: func(name, message string) { OnSubmit: func(name, message string) {
var comment entity.Comment var comment entity.Comment

View File

@ -261,4 +261,8 @@ div.comment-message p{
.fit { .fit {
width: fit-content; width: fit-content;
}
.invisible {
visibility: hidden;
} }