Refactor Hero component to use Gitea link instead of GitHub for improved accuracy in personal information

This commit is contained in:
aferrer committed 2025-11-03 10:58:20 +00:00
1 parent b3d3a5b324
commit 07eaff0e65
3 files changed
+8 -8

No files matched your search

+5 -5
View File
@@ -1,7 +1,7 @@
---
import { Icon } from 'astro-icon/components'
const { name, title, bio, github, linkedin } = Astro.props;
const { name, title, bio, gitea, linkedin } = Astro.props;
---
<section id="hero" class="py-20 md:py-32 flex flex-col items-center justify-center min-h-[90vh]">
<div class="flex flex-col md:flex-row items-center md:items-center text-center md:text-left max-w-4xl w-full">
@@ -28,15 +28,15 @@ const { name, title, bio, github, linkedin } = Astro.props;
</div>
</div>
<div class="mt-8 flex space-x-6 items-center justify-center max-w-4xl w-full">
<!-- <a
href={github}
<a
href={gitea}
target="_blank"
rel="noopener noreferrer"
class="text-gray-400 hover:text-gray-200 transition-colors hover:scale-110 duration-500"
aria-label="GitHub"
aria-label="Gitea"
>
<Icon name="gitea" class="w-8 h-8" />
</a> -->
</a>
<a
href={linkedin}
target="_blank"