refactor: move SVGs and style.css to static/assets/ and update references

This commit is contained in:
2026-05-10 20:28:01 +02:00
parent 790a384f58
commit 91aa0de67d
16 changed files with 12 additions and 12 deletions

View File

@@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{/* page title injected from child template */}}
<title>MyAnimeList: {{template "title" .}}</title>
<link rel="manifest" href="/static/manifest.json">
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
<link rel="manifest" href="/static/assets/manifest.json">
<link rel="icon" type="image/svg+xml" href="/static/assets/favicon.svg">
<link rel="stylesheet" href="/dist/tailwind.css">
<style>
/* Prevent transition on load */

View File

@@ -2,7 +2,7 @@
<footer class="mt-auto border-t border-border bg-background-sidebar py-8 px-6 md:px-12">
<div class="flex flex-col items-center justify-between gap-6 sm:flex-row">
<div class="flex items-center gap-3">
<img src="/static/readme-logo-light.svg" alt="MAL" class="h-6 w-6" />
<img src="/static/assets/readme-logo-light.svg" alt="MAL" class="h-6 w-6" />
<span class="text-foreground-muted font-semibold text-lg tracking-tight">MyAnimeList</span>
</div>
<div class="flex items-center gap-6">

View File

@@ -9,7 +9,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="3" x2="21" y1="12" y2="12"/><line x1="3" x2="21" y1="6" y2="6"/><line x1="3" x2="21" y1="18" y2="18"/></svg>
</button>
<a href="/" class="group flex items-center gap-2.5 focus:outline-none">
<img src="/static/readme-logo-light.svg" alt="MAL" class="h-8 w-8 transition-transform group-hover:scale-110" />
<img src="/static/assets/readme-logo-light.svg" alt="MAL" class="h-8 w-8 transition-transform group-hover:scale-110" />
<span class="text-xl font-bold tracking-tight text-foreground">MyAnime<span class="text-accent">List</span></span>
</a>
</div>