fix: stop about experience images squashing
All checks were successful
Docker / build-and-push-image (push) Successful in 1m2s

This commit is contained in:
Troy 2025-05-29 21:17:38 +01:00
parent ad9a5d49d8
commit 7f35abe081
Signed by: troy
GPG key ID: DFC06C02ED3B4711
2 changed files with 9 additions and 7 deletions

View file

@ -202,8 +202,8 @@ const sortedEducation = [...education].sort((a, b) => a.id - b.id);
of 3D environments. Using either real-time or offline rendering techniques of 3D environments. Using either real-time or offline rendering techniques
in software packages such as Blender and Unreal Engine. In addition to this in software packages such as Blender and Unreal Engine. In addition to this
I also have an interest in web development, graphic design, and cyber security I also have an interest in web development, graphic design, and cyber security
which make up a large part of my hobbies ...oh and motorbikes. If you're reading which all make up a large part of my hobbies not including motorbikes. If you're
this offline, my portfolio of work can be found on my website at <a reading this offline, my portfolio of work can be found on my website at <a
href="/projects" href="/projects"
class="text-secondary underline decoration-2 underline-offset-2 hover:no-underline" class="text-secondary underline decoration-2 underline-offset-2 hover:no-underline"
>troylusty.com/projects</a >troylusty.com/projects</a
@ -213,9 +213,9 @@ const sortedEducation = [...education].sort((a, b) => a.id - b.id);
<section class="animate-reveal opacity-0 [animation-delay:0.2s]"> <section class="animate-reveal opacity-0 [animation-delay:0.2s]">
<div <div
class="flex justify-between gap-5 rounded-sm bg-orange-200/20 p-6 transition-transform duration-300 hover:scale-101 dark:bg-orange-900/20" class="flex flex-col-reverse justify-between gap-5 rounded-sm bg-orange-200/20 p-6 transition-transform duration-300 hover:scale-101 md:flex-row dark:bg-orange-900/20"
> >
<div class="flex w-3/4 flex-col gap-4"> <div class="flex flex-col gap-4">
<h3 class="text-secondary text-3xl font-medium"> <h3 class="text-secondary text-3xl font-medium">
Ready to make something cool? Ready to make something cool?
</h3> </h3>
@ -251,7 +251,7 @@ const sortedEducation = [...education].sort((a, b) => a.id - b.id);
<Image <Image
src={education.image} src={education.image}
alt={education.name} alt={education.name}
class="h-12 w-auto rounded-sm" class="h-auto max-w-12 rounded-sm"
loading="eager" loading="eager"
/> />
<p class="font-medium"> <p class="font-medium">
@ -291,7 +291,7 @@ const sortedEducation = [...education].sort((a, b) => a.id - b.id);
<Image <Image
src={experience.image} src={experience.image}
alt={experience.name} alt={experience.name}
class="h-12 w-auto rounded-sm" class="h-auto max-w-12 rounded-sm"
loading="eager" loading="eager"
/> />
</Link> </Link>

View file

@ -2,9 +2,11 @@ import type { APIRoute } from "astro";
const getRobotsTxt = (sitemapURL: URL) => ` const getRobotsTxt = (sitemapURL: URL) => `
User-agent: * User-agent: *
Disallow: /cv Disallow: /about
Disallow: /tags Disallow: /tags
Disallow: /tags/* Disallow: /tags/*
Disallow: /projects
Disallow: /posts
Allow: / Allow: /
Sitemap: ${sitemapURL.href} Sitemap: ${sitemapURL.href}