feat: add favicon + title

This commit is contained in:
max_richter 2025-01-18 01:09:01 +01:00
parent d4cccacc28
commit ed2c9acc4a
4 changed files with 6 additions and 509 deletions

File diff suppressed because one or more lines are too long

View File

@ -9,28 +9,16 @@ export default function App({ Component }: PageProps) {
<>
<Head>
<link rel="stylesheet" href="/styles.css" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
href="/favicon.png"
/>
<link rel="manifest" href="/site.webmanifest" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#141218" />
<style>{globalCss}</style>
<title>app</title>
<title>Memorium</title>
</Head>
<Component />
<script src="/thumbnails.js" type="module" async defer />

View File

@ -11,7 +11,10 @@ export default function Home(props: PageProps) {
<RedirectSearchHandler />
<KMenu type="main" context={false} />
<MainLayout url={props.url}>
<h1 class="text-4xl mb-4 mt-3 text-white">Resources</h1>
<h1 class="text-4xl mb-4 mt-3 text-white flex gap-2">
<img src="/favicon.png" class="w-8 h-8 inline" />
Resources
</h1>
<div class="flex flex-wrap items-center gap-4">
{Object.values(resources).filter((v) => v.link !== "/").map((m) => {
return (

BIN
static/favicon.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 KiB

After

Width:  |  Height:  |  Size: 75 KiB