Aller au contenu
CtrlK

ArdoHomePage

Sur cette page
Cette référence API est générée à partir des commentaires TypeScript en anglais. Les noms, signatures et exemples correspondent au paquet publié.

A home page with its own header and footer, built from the hero and features frontmatter of the current page. Inside ArdoRoot, write the home page as a TSX route with ArdoHero instead.

import { ArdoHomePage } from "ardo/ui"

<ArdoHomePage />

Props

NameTypeRequiredDescription
headerReactNodeNoCustom header element. Defaults to the standard ArdoHeader.
footerReactNodeNoCustom footer element. Defaults to the standard ArdoFooter.

Props type: ArdoHomePageProps