From 9bd14811130bbb0339f2199de7719250152c68eb Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Tue, 17 Dec 2024 00:00:11 -0300 Subject: [PATCH] feat: add signature to footer --- handlers/pages/home.templ | 81 ++++++++++++++++++++++++--------------- 1 file changed, 51 insertions(+), 30 deletions(-) diff --git a/handlers/pages/home.templ b/handlers/pages/home.templ index 73b1bca..966acbd 100644 --- a/handlers/pages/home.templ +++ b/handlers/pages/home.templ @@ -7,6 +7,7 @@ import ( "forge.capytal.company/capytalcode/project-comicverse/lib/router/rerrors" "keikos.work/templates/layouts" + "keikos.work/assets" ) type Home struct{} @@ -140,42 +141,54 @@ templ (p *Home) page() { class={ "relative w-full h-screen bg-heropattern bg-black bg-top overflow-x-hidden", "md:flex justify-center items-center" } > -
-

+ +
+

- -

-
-

{ time.Now().Format("2006") } © Helena "Keiko" Ayrim

-

- Made & managed with - love by - Gustavo "Guz" L Mello - +

+
+
+ +
+

{ time.Now().Format("2006") } © Helena "Keiko" Ayrim

+

+ Made & managed with + love by + + Gustavo "Guz" L Mello + - - (Work In Progress) - -

+ aria-label="(Opens in new tab)" + > + + (Work In Progress) + +

+
} } + +func (p *Home) sign() templ.Component { + f, err := assets.ASSETS.ReadFile("img/sign.svg") + if err != nil { + return templ.Raw("") + } + return templ.Raw(string(f)) +}