This time for sure
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m25s

This commit is contained in:
2026-03-08 13:40:53 -06:00
parent 972abaf3af
commit e6f6be20ce
2 changed files with 18 additions and 12 deletions

16
src/components/Logo.astro Normal file
View File

@@ -0,0 +1,16 @@
---
import { Image } from "astro:assets";
import { config } from "../config";
---
<Image
src={config.personalInfo.profileImage.src}
alt={config.personalInfo.profileImage.alt}
widths={[192, 384]}
sizes="12rem"
layout="constrained"
loading="eager"
fetchpriority="high"
class="rounded-full mx-auto"
style="max-width: 12rem; width: 100%;"
/>

View File

@@ -4,6 +4,7 @@ import SocialLinks from "../components/SocialLinks.astro";
import TechLinks from "../components/TechLinks.astro";
import Layout from "../layouts/Layout.astro";
import { config } from "../config";
import Logo from "../components/Logo.astro";
---
<Layout
@@ -12,18 +13,7 @@ import { config } from "../config";
ogImage={config.siteConfig.pageOpenGraph.home.image}
ogType={config.siteConfig.pageOpenGraph.home.type}
>
<Image
src={config.personalInfo.profileImage.src}
alt={config.personalInfo.profileImage.alt}
widths={[192, 384]}
sizes="12rem"
layout="constrained"
loading="eager"
fetchpriority="high"
class="rounded-full mx-auto opacity-0 transition-opacity duration-300"
style="max-width: 12rem; width: 100%;"
onload="this.classList.remove('opacity-0')"
/>
<Logo client:idle />
<h1 class="text-primary text-4xl sm:text-6xl font-bold text-center">
{config.personalInfo.name}