diff --git a/server/router/pages/about.templ b/server/router/pages/about.templ index 9d00931..3baaaa3 100644 --- a/server/router/pages/about.templ +++ b/server/router/pages/about.templ @@ -1,9 +1,6 @@ package pages -import ( - "git.ekzyis.com/ekzyis/delphi.market/lib" - "git.ekzyis.com/ekzyis/delphi.market/server/router/pages/components" -) +import "git.ekzyis.com/ekzyis/delphi.market/server/router/pages/components" templ About() { @@ -11,13 +8,7 @@ templ About() {
@components.Header()
-
-
- { lib.Figlet("random", "about") }
-
-
-
+ @components.Figlet("random", "about")
+
+
+ { lib.Figlet(font, text) }
+
+
+
+}
diff --git a/server/router/pages/error.templ b/server/router/pages/error.templ
index 6b3de29..f062510 100644
--- a/server/router/pages/error.templ
+++ b/server/router/pages/error.templ
@@ -1,7 +1,6 @@
package pages
import (
- "git.ekzyis.com/ekzyis/delphi.market/lib"
"git.ekzyis.com/ekzyis/delphi.market/server/router/pages/components"
"net/http"
"strconv"
@@ -13,13 +12,7 @@ templ Error(code int) {
@components.Header()
-
-
- { lib.Figlet("random", strconv.Itoa(code)) }
-
-
-
+ @components.Figlet("random", strconv.Itoa(code))
-
-
-
- { lib.Figlet("random", "delphi") }
-
-
-
+ @components.Figlet("random", "delphi")