diff --git a/src/components/Card.astro b/src/components/Card.astro index 74a28f8..7607c7d 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -51,12 +51,14 @@ const CardTag = href ? "a" : "div"; src={image} alt={imageAlt} class="aspect-video rounded-lg" + transition:name={`img-${title}`} /> ) : ( ) } @@ -66,7 +68,7 @@ const CardTag = href ? "a" : "div"; tags.length > 0 && (
{tags.map((tag) => ( - + {tag} ))} @@ -76,6 +78,7 @@ const CardTag = href ? "a" : "div";

{title}

diff --git a/src/components/ContactForm.astro b/src/components/ContactForm.astro index 72a3922..f14f150 100644 --- a/src/components/ContactForm.astro +++ b/src/components/ContactForm.astro @@ -97,7 +97,7 @@ const { class: className } = Astro.props;
{/* Send form data and animate form */} - {/* Set the subject of the select automatically from the url params */} - {/* React to subject changes */} - diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 5c729f8..2fe8dcd 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,4 +1,5 @@ --- +import { ClientRouter } from "astro:transitions"; import "../styles/global.css"; interface Props { @@ -14,7 +15,7 @@ const imageUrl = `${siteUrl}${image}`; --- - + @@ -24,6 +25,7 @@ const imageUrl = `${siteUrl}${image}`; @@ -55,6 +57,9 @@ const imageUrl = `${siteUrl}${image}`; + + + diff --git a/src/layouts/PageLayout.astro b/src/layouts/PageLayout.astro index abf2b68..7e6d022 100644 --- a/src/layouts/PageLayout.astro +++ b/src/layouts/PageLayout.astro @@ -17,11 +17,11 @@ const { title, description, image } = Astro.props;
- -
+ +
- -