ProLanding page
All templatesDusk
4,254 lines ·Comes with Pro
What’s inside
Every section, top to bottom. Pick one and the page on the desk takes you there.
Make it yours
From install to your product, in the order you’d do it. Every file it names lands in your project as source.
- 1
Install it
The landing page lands in components/detent/templates/dusk, with its privacy policy, terms, 404, share image and icon beside it. It needs React 19, the Next.js App Router and Tailwind v4. First time? Set up the Pro registry once, as on the Pro page under Set up once.
shadcn add @detent-pro/template-dusk - 2
Open it
Render it as your home page and run your app. The bar and the footer are fixed and the closing follows the window’s scroll, so give it the whole page, not a box inside one.
app/page.tsximport { DuskPage } from '@/components/detent/templates/dusk/DuskPage' export { homeMetadata as metadata } from '@/components/detent/templates/dusk/meta' export default function Page() { return <DuskPage /> } - 3
Make it yours
Every word, quote, price, log line and link is in one file, and every one is a placeholder. Colours and the sky are tokens in theme.ts; the README lists everything to replace before launch.
components/detent/templates/dusk/content.tsexport const PRODUCT = 'Acme' export const HERO = { title: ['Your headline', 'on two lines'], // … } - 4
Add the legal pages and the 404
Privacy and terms are pages of their own with the same bar and footer; the footer already links to /privacy and /terms. Their text is a placeholder in LEGAL in content.ts: have a lawyer replace it.
app/privacy/page.tsximport { DuskPrivacy } from '@/components/detent/templates/dusk/Legal' export { privacyMetadata as metadata } from '@/components/detent/templates/dusk/meta' export default function Page() { return <DuskPrivacy /> } // app/terms/page.tsx: DuskTerms and termsMetadata // app/not-found.tsx: DuskNotFound and notFoundMetadata - 5
Set the metadata and the share image
Put your address, title and X handle in META in content.ts. The layout shares the metadata with every page, and the share image is drawn from your product name and headline. Copy icon.svg into public/.
app/layout.tsxexport { metadata } from '@/components/detent/templates/dusk/meta' // app/opengraph-image.tsx export { default, size, contentType, alt } from '@/components/detent/templates/dusk/og'