Skip to content

Commit

Permalink
fix favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
qaynam committed Aug 24, 2023
1 parent eebd3a3 commit 518ca14
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 3 deletions.
20 changes: 19 additions & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,25 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<link rel="icon" href="%sveltekit.assets%/favicon.ico" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="%sveltekit.assets%/favicons/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="%sveltekit.assets%/favicons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="%sveltekit.assets%/favicons/favicon-16x16.png"
/>

<meta name="viewport" content="width=device-width" />
<meta name="color-scheme" content="light dark" />
<meta name="theme-color" content="%sveltekit.theme_color%" />
Expand Down
2 changes: 1 addition & 1 deletion src/views/components/features/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<Stack class="lg:gap-2 gap-0">
<h1 class="text-white lg:text-4xl text-3xl font-black flex items-center gap-3">
<img src="/favicon.png" class="lg:w-10 lg:h-10 h-8 w-8" alt="Smiiily Logo" />
<img src="/logo.png" class="lg:w-10 lg:h-10 h-8 w-8" alt="Smiiily Logo" />
Smiiily
</h1>
<h2 class="text-gray-400 lg:text-xl text-lg lg:max-w-lg">
Expand Down
2 changes: 1 addition & 1 deletion src/views/components/features/PWAInstallPrompt.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="flex gap-2">
<button class="text-xl inline-block p-2" on:click={onClose}>&times;</button>
<div class="flex items-center gap-2">
<img src="/favicon.png" class="h-10 w-10" alt="" />
<img src="/logo.png" class="h-10 w-10" alt="" />
<span class="font-semibold">
Install PWA and use the app without opening your browser! !
</span>
Expand Down
Binary file added static/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/favicons/favicon.ico
Binary file not shown.
File renamed without changes

0 comments on commit 518ca14

Please sign in to comment.