diff --git a/astro.config.mjs b/astro.config.mjs index 90ed6e5..95c9ee3 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,4 +1,4 @@ -import { defineConfig } from 'astro/config'; +import { defineConfig, squooshImageService } from 'astro/config'; import tailwind from "@astrojs/tailwind"; @@ -7,5 +7,8 @@ export default defineConfig({ publicDir: "static", outDir: "public", - integrations: [tailwind()] + integrations: [tailwind()], + image:{ + service: squooshImageService() + } }); \ No newline at end of file diff --git a/src/components/Card.astro b/src/components/Card.astro deleted file mode 100644 index bd6d597..0000000 --- a/src/components/Card.astro +++ /dev/null @@ -1,61 +0,0 @@ ---- -interface Props { - title: string; - body: string; - href: string; -} - -const { href, title, body } = Astro.props; ---- - -
- {body} -
- -