summaryrefslogtreecommitdiff
path: root/website.templ
diff options
context:
space:
mode:
Diffstat (limited to 'website.templ')
-rw-r--r--website.templ10
1 files changed, 6 insertions, 4 deletions
diff --git a/website.templ b/website.templ
index 10fd1bd..c86639b 100644
--- a/website.templ
+++ b/website.templ
@@ -24,7 +24,10 @@ templ HeadComponent(title string, description string) {
<script src="/public/scrollbar.js" defer></script>
<script src="/public/my_uptime.js" defer></script>
<script src="/public/footnotes.js" defer></script>
+ <script src="/public/shell.js" defer></script>
+ <link rel="preload" href="/public/styles/style.css" as="style"/>
<link rel="stylesheet" href="/public/styles/style.css"/>
+ <script src="https://unpkg.com/htmx.org@1.9.10" defer></script>
{ children... }
</head>
}
@@ -158,7 +161,7 @@ templ TerminalLayout(style Style, path string) {
<!DOCTYPE html>
<html lang="en" style={ styleToCss(style) }>
@HeadComponent(path, "My personal website")
- <body>
+ <body hx-boost="true">
<main class="flex flex-col w-[75rem] h-[40rem] p-8 border-[0.2rem] border-(--text) overflow-hidden text-[1.125rem]">
@Nav(path)
{ children... }
@@ -394,7 +397,7 @@ templ IconArchive(color string) {
}
templ IconLink(href string, label string, extra string) {
- <a href={ templ.SafeURL(href) } target="_blank" rel="noopener noreferrer" aria-label={ label } title={ label } class={ "text-[90%] block p-[0.2rem] rounded-[0.4rem] transition-colors hover:bg-(--alt)/25" + " " + extra }>
+ <a href={ templ.SafeURL(href) } target="_blank" rel="noopener noreferrer" aria-label={ label } title={ label } class={ "text-[120%] block p-[0.2rem] rounded-[0.4rem] transition-colors hover:bg-(--alt)/25" + " " + extra }>
{ children... }
</a>
}
@@ -436,7 +439,7 @@ templ IconExternal(color string) {
}
templ IconKrypton() {
- @Icon("text-[#00f1ff] scale-150") {
+ @Icon("text-[#00f1ff] scale-135") {
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="24" height="24" fill="none" stroke="currentColor">
<!-- Outer Circle -->
<circle cx="50" cy="50" r="42" stroke-width="6"></circle>
@@ -795,7 +798,6 @@ templ ShellPage(style Style) {
</div>
</div>
}
- <script src="/public/shell.js" defer></script>
}
}