More doc, cleanup.

This commit is contained in:
rickbsgu
2023-07-17 16:57:46 -06:00
parent e8ae3663c5
commit 486da90108
5 changed files with 34 additions and 25 deletions

View File

@ -1,7 +1,7 @@
---
import { Icon } from 'astro-icon';
interface CallToAction {
export interface CallToAction {
text: string;
href: string;
icon?: string;

View File

@ -1,12 +1,7 @@
---
import { Icon } from 'astro-icon';
import { Picture } from '@astrojs/image/components';
interface CallToAction {
text: string;
href: string;
icon?: string;
}
import type { CallToAction } from '~/components/widgets/CallToAction.astro';
export interface Props {
title?: string;

View File

@ -2,11 +2,7 @@
import { Icon } from 'astro-icon';
import { Picture } from '@astrojs/image/components';
interface CallToAction {
text: string;
href: string;
icon?: string;
}
import type { CallToAction } from '~/components/widgets/CallToAction.astro';
export interface Props {
title?: string;

View File

@ -1,5 +1,6 @@
---
import { Icon } from 'astro-icon';
import type { CallToAction } from '~/components/widgets/CallToAction.astro';
interface Item {
title: string;
@ -7,12 +8,6 @@ interface Item {
icon?: string;
}
interface CallToAction {
text: string;
href: string;
icon?: string;
}
export interface Props {
title?: string;
subtitle?: string;