diff --git a/src/pages/resume.astro b/src/pages/resume.astro index 53704cd..916d069 100644 --- a/src/pages/resume.astro +++ b/src/pages/resume.astro @@ -193,26 +193,9 @@ if (!data) {
{data.sections.profiles.items.map( (profile) => { - let iconName = "mdi:web"; - const networkLower = - profile.network.toLowerCase(); - if (networkLower === "github") { - iconName = "simple-icons:github"; - } else if ( - networkLower === "linkedin" - ) { - iconName = - "simple-icons:linkedin"; - } else if ( - networkLower === "twitter" - ) { - iconName = "simple-icons:x"; - } else if ( - networkLower === "youtube" - ) { - iconName = - "simple-icons:youtube"; - } + // Use Simple Icons directly based on network name + // Convert network name to lowercase and use simple-icons format + const iconName = `simple-icons:${profile.network.toLowerCase()}`; return (