diff --git a/src/aboutpage.go b/src/aboutpage.go index e203172..ee0eee7 100644 --- a/src/aboutpage.go +++ b/src/aboutpage.go @@ -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"), ) } diff --git a/src/galaxiespage.go b/src/galaxiespage.go index b2bb2ad..62f563b 100644 --- a/src/galaxiespage.go +++ b/src/galaxiespage.go @@ -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"), ) } diff --git a/src/homepage.go b/src/homepage.go index 61d83e1..1ff8955 100644 --- a/src/homepage.go +++ b/src/homepage.go @@ -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 diff --git a/web/blocks/about.html b/web/blocks/pages/about.html similarity index 100% rename from web/blocks/about.html rename to web/blocks/pages/about.html diff --git a/web/blocks/galaxies.html b/web/blocks/pages/galaxies.html similarity index 100% rename from web/blocks/galaxies.html rename to web/blocks/pages/galaxies.html diff --git a/web/blocks/intro.html b/web/blocks/pages/intro.html similarity index 100% rename from web/blocks/intro.html rename to web/blocks/pages/intro.html diff --git a/web/static/style.css b/web/static/style.css index 130731f..47f2871 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -261,4 +261,8 @@ div.comment-message p{ .fit { width: fit-content; +} + +.invisible { + visibility: hidden; } \ No newline at end of file