diff --git a/layouts/page.templ b/layouts/page.templ index 07c1841..8dfe337 100644 --- a/layouts/page.templ +++ b/layouts/page.templ @@ -13,6 +13,10 @@ templ Page(title string) { font-family: Cal Sans; src: url(cal-sans.woff2); } + @font-face { + font-family: Fira Code; + src: url(fira-code.woff2); + } { title } diff --git a/pages/homepage.templ b/pages/homepage.templ index 0a5bc6e..225a355 100644 --- a/pages/homepage.templ +++ b/pages/homepage.templ @@ -6,15 +6,13 @@ import ( templ Homepage() { @layouts.Page("013") { -
-
- -

Someone who's trying to improve

-
- -
+ + + } } diff --git a/static/fira-code.woff2 b/static/fira-code.woff2 new file mode 100644 index 0000000..e755a9d Binary files /dev/null and b/static/fira-code.woff2 differ diff --git a/uno.config.js b/uno.config.js index 36f099b..b07b4ec 100644 --- a/uno.config.js +++ b/uno.config.js @@ -34,6 +34,10 @@ export default defineConfig({ name: 'Cal Sans', provider: 'none', }, + mono: { + name: 'Fira Code', + provider: 'none', + }, }, }), ],