Skip to content

Commit

Permalink
chore: rename 'icon' to 'favicon'; extend webmanifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Nov 19, 2024
1 parent 94b8f28 commit 2389811
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 5 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

<!-- Initial title and description -->
<title>InNoHassle</title>
<link rel="icon" href="/icon.png" type="image/png" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="icon" href="https://innohassle.ru/favicon.png" type="image/png" />
<link rel="icon" href="https://innohassle.ru/favicon.svg" type="image/svg+xml" />
<link rel="icon" href="https://innohassle.ru/favicon.ico" type="image/x-icon" />

<!-- App configuration -->
<link rel="manifest" href="/manifest.json" />
Expand Down
Binary file added public/favicon.ico
Binary file not shown.
File renamed without changes
File renamed without changes
21 changes: 19 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,34 @@
{
"name": "InNoHassle",
"short_name": "InNoHassle",
"description": "InNoHassle ecosystem: schedule, scholarship calculator, and more.",
"description": "InNoHassle ecosystem: schedule, maps, room booking, and more.",
"start_url": "/?from=pwa",
"scope": "/",
"display": "standalone",
"background_color": "#0b0b0b",
"theme_color": "#9747ff",
"icons": [
{
"src": "/icon.png",
"src": "/favicon.png",
"sizes": "512x512",
"type": "image/png"
}
],
"shortcuts": [
{
"name": "Dashboard",
"description": "All your important information in one place.",
"url": "/dashboard"
},
{
"name": "Maps",
"description": "Plans of the university.",
"url": "/maps"
},
{
"name": "Room booking",
"description": "Book rooms in the university.",
"url": "/room-booking"
}
]
}
2 changes: 1 addition & 1 deletion src/app/routes/_with_menu/account/connect-telegram.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Route = createFileRoute("/_with_menu/account/connect-telegram")({

<div className="m-4 flex w-full max-w-md flex-col gap-4 rounded-2xl bg-primary-main px-4 py-6 @container/account">
<img
src="/icon.svg"
src="/favicon.svg"
alt="InNoHassle logo"
className="h-24 w-24 self-center"
/>
Expand Down

0 comments on commit 2389811

Please sign in to comment.