diff --git a/main.go b/main.go index 31c37b1..56d7ac8 100644 --- a/main.go +++ b/main.go @@ -36,6 +36,7 @@ func setupEcho() *echo.Echo { e.Use(session.Middleware(ui.SessionStore)) e.GET("/img/*", ui.AmWrap(ui.AmServeImage)) + e.GET("/about", ui.AmWrap(AboutPage)) e.GET("/", ui.AmWrap(TopPage)) return e diff --git a/top.go b/top.go index 7a5db84..3d692ca 100644 --- a/top.go +++ b/top.go @@ -79,3 +79,9 @@ func TopPage(ctxt ui.AmContext) (string, any, error) { ctxt.VarMap().Set("sideboxes", rc) return "framed_template", "top.jet", nil } + +func AboutPage(ctxt ui.AmContext) (string, any, error) { + // Set the page title. + ctxt.VarMap().Set("amsterdam_pageTitle", "About Amsterdam") + return "framed_template", "about.jet", nil +} diff --git a/ui/static_images/AmsterdamLogo.png b/ui/static_images/AmsterdamLogo.png new file mode 100644 index 0000000..64b1385 Binary files /dev/null and b/ui/static_images/AmsterdamLogo.png differ diff --git a/ui/static_images/Erbosoft-logo.png b/ui/static_images/Erbosoft-logo.png new file mode 100644 index 0000000..e90728e Binary files /dev/null and b/ui/static_images/Erbosoft-logo.png differ diff --git a/ui/templates.go b/ui/templates.go index 62d9314..57017ce 100644 --- a/ui/templates.go +++ b/ui/templates.go @@ -36,6 +36,7 @@ func SetupTemplates() { ), jet.DevelopmentMode(true), ) + views.AddGlobal("AmsterdamVersion", config.AMSTERDAM_VERSION) views.AddGlobal("GlobalConfig", config.GlobalConfig) } diff --git a/ui/views/about.jet b/ui/views/about.jet new file mode 100644 index 0000000..a85984c --- /dev/null +++ b/ui/views/about.jet @@ -0,0 +1,51 @@ + +
+ Amsterdam Web Communities System +
+ + +
+

Amsterdam Web Communities System Release {{ AmsterdamVersion }}

+

+ Copyright © 2025 Erbosoft Metaverse Design Solutions, All Rights Reserved. +

+

+ This software is subject to the + Mozilla Public License Version 2.0. + It is distributed on an "AS IS" basis, without warranty of any kind, either express or implied. + See the License for the specific language governing rights and limitations under the License. +

+
+ + +
+

The Amsterdam Project Team

+
+
+
Amy Gale Ruth Bowersox
+
Code wrangler, system guru, and administrator in general
+
+
+
+ + +
+

+ Thanks to: Howard, who thought it up; Andre, who rescued it the first time; the Electric Minds community, who rescued it again; + and Nicole, without whom none of this would have been possible. +

+
+ + +
+ + Erbosoft Metaverse Design Solutions + +
+ diff --git a/ui/views/frame.jet b/ui/views/frame.jet index 3b7aaf9..6684019 100644 --- a/ui/views/frame.jet +++ b/ui/views/frame.jet @@ -89,17 +89,14 @@
About This Site
Documentation
- About Amsterdam + About Amsterdam
-
- {{ .SubRender(amsterdam_innerPage) | raw }} -
+ {{ .SubRender(amsterdam_innerPage) | raw }}
diff --git a/ui/views/top.jet b/ui/views/top.jet index 720bfab..47ff502 100644 --- a/ui/views/top.jet +++ b/ui/views/top.jet @@ -6,51 +6,53 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. *} - -
- {{ if .CurrentUser().IsAnon }} - -
-

Welcome to Amsterdam

-
-

- Welcome to the Amsterdam Web Communities System. To get the most out of this site, you should log in or create an account, using one of the links above. -

-
- {{ end }} - - -
-

Venice Currents

-
- -
-
- Amy, formerly Eric - ( - Administrator, - Sep 8, 2025 5:17:02 PM - ) +
+ +
+ {{ if .CurrentUser().IsAnon }} + +
+

Welcome to Amsterdam

+
+

+ Welcome to the Amsterdam Web Communities System. To get the most out of this site, you should log in or create an account, using one of the links above. +

-
This is a test.
-This is only a test.
-If this had been an actual emergency, we would all be 
-dead by now.
-
- (From the topic: It Works Again!) + {{ end }} + + +
+

Venice Currents

+
+ +
+
+ Amy, formerly Eric + ( + Administrator, + Sep 8, 2025 5:17:02 PM + ) +
+
This is a test.
+    This is only a test.
+    If this had been an actual emergency, we would all be 
+    dead by now.
+
+ (From the topic: It Works Again!) +
-
- -
- {{ ctxt := . }} - {{ range sideboxes }} - {{ ctxt.SetScratch("__sidebox", .) }} - {{ ctxt.SubRender(.TemplateName) | raw }} - {{ end }} -
+ +
+ {{ ctxt := . }} + {{ range sideboxes }} + {{ ctxt.SetScratch("__sidebox", .) }} + {{ ctxt.SubRender(.TemplateName) | raw }} + {{ end }} +
+
\ No newline at end of file