Landing
LandingEstimator
Live ballpark estimate: type, pages and extras. Prices and timelines are defined in the content. Below lg the result goes under the form and a sticky summary keeps the range in view while you change the options.
components/landing/LandingEstimator.vue
View in the demo
Example
Estimate your project in 30 seconds
A ballpark figure, no details required. The final price comes in writing after the call.
Ballpark estimate$3,750 - $4,500
4 weeks of work
- Website base (5 pages)$3,000
- 3 extra pages$750
In your content
Section blocks are rendered by LandingRenderer from the sections array of a landing. Add this one to your content:
sections: [
{
type: 'estimator',
tone: 'surface',
props: { … },
},
]
The props follow LandingEstimatorProps in types/components/landing.ts; the table below lists them.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
typesrequired | LandingEstimatorType[] | — | The project types to estimate. |
labelsrequired | { type: string; pages: string; extras: string; result: string; } | — | Texts of the controls. |
actionrequired | LandingAction | — | A LandingAction: label plus to or href, and kind. |
extras | LandingEstimatorExtra[] | [] | Optional extras that add to the price. |
pages | { min: number; max: number; included: number; price: number; weeksEvery?: number; } | — | Page ranges that change the price. |
range-factor | number | 1.2 | How wide the estimated range is. |
currency | string | — | The ISO 4217 currency code. Defaults to NUXT_PUBLIC_DEFAULT_CURRENCY. |
note | string | — | A small line of context. |
eyebrow | string | — | A short label above the title. |
title | string | — | The heading of the block. |
description | string | — | The sentence under the title. |
heading-id | string | — | The id of the heading, used by aria-labelledby and anchors. |
align | LandingHeadingAlign | "start" | start or center heading. |