xonecas.io
53129
Pa

PAT / commit 3295fe4

feat: generate a simple bowtie icon. Use it as a favicon

xonecas2025-12-17 3295fe4db867afb45452e7ea815666ba7dac4cb1 parent e776ae5

3 files changed

app/icon.svg+6−0
@@ -0,0 +1,6 @@
1+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2+ <rect width="64" height="64" rx="8" ry="8" fill="white" />
3+ <path d="M8 12L8 52L28 32L8 12Z" fill="black" />
4+ <path d="M56 12L56 52L36 32L56 12Z" fill="black" />
5+ <circle cx="32" cy="32" r="2" fill="black" />
6+</svg>
src/components/Sidebar.tsx+4−0
@@ -3,6 +3,7 @@
33 import type { Thread } from "@/src/lib/db/schema";
44 import PlusIcon from "@/src/components/icons/PlusIcon";
55 import ChevronDownIcon from "@/src/components/icons/ChevronDownIcon";
6+import BowtieIcon from "@/src/components/icons/BowtieIcon";
67 import Anchor from "@/src/components/Anchor";
78
89 type SidebarProps = {
@@ -29,6 +30,9 @@ export default function Sidebar({
2930 return (
3031 <div className="h-full w-64 overflow-y-auto bg-neutral-50 p-1 text-neutral-800 dark:bg-neutral-950 dark:text-neutral-200">
3132 <div className="flex flex-col gap-2 p-4">
33+ <div className="flex justify-center pb-4">
34+ <BowtieIcon className="h-12 w-12" />
35+ </div>
3236 <div className="flex flex-col gap-2">
3337 <label className="text-neutral-500">Threads</label>
3438 <div className="flex flex-col gap-2">
src/components/icons/BowtieIcon.tsx+15−0
@@ -0,0 +1,15 @@
1+export default function BowtieIcon({ className }: { className?: string }) {
2+ return (
3+ <svg
4+ xmlns="http://www.w3.org/2000/svg"
5+ viewBox="0 0 64 64"
6+ className={className}
7+ >
8+ <rect width="64" height="64" rx="8" ry="8" fill="white" />
9+ <path d="M8 12L8 52L28 32L8 12Z" fill="black" />
10+ <path d="M56 12L56 52L36 32L56 12Z" fill="black" />
11+ <circle cx="32" cy="32" r="2" fill="black" />
12+ </svg>
13+ );
14+}
15+