diff --git a/src/components/Picture.astro b/src/components/Picture.astro
index f0cc53b..8588e8a 100644
--- a/src/components/Picture.astro
+++ b/src/components/Picture.astro
@@ -1,13 +1,12 @@
---
import cx from 'classnames';
-import { Picture } from '@astrojs/image/components';
-import type { PictureComponentLocalImageProps } from '@astrojs/image/components';
+import { Picture } from 'astro-imagetools/components';
+import type { PictureConfigOptions } from 'astro-imagetools';
-interface Props extends PictureComponentLocalImageProps {
+interface Props extends PictureConfigOptions {
class?: string;
noMargin?: boolean;
- slot?: string;
}
const { class: className, noMargin, ...props } = Astro.props;
diff --git a/src/components/ProjectImage.astro b/src/components/ProjectImage.astro
index 2e77a09..b11c2d8 100644
--- a/src/components/ProjectImage.astro
+++ b/src/components/ProjectImage.astro
@@ -18,9 +18,9 @@ const { project } = Astro.props;
) : (
))
diff --git a/src/content/config.ts b/src/content/config.ts
index 33856a3..2e087a3 100644
--- a/src/content/config.ts
+++ b/src/content/config.ts
@@ -17,7 +17,7 @@ const projectCollection = defineCollection({
src: z.string(),
height: z.number().optional(),
width: z.number().optional(),
- aspectRatio: z.union([z.number(), z.string().regex(/^\d+:\d+$/)]),
+ aspectRatio: z.number().optional(),
})
.optional(),
sort: z.number().optional(),
diff --git a/src/layouts/AboutLayout.astro b/src/layouts/AboutLayout.astro
index e3bbe05..f5e3570 100644
--- a/src/layouts/AboutLayout.astro
+++ b/src/layouts/AboutLayout.astro
@@ -16,10 +16,10 @@ const { frontmatter } = Astro.props;
>