From be1285ea36124c5db3e2b270fd28b97900fa1bd9 Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 6 Feb 2025 10:40:16 -0800 Subject: simplify ui (#7670) --- assets/icons/coffee_stroke2_corner0_rounded.svg | 1 - assets/icons/piggyBank_stroke2_corner0_rounded.svg | 1 - assets/icons/poop_stroke2_corner0_rounded.svg | 1 - src/components/icons/Coffee.tsx | 5 ----- src/components/icons/PiggyBank.tsx | 5 ----- src/components/icons/Poop.tsx | 5 ----- src/screens/Onboarding/StepProfile/types.ts | 18 ------------------ 7 files changed, 36 deletions(-) delete mode 100644 assets/icons/coffee_stroke2_corner0_rounded.svg delete mode 100644 assets/icons/piggyBank_stroke2_corner0_rounded.svg delete mode 100644 assets/icons/poop_stroke2_corner0_rounded.svg delete mode 100644 src/components/icons/Coffee.tsx delete mode 100644 src/components/icons/PiggyBank.tsx delete mode 100644 src/components/icons/Poop.tsx diff --git a/assets/icons/coffee_stroke2_corner0_rounded.svg b/assets/icons/coffee_stroke2_corner0_rounded.svg deleted file mode 100644 index 90bd5b6ae..000000000 --- a/assets/icons/coffee_stroke2_corner0_rounded.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/assets/icons/piggyBank_stroke2_corner0_rounded.svg b/assets/icons/piggyBank_stroke2_corner0_rounded.svg deleted file mode 100644 index 0ec432635..000000000 --- a/assets/icons/piggyBank_stroke2_corner0_rounded.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/assets/icons/poop_stroke2_corner0_rounded.svg b/assets/icons/poop_stroke2_corner0_rounded.svg deleted file mode 100644 index d6342739f..000000000 --- a/assets/icons/poop_stroke2_corner0_rounded.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/components/icons/Coffee.tsx b/src/components/icons/Coffee.tsx deleted file mode 100644 index d4faccba9..000000000 --- a/src/components/icons/Coffee.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import {createSinglePathSVG} from './TEMPLATE' - -export const Coffee_Stroke2_Corner0_Rounded = createSinglePathSVG({ - path: 'M7 2a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0V3a1 1 0 0 1 1-1Zm4 0a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1Zm4 0a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1ZM4 9a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2h.5a3.5 3.5 0 1 1 0 7H18v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9Zm12 0H6v11h10V9Zm2 5h.5a1.5 1.5 0 0 0 0-3H18v3Z', -}) diff --git a/src/components/icons/PiggyBank.tsx b/src/components/icons/PiggyBank.tsx deleted file mode 100644 index 974e86134..000000000 --- a/src/components/icons/PiggyBank.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import {createSinglePathSVG} from './TEMPLATE' - -export const PiggyBank_Stroke2_Corner0_Rounded = createSinglePathSVG({ - path: 'M6.5 4.999Zm0 0a.054.054 0 0 1-.016.024.196.196 0 0 1-.152.043c.057.01.113.02.168.032V7.5a1 1 0 0 1-.33.742c-.543.49-.917 1.176-1.23 2.036a1 1 0 0 1-.94.657H3V14h1a1 1 0 0 1 .866.5c.436.754.879 1.195 1.637 1.636A1 1 0 0 1 7 17v2h2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2h2v-2.537a1 1 0 0 1 .332-.744A4.978 4.978 0 0 0 19 11.999 5 5 0 0 0 14 7H9.474a1 1 0 0 1-.893-.55v-.001l-.001-.002-.005-.008L9.474 6l-.9.438h.001v.002l.002.001.001.003.002.003v.003a2.62 2.62 0 0 0-.443-.538c-.319-.298-.839-.648-1.637-.814V5Zm2.082 1.452ZM9.5 4.447c.211.196.379.387.508.553H14a7 7 0 0 1 6.72 8.96 1.003 1.003 0 0 0 1.146-1.46 1 1 0 1 1 1.731-1 3 3 0 0 1-3.714 4.286A7.074 7.074 0 0 1 19 16.888V19a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2h-2a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-1.45A5.783 5.783 0 0 1 3.448 16H3a2 2 0 0 1-2-2v-3.065a2 2 0 0 1 2-2h.324c.286-.649.657-1.291 1.176-1.852V5c0-1.047.89-2.12 2.161-1.907 1.33.223 2.248.805 2.839 1.354ZM8.25 12a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z', -}) diff --git a/src/components/icons/Poop.tsx b/src/components/icons/Poop.tsx deleted file mode 100644 index 09b3b6785..000000000 --- a/src/components/icons/Poop.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import {createSinglePathSVG} from './TEMPLATE' - -export const Poop_Stroke2_Corner0_Rounded = createSinglePathSVG({ - path: 'M12 4c0-1.012.894-2.187 2.237-1.846a5.002 5.002 0 0 1 3.218 7.119 4.001 4.001 0 0 1 2.345 4.976A3.501 3.501 0 0 1 18.5 21h-13a3.5 3.5 0 0 1-1.3-6.75 4 4 0 0 1 2.052-4.848A4 4 0 0 1 10 4h2.001Zm-4.187 7.009A2 2 0 0 0 6 13c0 .366.098.706.271 1H12a1 1 0 1 1 0 2H5.5a1.5 1.5 0 0 0 0 3h13a1.5 1.5 0 1 0 0-3H17a1 1 0 1 1 0-2h.729c.173-.294.271-.634.271-1a2 2 0 0 0-2-2h-2a1 1 0 1 1 0-2h1.236a3.002 3.002 0 0 0-1.243-4.832A2 2 0 0 1 12 6h-2a2 2 0 0 0-1.728 3.009H9a1 1 0 0 1 0 2H7.813Z', -}) diff --git a/src/screens/Onboarding/StepProfile/types.ts b/src/screens/Onboarding/StepProfile/types.ts index 30f2d8a22..7eb965c67 100644 --- a/src/screens/Onboarding/StepProfile/types.ts +++ b/src/screens/Onboarding/StepProfile/types.ts @@ -3,7 +3,6 @@ import {Apple_Stroke2_Corner0_Rounded as Apple} from '#/components/icons/Apple' import {At_Stroke2_Corner0_Rounded as At} from '#/components/icons/At' import {Atom_Stroke2_Corner0_Rounded as Atom} from '#/components/icons/Atom' import {Celebrate_Stroke2_Corner0_Rounded as Celebrate} from '#/components/icons/Celebrate' -import {Coffee_Stroke2_Corner0_Rounded as Coffee} from '#/components/icons/Coffee' import { EmojiArc_Stroke2_Corner0_Rounded as EmojiArc, EmojiHeartEyes_Stroke2_Corner0_Rounded as EmojiHeartEyes, @@ -13,8 +12,6 @@ import {GameController_Stroke2_Corner0_Rounded as GameController} from '#/compon import {Lab_Stroke2_Corner0_Rounded as Lab} from '#/components/icons/Lab' import {Leaf_Stroke2_Corner0_Rounded as Leaf} from '#/components/icons/Leaf' import {MusicNote_Stroke2_Corner0_Rounded as MusicNote} from '#/components/icons/MusicNote' -import {PiggyBank_Stroke2_Corner0_Rounded as PiggyBank} from '#/components/icons/PiggyBank' -import {Poop_Stroke2_Corner0_Rounded as Poop} from '#/components/icons/Poop' import {Rose_Stroke2_Corner0_Rounded as Rose} from '#/components/icons/Rose' import {Shaka_Stroke2_Corner0_Rounded as Shaka} from '#/components/icons/Shaka' import {UFO_Stroke2_Corner0_Rounded as UFO} from '#/components/icons/UFO' @@ -33,7 +30,6 @@ export const emojiNames = [ 'apple', 'atom', 'celebrate', - 'coffee', 'gameController', 'leaf', 'musicNote', @@ -43,8 +39,6 @@ export const emojiNames = [ 'zap', 'explosion', 'lab', - 'piggyBank', - 'poop', ] as const export type EmojiName = (typeof emojiNames)[number] @@ -81,10 +75,6 @@ export const emojiItems: Record = { name: 'celebrate', component: Celebrate, }, - coffee: { - name: 'coffee', - component: Coffee, - }, gameController: { name: 'gameController', component: GameController, @@ -121,14 +111,6 @@ export const emojiItems: Record = { name: 'lab', component: Lab, }, - piggyBank: { - name: 'piggyBank', - component: PiggyBank, - }, - poop: { - name: 'poop', - component: Poop, - }, } export const avatarColors = [ -- cgit 1.4.1