Add favicons

This commit is contained in:
Szymon Nowakowski 2024-03-10 22:17:56 +01:00
parent 8cb253d45e
commit bcafe0591e
10 changed files with 47 additions and 2 deletions

1
.gitattributes vendored
View File

@ -1 +1,2 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.woff2 filter=lfs diff=lfs merge=lfs -text

BIN
bun.lockb

Binary file not shown.

View File

@ -1,6 +1,9 @@
{
"name": "renati.me",
"type": "module",
"scripts": {
"watch": "tailwindcss -i tailwind.css -o src/css/style.css --watch"
},
"devDependencies": {
"tailwindcss": "^3.4.1"
}

BIN
src/images/android-chrome-192x192.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/images/android-chrome-512x512.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/images/apple-touch-icon.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/images/favicon-16x16.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
src/images/favicon-32x32.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -4,11 +4,18 @@
<meta charset="utf-8">
<title>I am Renati</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="/css/style.css">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<main class="max-w-screen-md mx-auto">
<header class="font-mono text-xl my-2"><a href="https://renati.me">renati.me</a></header>
<header class="font-mono text-xl my-2 flex items-center gap-2">
<img src="/images/favicon-16x16.png" width="16" height="16" alt="Renati Logo" class="inline-block">
<div>renati.me</div>
</header>
<p>This is my webpage. Someday, maybe I'll add an introduction. Until then, you can check out my stuff.</p>
<h2 class="font-mono text-lg my-2">Socials</h2>
<ul class="list-disc">

19
src/site.webmanifest Normal file
View File

@ -0,0 +1,19 @@
{
"name": "renati.me",
"short_name": "renati.me",
"icons": [
{
"src": "/images/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/images/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#FFFFFF",
"background_color": "#FFFFFF",
"display": "standalone"
}