mirror of
https://github.com/JOYCEQL/magic-resume.git
synced 2026-07-03 14:07:11 +02:00
feat: default avatar
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
|
||||
<!-- 背景圆圈 -->
|
||||
<circle cx="100" cy="100" r="100" fill="#FAF5FF"/>
|
||||
|
||||
<!-- 头部 -->
|
||||
<circle cx="100" cy="85" r="35" fill="#9F7AEA"/>
|
||||
|
||||
<!-- 身体 -->
|
||||
<path d="M100 125c25 0 45 20 45 45v30H55v-30c0-25 20-45 45-45z" fill="#9F7AEA"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 322 B |
@@ -73,15 +73,13 @@ const PhotoSelector: React.FC<Props> = ({ className, theme }) => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{basic.photo && (
|
||||
<div className="mt-2 relative overflow-hidden">
|
||||
<img
|
||||
src={basic.photo}
|
||||
alt="Selected"
|
||||
className="w-[48px] h-[48px] object-cover rounded"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
<div className="mt-2 relative overflow-hidden">
|
||||
<img
|
||||
src={basic.photo}
|
||||
alt="Selected"
|
||||
className="w-[48px] h-[48px] object-cover rounded"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<PhotoConfigDrawer
|
||||
isOpen={showConfig}
|
||||
|
||||
@@ -68,7 +68,7 @@ const initialState = {
|
||||
photoConfig: DEFAULT_CONFIG,
|
||||
customFields: [],
|
||||
employementStatus: "",
|
||||
photo: "https://talencat.s3.amazonaws.com/app/avatar/builtin/cat001.png"
|
||||
photo: "avatar.svg"
|
||||
},
|
||||
education: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user