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(
newHTMLBlock().
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(
newHTMLBlock().
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(
newHTMLBlock().
Class("right").
Src("/web/blocks/intro.html"),
Src("/web/blocks/pages/intro.html"),
&guestbookForm{
OnSubmit: func(name, message string) {
var comment entity.Comment

View File

@ -262,3 +262,7 @@ div.comment-message p{
.fit {
width: fit-content;
}
.invisible {
visibility: hidden;
}