diff --git a/src/components/Card.astro b/src/components/Card.astro index 1c75359..133f6fb 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -5,9 +5,10 @@ interface Props { imageCover?: string imageHeight?: number imageWidth?: number + imageLoading?: "lazy" | "eager" } -const { imageCover, imageHeight, imageWidth } = Astro.props +const { imageCover, imageHeight, imageWidth, imageLoading = "lazy" } = Astro.props ---
{imageCover && imageHeight && imageWidth &&
- {""} + {""}
} @@ -35,7 +36,7 @@ const { imageCover, imageHeight, imageWidth } = Astro.props -
+
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index fc99318..39a28f7 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -83,7 +83,7 @@ const websiteDomain = "alexcreates.fr" - + diff --git a/src/pages/projects.astro b/src/pages/projects.astro index 5a4b5f4..2e08aaa 100644 --- a/src/pages/projects.astro +++ b/src/pages/projects.astro @@ -5,7 +5,7 @@ import Layout from '../layouts/Layout.astro'; --- -
+
My projects @@ -15,7 +15,7 @@ import Layout from '../layouts/Layout.astro';
  • - + @@ -33,7 +33,7 @@ import Layout from '../layouts/Layout.astro';
  • - + @@ -50,6 +50,24 @@ import Layout from '../layouts/Layout.astro';
  • +
  • + + + + + + + + + French Representative Lookup + + + +

    I always found it too bothersome to know who represents you in the french national assembly ; you need to input your physical adress to only get your county.

    +

    With official datasets, I was built a script to associate county and representative. It was useful for a while, but it's archived.

    +
    +
    +