Skip to content

Commit b9c050c

Browse files
committed
feat: update favicon for improve support on light/dark modes
1 parent b0b9092 commit b9c050c

5 files changed

Lines changed: 16 additions & 8 deletions

File tree

index.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<link rel="icon" type="image/png" href="/favicon-dark.png" />
8-
<link rel="icon" type="image/svg+xml" href="/favicon-dark.svg" media="(prefers-color-scheme: light)" />
9-
<link rel="icon" type="image/svg+xml" href="/favicon-light.svg" media="(prefers-color-scheme: dark)" />
10-
<link rel="apple-touch-icon" sizes="180x180" href="https://raphaelbaguelin.fr/apple-touch-icon.png" />
8+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
9+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
1110
<title>Raphaël Baguelin - Portfolio</title>
1211
<meta name="description"
1312
content="Portfolio de Raphael Baguelin, étudiant en cybersécurité. Découvrez mes projets en développement web, IoT, réseau et sécurité offensive/défensive." />
@@ -20,20 +19,20 @@
2019
<meta property="og:description"
2120
content="Portfolio de Raphael Baguelin avec mes projets en cybersécurité, développement web, IoT et réseau." />
2221
<meta property="og:url" content="https://raphaelbaguelin.fr/" />
23-
<meta property="og:image" content="https://raphaelbaguelin.fr/logo.svg" />
22+
<meta property="og:image" content="/logo.svg" />
2423
<meta name="twitter:card" content="summary_large_image" />
2524
<meta name="twitter:title" content="Raphael Baguelin - Portfolio" />
2625
<meta name="twitter:description"
2726
content="Découvrez le portfolio de Raphael Baguelin : cybersécurité, réseau, IoT et développement web." />
28-
<meta name="twitter:image" content="https://raphaelbaguelin.fr/logo.svg" />
27+
<meta name="twitter:image" content="/logo.svg" />
2928
<script type="application/ld+json">
3029
{
3130
"@context": "https://schema.org",
3231
"@type": "Person",
3332
"name": "Raphael Baguelin",
3433
"url": "https://raphaelbaguelin.fr/",
3534
"jobTitle": "Etudiant en cybersécurité",
36-
"image": "https://raphaelbaguelin.fr/logo.svg",
35+
"image": "/logo.svg",
3736
"sameAs": ["https://github.com/raphbag"]
3837
}
3938
</script>

public/favicon-dark.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/favicon-light.png

-3.4 KB
Binary file not shown.

public/favicon-light.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/favicon.svg

Lines changed: 11 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)