Refactor Hero component to use Gitea link instead of GitHub for improved accuracy in personal information
This commit is contained in:
1 parent
b3d3a5b324
commit
07eaff0e65
3 files changed
+8
-8
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
import { Icon } from 'astro-icon/components'
|
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]">
|
<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">
|
<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>
|
</div>
|
||||||
<div class="mt-8 flex space-x-6 items-center justify-center max-w-4xl w-full">
|
<div class="mt-8 flex space-x-6 items-center justify-center max-w-4xl w-full">
|
||||||
<!-- <a
|
<a
|
||||||
href={github}
|
href={gitea}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
class="text-gray-400 hover:text-gray-200 transition-colors hover:scale-110 duration-500"
|
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" />
|
<Icon name="gitea" class="w-8 h-8" />
|
||||||
</a> -->
|
</a>
|
||||||
<a
|
<a
|
||||||
href={linkedin}
|
href={linkedin}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ export const personalInfo = {
|
|||||||
title: "SysAdmin & Desarrollador Web Full Stack",
|
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.",
|
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",
|
email: "info@aferrer.dev",
|
||||||
github: "https://github.com/username",
|
gitea: "https://git.aferrer.dev/aferrer",
|
||||||
linkedin: "https://linkedin.com/in/asis-ferrer",
|
linkedin: "https://linkedin.com/in/asis-ferrer",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -14,13 +14,13 @@ import {
|
|||||||
} from "@data/index.ts";
|
} from "@data/index.ts";
|
||||||
import Layout from "@layouts/Layout.astro";
|
import Layout from "@layouts/Layout.astro";
|
||||||
|
|
||||||
const { name, title, bio, email, github, linkedin } = personalInfo;
|
const { name, title, bio, email, gitea, linkedin } = personalInfo;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout>
|
<Layout>
|
||||||
<main class="container mx-auto max-w-4xl px-6 py-12 md:py-20">
|
<main class="container mx-auto max-w-4xl px-6 py-12 md:py-20">
|
||||||
<!-- Header / Hero Section -->
|
<!-- Header / Hero Section -->
|
||||||
<Hero {name} {title} {bio} {email} {github} {linkedin} />
|
<Hero {name} {title} {bio} {email} {gitea} {linkedin} />
|
||||||
<!-- Projects Section -->
|
<!-- Projects Section -->
|
||||||
<Projects {projects} />
|
<Projects {projects} />
|
||||||
<!-- Experience Section -->
|
<!-- Experience Section -->
|
||||||
|
|||||||
Reference in new issue
Block a user