aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/HoarderIcon.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-26 02:26:33 +0000
committerMohamedBassem <me@mbassem.com>2024-03-26 02:27:55 +0000
commitd1e8b0017dee12e04dbad9e85f7a8b497e584d1b (patch)
treeecf1cb4b9ec291776dada965179a2cf9652cc537 /apps/web/components/HoarderIcon.tsx
parent4ab081511b328085d6c7c9990da2abc1a6e920e1 (diff)
downloadkarakeep-d1e8b0017dee12e04dbad9e85f7a8b497e584d1b.tar.zst
ui: Migrate to the new logo everywhere
Diffstat (limited to 'apps/web/components/HoarderIcon.tsx')
-rw-r--r--apps/web/components/HoarderIcon.tsx20
1 files changed, 20 insertions, 0 deletions
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 (
+ <span style={{ gap }} className="flex items-center">
+ <HoarderLogoIcon height={height} className={`fill-foreground`} />
+ <HoarderLogoText
+ height={(height * 2) / 3}
+ className={`fill-foreground`}
+ />
+ </span>
+ );
+}