From b97448b0933d7061c9e76f3c1ba6b4a5c3fcc0e4 Mon Sep 17 00:00:00 2001 From: Tim Wundenberg Date: Fri, 1 Aug 2025 12:39:26 +0200 Subject: [PATCH] feat: use proper logo.svg, remove pirata-one, update layout --- assest-source/logo-inkscape.svg | 177 +++++++++++++++++++++ input.css | 5 - internal/template/auth/sign_in_or_up.templ | 4 +- internal/template/auth/user.templ | 6 +- internal/template/index.templ | 3 +- internal/template/layout.templ | 7 +- static/favicon.svg | 54 ++++++- static/font/PirataOne-Regular.woff2 | Bin 12916 -> 0 bytes static/logo.svg | 71 +++++++++ 9 files changed, 310 insertions(+), 17 deletions(-) create mode 100644 assest-source/logo-inkscape.svg delete mode 100644 static/font/PirataOne-Regular.woff2 create mode 100644 static/logo.svg diff --git a/assest-source/logo-inkscape.svg b/assest-source/logo-inkscape.svg new file mode 100644 index 0000000..fd6e3f8 --- /dev/null +++ b/assest-source/logo-inkscape.svg @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + $ + + + + + + + + + + $ + + + pendSparrrow + + + + + diff --git a/input.css b/input.css index 95e8a08..9710e26 100644 --- a/input.css +++ b/input.css @@ -10,17 +10,12 @@ input:focus { @apply outline-none ring-0; } -@font-face { - font-family: "Pirata One"; - src: url("/static/font/PirataOne-Regular.woff2") format("woff2"); -} @font-face { font-family: "EB Garamond"; src: url("/static/font/EBGaramond-VariableFont_wght.woff2") format("woff2"); } @theme { - --font-pirata: "Pirata One", serif; --font-garamond: "EB Garamond", serif; } diff --git a/internal/template/auth/sign_in_or_up.templ b/internal/template/auth/sign_in_or_up.templ index 94e29cc..ad39b68 100644 --- a/internal/template/auth/sign_in_or_up.templ +++ b/internal/template/auth/sign_in_or_up.templ @@ -71,10 +71,10 @@ if isSignIn { Don't have an account? Sign Up - + } else { Already have an account? Sign In - } diff --git a/internal/template/auth/user.templ b/internal/template/auth/user.templ index 72b8a27..364dda7 100644 --- a/internal/template/auth/user.templ +++ b/internal/template/auth/user.templ @@ -1,7 +1,7 @@ package auth templ UserComp(user string) { -
+
if user != "" {
} else { - Sign Up - Sign In + Sign Up + Sign In }
} diff --git a/internal/template/index.templ b/internal/template/index.templ index ea56545..39c34e6 100644 --- a/internal/template/index.templ +++ b/internal/template/index.templ @@ -3,8 +3,7 @@ package template templ Index() {

- SpendSparrow logo - SpendSparrow + SpendSparrow logo

Spend your treasure on the important diff --git a/internal/template/layout.templ b/internal/template/layout.templ index 15e5be3..20d55b1 100644 --- a/internal/template/layout.templ +++ b/internal/template/layout.templ @@ -34,9 +34,8 @@ templ Layout(slot templ.Component, user templ.Component, loggedIn bool, path str
- - SpendSparrow logo - SpendSparrow + + SpendSparrow logo
@user @@ -45,7 +44,7 @@ templ Layout(slot templ.Component, user templ.Component, loggedIn bool, path str // Content
if loggedIn { -