From d02d497d9a4b11debb4a2f655325e297176a2e64 Mon Sep 17 00:00:00 2001 From: JOYCEQL <1449239013@qq.com> Date: Wed, 20 Nov 2024 22:52:00 +0800 Subject: [PATCH] feat: default avatar --- apps/fronted/public/avatar.svg | 10 ++++++++++ apps/fronted/src/components/PhotoSelector.tsx | 16 +++++++--------- apps/fronted/src/store/useResumeStore.ts | 2 +- 3 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 apps/fronted/public/avatar.svg diff --git a/apps/fronted/public/avatar.svg b/apps/fronted/public/avatar.svg new file mode 100644 index 0000000..1706ef4 --- /dev/null +++ b/apps/fronted/public/avatar.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/apps/fronted/src/components/PhotoSelector.tsx b/apps/fronted/src/components/PhotoSelector.tsx index 6062672..57e2fd4 100644 --- a/apps/fronted/src/components/PhotoSelector.tsx +++ b/apps/fronted/src/components/PhotoSelector.tsx @@ -73,15 +73,13 @@ const PhotoSelector: React.FC = ({ className, theme }) => { - {basic.photo && ( -
- Selected -
- )} +
+ Selected +