diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
new file mode 100644
index 0000000..c2c97a8
Binary files /dev/null and b/public/apple-touch-icon.png differ
diff --git a/public/favicon.ico b/public/favicon.ico
index a11777c..387a142 100644
Binary files a/public/favicon.ico and b/public/favicon.ico differ
diff --git a/public/icon.svg b/public/icon.svg
new file mode 100644
index 0000000..691f059
--- /dev/null
+++ b/public/icon.svg
@@ -0,0 +1,30 @@
+
diff --git a/public/logo-maskable.png b/public/logo-maskable.png
new file mode 100644
index 0000000..f75f2a3
Binary files /dev/null and b/public/logo-maskable.png differ
diff --git a/public/logo192.png b/public/logo192.png
new file mode 100644
index 0000000..e99da47
Binary files /dev/null and b/public/logo192.png differ
diff --git a/public/logo512.png b/public/logo512.png
new file mode 100644
index 0000000..8401ba9
Binary files /dev/null and b/public/logo512.png differ
diff --git a/public/manifest.json b/public/manifest.json
index b559ba2..2dcd1f0 100644
--- a/public/manifest.json
+++ b/public/manifest.json
@@ -4,9 +4,14 @@
"icons": [
{
"src": "favicon.ico",
- "sizes": "64x64 32x32 24x24 16x16",
+ "sizes": "48x48 32x32 16x16",
"type": "image/x-icon"
},
+ {
+ "src": "icon.svg",
+ "type": "image/svg+xml",
+ "sizes": "any"
+ },
{
"src": "logo192.png",
"type": "image/png",
@@ -16,10 +21,16 @@
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
+ },
+ {
+ "src": "logo-maskable.png",
+ "type": "image/png",
+ "sizes": "512x512",
+ "purpose": "maskable"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
- "background_color": "#ffffff"
+ "background_color": "#000000"
}
diff --git a/src/components/logo.tsx b/src/components/logo.tsx
new file mode 100644
index 0000000..cb379cd
--- /dev/null
+++ b/src/components/logo.tsx
@@ -0,0 +1,33 @@
+import { useId } from "react"
+
+/** The house of the app icon (public/icon.svg), in the text color. */
+export function Logo({ className }: { className?: string }) {
+ const openings = useId()
+ return (
+
+ )
+}
diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx
index c5878aa..c4acc5a 100644
--- a/src/routes/__root.tsx
+++ b/src/routes/__root.tsx
@@ -24,6 +24,11 @@ export const Route = createRootRoute({
rel: "stylesheet",
href: appCss,
},
+ // the .ico for browsers that do not take an SVG icon
+ { rel: "icon", href: "/favicon.ico", sizes: "32x32" },
+ { rel: "icon", href: "/icon.svg", type: "image/svg+xml" },
+ { rel: "apple-touch-icon", href: "/apple-touch-icon.png" },
+ { rel: "manifest", href: "/manifest.json" },
],
}),
notFoundComponent: () => (
diff --git a/src/routes/index.tsx b/src/routes/index.tsx
index 5e3f3b2..1f1ef69 100644
--- a/src/routes/index.tsx
+++ b/src/routes/index.tsx
@@ -5,20 +5,14 @@ import {
redirect,
useRouter,
} from "@tanstack/react-router"
-import {
- Flower2,
- LayoutGrid,
- LogOut,
- Pencil,
- Plus,
- Settings2,
-} from "lucide-react"
+import { LayoutGrid, LogOut, Pencil, Plus, Settings2 } from "lucide-react"
import { CardDialog } from "@/components/card-dialog"
import type { CardTarget } from "@/components/card-dialog"
import { CardGrid } from "@/components/card-grid"
import { Clock } from "@/components/clock"
import { LinkDialog } from "@/components/link-dialog"
import type { LinkTarget } from "@/components/link-dialog"
+import { Logo } from "@/components/logo"
import { SearchBar } from "@/components/search-bar"
import { Wallpaper } from "@/components/wallpaper"
import { authClient } from "@/lib/auth-client"
@@ -54,7 +48,7 @@ function Dashboard() {
-
+
{data.title}
{data.user.name}
diff --git a/src/routes/settings.tsx b/src/routes/settings.tsx
index 6d0f566..6f9810c 100644
--- a/src/routes/settings.tsx
+++ b/src/routes/settings.tsx
@@ -10,13 +10,13 @@ import {
ArrowLeft,
Check,
CircleUser,
- Flower2,
Image,
LogOut,
Search,
SlidersHorizontal,
Upload,
} from "lucide-react"
+import { Logo } from "@/components/logo"
import { DEFAULT_WALLPAPER } from "@/components/wallpaper"
import { authClient } from "@/lib/auth-client"
import { getDashboard, saveSettings } from "@/lib/dashboard.functions"
@@ -115,7 +115,7 @@ function Settings() {