diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index b988ac1..34d6710 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -13,6 +13,7 @@ interface HeroProps { isAvailable?: boolean; availabilityStatus?: string; socialLinks?: SocialLink[]; + resumeFile?: string; } const getPlatformIcon = (platform: string) => { @@ -67,7 +68,8 @@ export default function Hero({ heroImageNight, isAvailable = true, availabilityStatus = 'Available for new projects', - socialLinks = [] + socialLinks = [], + resumeFile = '/CV-Cris-Charles-Garcia.pdf' }: HeroProps) { const handleSmoothScroll = (e: React.MouseEvent, targetId: string) => { e.preventDefault(); @@ -82,9 +84,8 @@ export default function Hero({ ? socialLinks.filter(l => l.showInHero !== false) : [ { platform: "GitHub", url: "https://github.com/ssbg04", icon: "github", order: 1 }, - { platform: "Facebook", url: "https://www.facebook.com/kristyarls345/", icon: "facebook", order: 2 }, - { platform: "TikTok", url: "https://www.tiktok.com/@sisibigi", icon: "tiktok", order: 3 }, - { platform: "Email", url: "mailto:crischarlesgarcia345@gmail.com", icon: "mail", order: 4 } + { platform: "LinkedIn", url: "https://www.linkedin.com/in/cris-charles-garcia/", icon: "linkedin", order: 2 }, + { platform: "Email", url: "mailto:crischarlesgarcia345@gmail.com", icon: "mail", order: 3 } ]; const dayImg = heroImage || (ppDay as any).src || ppDay; @@ -148,23 +149,36 @@ export default function Hero({ {/* CTA Buttons */} -
+
handleSmoothScroll(e, 'projects')} aria-label="Jump to projects section" - className="w-1/2 sm:w-auto px-5 py-2.5 rounded-lg bg-foreground-custom text-background-custom font-semibold text-sm border border-foreground-custom hover:opacity-90 active:scale-[0.98] transition-all duration-150 text-center cursor-pointer flex items-center justify-center gap-2 shadow-xs group" + className="flex-1 sm:flex-initial px-4 sm:px-5 py-2.5 rounded-lg bg-foreground-custom text-background-custom font-semibold text-sm border border-foreground-custom hover:opacity-90 active:scale-[0.98] transition-all duration-150 text-center cursor-pointer flex items-center justify-center gap-2 shadow-xs group whitespace-nowrap" > Projects + + + + + Download CV + handleSmoothScroll(e, 'contact')} aria-label="Jump to contact section" - className="w-1/2 sm:w-auto px-5 py-2.5 rounded-lg bg-card-custom text-foreground-custom font-semibold text-sm border border-border-custom hover:bg-muted-custom/60 active:scale-[0.98] transition-all duration-150 text-center cursor-pointer flex items-center justify-center gap-2 shadow-xs" + className="w-full sm:w-auto px-4 sm:px-5 py-2.5 rounded-lg bg-card-custom text-foreground-custom font-semibold text-sm border border-border-custom hover:bg-muted-custom/60 active:scale-[0.98] transition-all duration-150 text-center cursor-pointer flex items-center justify-center gap-2 shadow-xs whitespace-nowrap" > Contact diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 4aa0bed..8680b4a 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -377,13 +377,24 @@ export default function Navbar({ fullName = 'Cris Charles', logoImage = '/logo.p
- { setActivePath('/contact'); setDrawerOpen(false); }} - className="tap-target relative flex items-center justify-center w-full px-4 py-3.5 rounded-lg text-sm font-semibold bg-foreground-custom text-background-custom border border-foreground-custom hover:opacity-85 active:opacity-70 transition-all focus-visible:ring-2 focus-visible:ring-primary-custom focus-visible:outline-none" - > - Get in Touch - +
+ + Resume / CV + ↗ + + { setActivePath('/contact'); setDrawerOpen(false); }} + className="tap-target relative flex items-center justify-center px-3 py-3 rounded-lg text-sm font-semibold bg-foreground-custom text-background-custom border border-foreground-custom hover:opacity-85 active:opacity-70 transition-all focus-visible:ring-2 focus-visible:ring-primary-custom focus-visible:outline-none text-center" + > + Get in Touch + +
)} diff --git a/src/components/Skills.tsx b/src/components/Skills.tsx index c3a08dc..48f304d 100644 --- a/src/components/Skills.tsx +++ b/src/components/Skills.tsx @@ -60,6 +60,8 @@ export default function Skills({ {filterOptions.map((opt) => (