aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/components/Logo.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/mobile/components/Logo.tsx
parent4ab081511b328085d6c7c9990da2abc1a6e920e1 (diff)
downloadkarakeep-d1e8b0017dee12e04dbad9e85f7a8b497e584d1b.tar.zst
ui: Migrate to the new logo everywhere
Diffstat (limited to 'apps/mobile/components/Logo.tsx')
-rw-r--r--apps/mobile/components/Logo.tsx29
1 files changed, 19 insertions, 10 deletions
diff --git a/apps/mobile/components/Logo.tsx b/apps/mobile/components/Logo.tsx
index f5f823b5..9fdd1083 100644
--- a/apps/mobile/components/Logo.tsx
+++ b/apps/mobile/components/Logo.tsx
@@ -1,11 +1,20 @@
-import { Text, View } from "react-native";
-import { PackageOpen } from "lucide-react-native";
+import * as React from "react"
+import type { SvgProps} from "react-native-svg";
+import Svg, { Path } from "react-native-svg"
+const Logo = (props: SvgProps) => (
+ <Svg
+ viewBox="0 0 507 96"
+ {...props}
+ >
+ <Path
+ d="M341.09 287.81c-.72-2.79-1.89-5.27-3.51-7.42s-3.74-3.9-6.34-5.26-6.5-2.32-10.33-2.04c-14.17 1.03-14.91 13.45-16.19 15.72l-.23-7v-24.46h-19.44v73.7h19.44v-22.5c0-3.4.89-7.2 2.63-9.5 1.73-2.3 4.2-2.5 7.45-2.5 1.66 0 3.01.32 4.07.96s1.91 1.51 2.55 2.6c.64 1.1 1.07 2.36 1.3 3.8.23 1.43.34 2.94.34 4.52v22.62h19.33v-34.87c0-2.79-.36-5.58-1.07-8.37m68.79 1.58c-1.66-3.69-3.92-6.83-6.79-9.39-2.87-2.57-6.19-4.53-9.96-5.89-3.78-1.36-7.81-2.04-12.11-2.04s-8.25.68-12.06 2.04-7.13 3.32-9.96 5.89c-2.83 2.56-5.07 5.7-6.73 9.39q-2.49 5.55-2.49 12.45c0 4.6.83 8.78 2.49 12.51 1.66 3.74 3.9 6.91 6.73 9.51s6.15 4.62 9.96 6.05q5.715 2.16 12.06 2.16c4.23 0 8.33-.72 12.11-2.16 3.77-1.43 7.09-3.45 9.96-6.05s5.13-5.77 6.79-9.51q2.49-5.595 2.49-12.51c0-4.61-.83-8.75-2.49-12.45m-16.24 17.77c-.57 1.74-1.42 3.31-2.55 4.7-1.13 1.4-2.53 2.51-4.19 3.34s-3.58 1.24-5.77 1.24-4.11-.41-5.77-1.24-3.06-1.94-4.19-3.34a14.6 14.6 0 0 1-2.55-4.7c-.56-1.73-.85-3.51-.85-5.32s.29-3.58.85-5.32c.57-1.73 1.4-3.26 2.49-4.58 1.1-1.32 2.47-2.4 4.13-3.23s3.59-1.24 5.78-1.24 4.11.41 5.77 1.24 3.06 1.91 4.19 3.23 2 2.85 2.6 4.58c.6 1.74.91 3.51.91 5.32s-.29 3.59-.85 5.32m73.12-18.62c-.95-3.73-2.44-6.83-4.47-9.28q-3.06-3.675-7.98-5.43c-3.29-1.17-7.3-1.76-12.06-1.76s-9.11.8-13.52 2.38c-4.42 1.59-8.29 3.96-11.61 7.13l9.4 10.08c1.73-1.59 3.83-2.95 6.28-4.08s5-1.7 7.64-1.7c2.87 0 5.28.66 7.25 1.98 1.96 1.33 2.94 3.38 2.94 6.17v.91c-4.08 0-8.26.22-12.57.68-4.3.45-8.2 1.36-11.71 2.71-3.51 1.36-6.38 3.29-8.6 5.78-2.23 2.49-3.34 5.77-3.34 9.84 0 3.33.64 6.12 1.92 8.38s2.93 4.08 4.93 5.43c1.99 1.36 4.2 2.34 6.62 2.95 2.41.6 4.75.9 7.01.9 3.4 0 5.93-.34 8.66-1.97 4.32-2.57 7.31-13.68 7.31-13.68l.33 8.28v6h16.98v-28.41c0-5.13-.47-9.56-1.41-13.3zm-15.57 19.08c0 3.54-1 6.35-2.99 8.43-2.01 2.07-4.89 3.11-8.66 3.11-.91 0-1.85-.09-2.83-.28-.99-.19-1.85-.51-2.61-.96a5.9 5.9 0 0 1-1.87-1.81c-.49-.76-.73-1.66-.73-2.72 0-1.66.53-3 1.58-4.02 1.06-1.02 2.4-1.79 4.02-2.32q2.43-.795 5.55-1.08c2.07-.18 4.13-.28 6.17-.28h2.37zm60.17-35.21c-.72-.07-1.46-.11-2.21-.11-3.47 0-6.53.91-9.17 2.74-2.64 1.82-4.68 10.18-6.11 13.06h-.23v-14.15h-17.88v56.14l18.56.22v-28.95c0-1.13.23-2.45.68-3.95.45-1.51 1.19-2.9 2.21-4.18s2.37-2.37 4.07-3.28c1.7-.9 3.79-1.35 6.28-1.35.76 0 1.53.04 2.32.11.67.07 1.36.18 2.05.36.13.03.26.06.39.1l.06-1.16.73-15.26c-.45-.15-1.04-.26-1.75-.34"
+ transform="translate(-173 -247)"
+ />
+ <Path
+ d="M553.52 256.55v23.33h-.23c-1.58-1.88-3.81-3.62-6.68-5.2-2.86-1.59-6.37-2.38-10.52-2.38s-7.76.79-11.04 2.38q-4.92 2.37-8.37 6.45a28.4 28.4 0 0 0-4.3 6.88c-.16.35-.31.7-.45 1.06-.2.49-.39 1-.57 1.51-1.25 3.59-1.87 7.34-1.87 11.26s.6 7.7 1.81 11.32 2.96 6.81 5.26 9.57c2.3 2.75 5.11 4.96 8.44 6.62 3.31 1.66 7.09 2.49 11.31 2.49 3.78 0 7.34-.78 10.7-2.32 3.36-1.55 6-8.24 7.75-14.62h.23v15.35h17.09v-73.7zm-.17 50.73c-.64 1.73-1.55 3.28-2.72 4.64a13.5 13.5 0 0 1-4.24 3.28c-1.66.83-3.55 1.24-5.66 1.24s-4.11-.41-5.77-1.24-3.06-1.92-4.19-3.28-1.98-2.93-2.55-4.7c-.56-1.77-.85-3.57-.85-5.38s.29-3.58.85-5.32c.57-1.73 1.42-3.26 2.55-4.58s2.53-2.4 4.19-3.23 3.58-1.24 5.77-1.24 4 .41 5.66 1.24 3.07 1.93 4.24 3.29c1.17 1.35 2.08 2.9 2.72 4.64.64 1.73.96 3.51.96 5.32s-.32 3.58-.96 5.32m81.04-17.44c-1.39-3.77-3.34-6.97-5.83-9.62-2.49-2.64-5.47-4.66-8.94-6.05q-5.205-2.1-11.43-2.1c-4.15 0-8.3.72-12 2.15-3.7 1.44-6.9 3.46-9.62 6.06q-4.08 3.9-6.45 9.51c-1.59 3.73-2.38 7.9-2.38 12.51s.81 8.98 2.44 12.67c1.62 3.7 3.84 6.81 6.67 9.34s6.13 4.45 9.91 5.77c3.77 1.32 7.77 1.99 12 1.99 5.73 0 10.77-1.04 15.11-3.12 4.34-2.07 7.82-5.03 10.47-8.88l-12.91-8.15c-1.28 1.73-2.94 3.15-4.98 4.24-2.03 1.1-4.52 1.64-7.47 1.64-1.66 0-3.26-.26-4.81-.79a14.7 14.7 0 0 1-4.19-2.21c-1.24-.94-2.26-2.05-3.05-3.34-.8-1.28-1.27-2.71-1.42-4.3h40.86c.08-.68.12-1.39.12-2.15v-2.26c0-4.83-.7-9.13-2.1-12.91m-38.88 5.78c.08-1.43.46-2.81 1.13-4.13.68-1.32 1.59-2.47 2.72-3.46 1.13-.98 2.45-1.75 3.96-2.32 1.51-.56 3.17-.85 4.98-.85 3.7 0 6.47 1.06 8.32 3.17 1.85 2.12 2.78 4.64 2.78 7.59zm81.89-23.21c-.71-.07-1.45-.11-2.2-.11-3.47 0-6.53.91-9.17 2.74-2.64 1.82-4.68 10.18-6.11 13.06h-.23v-14.15h-17.88v56.3h18.56v-28.89c0-1.13.23-2.45.68-3.95.45-1.51 1.19-2.9 2.21-4.18 1.01-1.28 2.37-2.37 4.07-3.28 1.7-.9 3.79-1.35 6.28-1.35.76 0 1.53.04 2.32.11.8.08 1.61.23 2.44.46l.79-16.42c-.45-.15-1.04-.26-1.76-.34m-414.56-24.75h-84.01a5.63 5.63 0 0 0-5.63 5.63v83.58a5.63 5.63 0 0 0 5.63 5.63h84.01a5.63 5.63 0 0 0 5.63-5.63v-83.58a5.63 5.63 0 0 0-5.63-5.63m-48.01 80.91c0 .81-.66 1.47-1.47 1.47h-25.9c-.81 0-1.47-.66-1.47-1.47v-67.29c0-.81.66-1.47 1.47-1.47h25.49c.81 0 1.47.66 1.47 1.47v25.61s-.14 11.02.41 19.67zm40.44 0c0 1.17-1.3 1.87-2.27 1.23l-11.81-7.72a1.46 1.46 0 0 0-1.67.04l-10.35 7.48c-.43.32-.94.34-1.37.18-.38-.27-.63-.71-.63-1.21v-52.25c1.4-.27 2.96-.42 4.76-.42 8.84 0 23.34 5 23.34 19.1z"
+ transform="translate(-173 -247)"
+ />
+ </Svg>
+)
+export default Logo
-export default function Logo() {
- return (
- <View className="flex flex-row items-center justify-center gap-2 ">
- <PackageOpen color="black" size={70} />
- <Text className="text-5xl">Hoarder</Text>
- </View>
- );
-}