chore(format)

This commit is contained in:
Oliver Davies 2023-04-25 01:09:10 +01:00
parent f4c19b9972
commit 0a87e15195
5 changed files with 12 additions and 17 deletions

View file

@ -2,10 +2,11 @@
interface Props {
href: string;
text: string;
};
}
const { href, text } = Astro.props as Props;
---
<div class="mt-6 not-prose">
<a
class="inline-flex items-center py-3 px-6 text-base font-medium text-white no-underline rounded-md duration-200 ease-in-out hover:bg-white focus:bg-white bg-blue-primary transition-color hover:text-blue-primary focus:text-blue-primary"

View file

@ -58,7 +58,9 @@ const { intro } = Astro.props;
<footer class="px-4 mt-4 text-center">
<Markdown>
<p>
Not sure? <a class="link" href="/archive">Browse the archive &rarr;</a>
Not sure? <a class="link" href="/archive"
>Browse the archive &rarr;</a
>
</p>
</Markdown>
</footer>

View file

@ -32,7 +32,7 @@ const { events } = Astro.props;
</a>
) : (
event.name
)}
)}
{event.location && `in ${event.location} -`}
{new Date(event.date).toLocaleDateString("en-GB", {
day: "numeric",