Skip to content

Commit ce84e72

Browse files
Added favicons
1 parent 7c2ee0d commit ce84e72

File tree

9 files changed

+42
-4
lines changed

9 files changed

+42
-4
lines changed

public/android-chrome-192x192.png

27.8 KB
Loading

public/android-chrome-512x512.png

197 KB
Loading

public/apple-touch-icon.png

25.3 KB
Loading

public/favicon-16x16.png

681 Bytes
Loading

public/favicon-32x32.png

1.6 KB
Loading

public/favicon.ico

15 KB
Binary file not shown.

public/site.webmanifest

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "Whim - The Secret Sharing App",
3+
"short_name": "Whim",
4+
"icons": [
5+
{
6+
"src": "/android-chrome-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png"
9+
},
10+
{
11+
"src": "/android-chrome-512x512.png",
12+
"sizes": "512x512",
13+
"type": "image/png"
14+
}
15+
],
16+
"theme_color": "#151d31",
17+
"background_color": "#4927d6",
18+
"display": "standalone"
19+
}

src/components/landing/landing-hero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { Clock, Flame, Lock, Shield } from "lucide-react";
1+
import { Clock, Lock, Shield } from "lucide-react";
22
import { Card, CardContent } from "~/components/ui/card";
33

44
export function LandingHero() {
55
return (
66
<div className="space-y-9">
77
{/* Brand Badge with Whim */}
88
<div className="inline-flex items-center gap-2 bg-indigo-50 dark:bg-indigo-900/30 px-3 py-1.5 rounded-full text-indigo-700 dark:text-indigo-300 font-medium text-sm border border-indigo-100 dark:border-indigo-800">
9-
<Flame className="w-4 h-4" />
9+
<img src="/favicon-32x32.png" alt="Whim" className="w-6 h-6" />
1010
Whim
1111
</div>
1212

src/routes/__root.tsx

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// <reference types="vite/client" />
2-
import { useSuspenseQuery } from "@tanstack/react-query";
2+
import { useSuspenseQuery } from "@tanstack/react-query";
33
import {
44
DefaultGlobalNotFound,
55
HeadContent,
@@ -8,7 +8,7 @@ import {
88
createRootRouteWithContext,
99
} from "@tanstack/react-router";
1010
import { wrapCreateRootRouteWithSentry } from "@sentry/tanstackstart-react";
11-
import type {QueryClient} from "@tanstack/react-query";
11+
import type { QueryClient } from "@tanstack/react-query";
1212
import appCss from "~/styles/app.css?url";
1313
import { seo } from "~/lib/seo";
1414
import { ThemeToggle } from "~/components/theme-toggle";
@@ -43,6 +43,25 @@ export const Route = wrapCreateRootRouteWithSentry(
4343
rel: "stylesheet",
4444
href: appCss,
4545
},
46+
{
47+
rel: "icon",
48+
type: "image/png",
49+
href: "/favicon-32x32.png",
50+
},
51+
{
52+
rel: "icon",
53+
type: "image/png",
54+
href: "/favicon-16x16.png",
55+
},
56+
{
57+
rel: "apple-touch-icon",
58+
sizes: "180x180",
59+
href: "/apple-touch-icon.png",
60+
},
61+
{
62+
rel: "manifest",
63+
href: "/site.webmanifest",
64+
},
4665
],
4766
}),
4867
loader: ({ context }) => {

0 commit comments

Comments
 (0)