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

This commit is contained in:
2025-11-03 10:58:20 +00:00
parent b3d3a5b324
commit 07eaff0e65
3 changed files with 8 additions and 8 deletions
+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"
+1 -1
View File
@@ -11,7 +11,7 @@ export const personalInfo = {
title: "SysAdmin & Desarrollador Web Full Stack",
bio: "Apasionado por la tecnología y el desarrollo, SysAdmin con sólida experiencia en administración de sistemas y redes, adentrándose en el desarrollo web full stack.",
email: "info@aferrer.dev",
github: "https://github.com/username",
gitea: "https://git.aferrer.dev/aferrer",
linkedin: "https://linkedin.com/in/asis-ferrer",
};
+2 -2
View File
@@ -14,13 +14,13 @@ import {
} from "@data/index.ts";
import Layout from "@layouts/Layout.astro";
const { name, title, bio, email, github, linkedin } = personalInfo;
const { name, title, bio, email, gitea, linkedin } = personalInfo;
---
<Layout>
<main class="container mx-auto max-w-4xl px-6 py-12 md:py-20">
<!-- Header / Hero Section -->
<Hero {name} {title} {bio} {email} {github} {linkedin} />
<Hero {name} {title} {bio} {email} {gitea} {linkedin} />
<!-- Projects Section -->
<Projects {projects} />
<!-- Experience Section -->