Remove recognition page, adjust section on index
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 3m2s

This commit is contained in:
2025-12-17 09:17:36 +10:30
parent b8b4ddd059
commit ca6f0de553
4 changed files with 19 additions and 37 deletions

View File

@@ -7,7 +7,6 @@ const links: Link[] = [
{ href: "/", label: "Home" }, { href: "/", label: "Home" },
{ href: "/about/", label: "About" }, { href: "/about/", label: "About" },
{ href: "/projects/", label: "Projects" }, { href: "/projects/", label: "Projects" },
{ href: "/recognition/", label: "Recognition" },
{ href: "/contact/", label: "Contact" } { href: "/contact/", label: "Contact" }
]; ];

View File

@@ -13,18 +13,16 @@ const { award } = Astro.props as Props;
const { Content } = await render(award); const { Content } = await render(award);
--- ---
<div class="col-span-1"> <div class="bg-primary rounded text-white shadow">
<div class="bg-primary rounded text-white shadow"> <div class="p-2">
<div class="p-2"> <div class="text-l font-bold">{award.data.title}</div>
<div class="text-l font-bold">{award.data.title}</div> <div class="text-sm italic">
<div class="text-sm italic"> {award.data.giver} ({award.data.date.getFullYear()})
{award.data.giver} ({award.data.date.getFullYear()})
</div>
</div> </div>
<div class="bg-white p-2 text-left"> </div>
<div class="text-sm text-gray-600"> <div class="bg-white p-2 text-left">
<Content components={{ a: A }} /> <div class="text-sm text-gray-600">
</div> <Content components={{ a: A }} />
</div> </div>
</div> </div>
</div> </div>

View File

@@ -174,33 +174,18 @@ const tracks = (
<section id="recognition" class="bg-white dark:bg-gray-950"> <section id="recognition" class="bg-white dark:bg-gray-950">
<div class="mx-auto max-w-4xl px-8 py-16 text-center"> <div class="mx-auto max-w-4xl px-8 py-16 text-center">
<SectionTitle>Recognition</SectionTitle> <SectionTitle>Recognition</SectionTitle>
<div class="grid grid-cols-1 md:grid-cols-2"> <Paragraph
>I am very grateful to have been recognised and awarded for my work.</Paragraph
>
<div class="md-8 h-48 overflow-hidden scroll-smooth p-0">
<div <div
class="col-span-1 flex h-48 w-full flex-col items-center justify-center" class="animate-scrolling-awards m-0 mx-auto flex max-w-md flex-col space-y-8 p-0"
> >
<Paragraph {
>I am very grateful to have been recognised and awarded for my awardsDoubled.map((award) => {
work.</Paragraph return <AwardCard award={award} />;
> })
<a }
href="/recognition/"
class="bg-primary text-md font-header hover:text-primary repeat hover:ring-primary mx-auto inline-block rounded px-6 py-3 font-light text-white uppercase drop-shadow-lg/75 transition hover:bg-white hover:ring-2"
>
Click here for more information
</a>
</div>
<div
class="md-8 col-span-1 h-48 overflow-hidden scroll-smooth p-0 md:mt-0"
>
<div
class="animate-scrolling-awards m-0 mx-auto flex max-w-3xs flex-col space-y-8 p-0"
>
{
awardsDoubled.map((award) => {
return <AwardCard award={award} />;
})
}
</div>
</div> </div>
</div> </div>
</div> </div>