Include some widgets in about-us page

This commit is contained in:
widgeter
2023-08-08 12:33:13 +02:00
parent ebd1ec70cb
commit 219d22d312
4 changed files with 188 additions and 14 deletions

View File

@ -1,16 +1,6 @@
---
import { Icon } from 'astro-icon/components';
import { Picture } from '@astrojs/image/components';
import { CallToAction } from '~/types';
export interface Props {
title?: string;
subtitle?: string;
content?: string;
callToAction?: string | CallToAction;
callToAction2?: string | CallToAction;
image?: string | any; // TODO: find HTMLElementProps
}
const {
title = await Astro.slots.render('title'),

View File

@ -1,6 +1,6 @@
---
import { Icon } from 'astro-icon/components';
import type { CallToAction } from '~/components/widgets/CallToAction.astro';
import { CallToAction } from '~/types';
interface Item {
title: string;