From d1e8b0017dee12e04dbad9e85f7a8b497e584d1b Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Tue, 26 Mar 2024 02:26:33 +0000 Subject: ui: Migrate to the new logo everywhere --- apps/web/app/favicon.ico | Bin 15406 -> 15086 bytes apps/web/app/signin/page.tsx | 7 ++---- apps/web/components/HoarderIcon.tsx | 20 +++++++++++++++++ .../components/dashboard/sidebar/ModileSidebar.tsx | 14 +++++------- .../dashboard/sidebar/ModileSidebarItem.tsx | 2 +- apps/web/components/dashboard/sidebar/Sidebar.tsx | 8 +++---- apps/web/next.config.mjs | 7 ++++++ apps/web/package.json | 1 + apps/web/public/icons/logo-128.png | Bin 2362 -> 2909 bytes apps/web/public/icons/logo-16.png | Bin 287 -> 1860 bytes apps/web/public/icons/logo-48.png | Bin 780 -> 2120 bytes apps/web/public/icons/logo-full.svg | 16 +++++++++++++ apps/web/public/icons/logo-icon.svg | 7 ++++++ apps/web/public/icons/logo-text.svg | 25 +++++++++++++++++++++ apps/web/public/landing/app-store-badge.png | Bin 16782 -> 0 bytes apps/web/public/landing/extension-badge.png | Bin 9171 -> 0 bytes apps/web/public/landing/screenshot.png | Bin 3196208 -> 0 bytes 17 files changed, 88 insertions(+), 19 deletions(-) create mode 100644 apps/web/components/HoarderIcon.tsx create mode 100644 apps/web/public/icons/logo-full.svg create mode 100644 apps/web/public/icons/logo-icon.svg create mode 100644 apps/web/public/icons/logo-text.svg delete mode 100644 apps/web/public/landing/app-store-badge.png delete mode 100644 apps/web/public/landing/extension-badge.png delete mode 100644 apps/web/public/landing/screenshot.png (limited to 'apps/web') diff --git a/apps/web/app/favicon.ico b/apps/web/app/favicon.ico index 750e3c04..d940a939 100644 Binary files a/apps/web/app/favicon.ico and b/apps/web/app/favicon.ico differ diff --git a/apps/web/app/signin/page.tsx b/apps/web/app/signin/page.tsx index 4dc81376..441187e1 100644 --- a/apps/web/app/signin/page.tsx +++ b/apps/web/app/signin/page.tsx @@ -1,7 +1,7 @@ import { redirect } from "next/dist/client/components/navigation"; +import HoarderLogo from "@/components/HoarderIcon"; import SignInForm from "@/components/signin/SignInForm"; import { getServerAuthSession } from "@/server/auth"; -import { PackageOpen } from "lucide-react"; export default async function SignInPage() { const session = await getServerAuthSession(); @@ -12,10 +12,7 @@ export default async function SignInPage() { return (
- - - -

Hoarder

+
diff --git a/apps/web/components/HoarderIcon.tsx b/apps/web/components/HoarderIcon.tsx new file mode 100644 index 00000000..a4b76f6a --- /dev/null +++ b/apps/web/components/HoarderIcon.tsx @@ -0,0 +1,20 @@ +import HoarderLogoIcon from "@/public/icons/logo-icon.svg"; +import HoarderLogoText from "@/public/icons/logo-text.svg"; + +export default function HoarderLogo({ + height, + gap, +}: { + height: number; + gap: string; +}) { + return ( + + + + + ); +} diff --git a/apps/web/components/dashboard/sidebar/ModileSidebar.tsx b/apps/web/components/dashboard/sidebar/ModileSidebar.tsx index 7306308d..635f63bd 100644 --- a/apps/web/components/dashboard/sidebar/ModileSidebar.tsx +++ b/apps/web/components/dashboard/sidebar/ModileSidebar.tsx @@ -1,10 +1,5 @@ -import { - ClipboardList, - PackageOpen, - Search, - Settings, - Tag, -} from "lucide-react"; +import HoarderLogoIcon from "@/public/icons/logo-icon.svg"; +import { ClipboardList, Search, Settings, Tag } from "lucide-react"; import MobileSidebarItem from "./ModileSidebarItem"; import SidebarProfileOptions from "./SidebarProfileOptions"; @@ -13,7 +8,10 @@ export default async function MobileSidebar() { return (