diff --git a/src/components/widgets/Hero.astro b/src/components/widgets/Hero.astro index c1426fd..52f47a4 100644 --- a/src/components/widgets/Hero.astro +++ b/src/components/widgets/Hero.astro @@ -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'), diff --git a/src/components/widgets/Steps2.astro b/src/components/widgets/Steps2.astro index f930e71..ae13600 100644 --- a/src/components/widgets/Steps2.astro +++ b/src/components/widgets/Steps2.astro @@ -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; diff --git a/src/pages/about.astro b/src/pages/about.astro index 6cbaa35..003ffa1 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -1,11 +1,194 @@ --- +import Features2 from '~/components/widgets/Features2.astro'; +import Features3 from '~/components/widgets/Features3.astro'; +import Hero from '~/components/widgets/Hero.astro'; +import Stats from '~/components/widgets/Stats.astro'; +import Steps2 from '~/components/widgets/Steps2.astro'; import Layout from '~/layouts/PageLayout.astro'; const metadata = { - title: "About us", + title: 'About us', }; --- - About us + + + + + Elevate your online presence with our
+ Beautiful Website Templates +
+ + + Donec efficitur, ipsum quis congue luctus, mauris magna convallis mauris, eu auctor nisi lectus non augue. Donec + quis lorem non massa vulputate efficitur ac at turpis. Sed tincidunt ex a nunc convallis, et lobortis nisi tempus. + Suspendisse vitae nisi eget tortor luctus maximus sed non lectus. + +
+ + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/src/types.d.ts b/src/types.d.ts index 6361d53..da9df3b 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -178,7 +178,8 @@ export interface Collapse { // WIDGETS export interface Hero extends Headline, Widget { - image?: Image; + content?: string; + image?: string | unknown; callToAction1?: CallToAction; callToAction2?: CallToAction; isReversed?: boolean;