fix cv page improvements
This commit is contained in:
@@ -8,6 +8,7 @@ type IconName =
|
||||
| 'linkedin'
|
||||
| 'github'
|
||||
| 'code'
|
||||
| 'verified'
|
||||
| 'summary'
|
||||
| 'experience'
|
||||
| 'education'
|
||||
@@ -20,8 +21,8 @@ type IconName =
|
||||
const props = defineProps<{ name: IconName }>()
|
||||
|
||||
// Sourced from lucide-static (ISC license): phone, mail, map-pin, linkedin,
|
||||
// github, file-text, briefcase, graduation-cap, award, languages,
|
||||
// chart-column, layers, heart.
|
||||
// github, code, badge-check, file-text, briefcase, graduation-cap, award,
|
||||
// languages, chart-column, layers, heart.
|
||||
const MARKUP: Record<IconName, string> = {
|
||||
phone:
|
||||
'<path d="M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384" />',
|
||||
@@ -34,6 +35,8 @@ const MARKUP: Record<IconName, string> = {
|
||||
github:
|
||||
'<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4" /><path d="M9 18c-4.51 2-5-2-7-2" />',
|
||||
code: '<path d="m16 18 6-6-6-6" /><path d="m8 6-6 6 6 6" />',
|
||||
verified:
|
||||
'<path d="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z" /><path d="m16 9-5.5 5.5L8 12" />',
|
||||
summary:
|
||||
'<path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" /><path d="M14 2v5a1 1 0 0 0 1 1h5" /><path d="M10 9H8" /><path d="M16 13H8" /><path d="M16 17H8" />',
|
||||
experience:
|
||||
|
||||
Reference in New Issue
Block a user