Templates
Landing page
FreeA marketing page with a hero, a feature grid, a customer quote, a call to action and a footer.
The download follows the framework picked above the code. Unzip it and run npm install, then npm run dev.
Live preview
Preview width
Code
import {
ArrowRightIcon,
Avatar,
Badge,
Box,
Button,
Card,
CheckIcon,
Container,
Display,
Flex,
Grid,
Heading,
Link,
Navbar,
Stack,
Text,
} from "@vjdesigns/vjdesigns-ui";
const features = [
{ title: "Plan together", text: "Shared boards, comments and due dates keep everyone on the same page." },
{ title: "Ship faster", text: "Automations move work forward the moment it's ready, so nothing waits." },
{ title: "See what matters", text: "Live reports show progress at a glance, without building a spreadsheet." },
{ title: "Works where you do", text: "Connects to the tools your team already uses, from chat to code." },
{ title: "Secure by default", text: "Single sign-on, roles and an audit log, on every plan." },
{ title: "Help when you need it", text: "Real people answer within a business day, in your time zone." },
];
/** A marketing page: navigation, a hero with two calls to action, a feature grid, a customer quote, a closing call to action and a footer. */
export function LandingPage() {
return (
<>
<Navbar position="sticky" collapseBelow="md" menuTitle="Acme">
<Navbar.Brand href="#home">Acme</Navbar.Brand>
<Navbar.Nav aria-label="Main">
<Navbar.Link href="#features">Features</Navbar.Link>
<Navbar.Link href="#customers">Customers</Navbar.Link>
<Navbar.Link href="#pricing">Pricing</Navbar.Link>
</Navbar.Nav>
<Navbar.Actions>
<Button size="sm" variant="ghost" tone="neutral" href="#sign-in">
Sign in
</Button>
<Button size="sm" tone="primary" href="#sign-up">
Get started
</Button>
</Navbar.Actions>
</Navbar>
<main>
<Container size="xl" gutter="responsive" py={16}>
<Stack gap={6} align="center" style={{ textAlign: "center" }}>
<Badge tone="primary" variant="soft">
New: automations for every plan
</Badge>
<Display level={1} size="6xl" style={{ maxWidth: "48rem" }}>
Project work, without the busywork
</Display>
<Text size="lg" tone="muted" style={{ maxWidth: "36rem" }}>
Acme brings your team's plans, tasks and updates into one place, so you spend less time chasing status and more time doing the work.
</Text>
<Flex gap={3} wrap="wrap" justify="center">
<Button tone="primary" size="lg" href="#sign-up" endIcon={<ArrowRightIcon />}>
Start free
</Button>
<Button variant="outline" tone="neutral" size="lg" href="#demo">
Book a demo
</Button>
</Flex>
<Flex gap={4} wrap="wrap" justify="center">
{["Free for small teams", "No credit card", "Cancel any time"].map((point) => (
<Flex key={point} gap={2} align="center">
<CheckIcon size="sm" tone="success" />
<Text size="sm">{point}</Text>
</Flex>
))}
</Flex>
</Stack>
</Container>
<Box as="section" aria-labelledby="features" surface="sunken" py={16}>
<Container size="xl" gutter="responsive">
<Stack gap={8}>
<Stack gap={2} align="center" style={{ textAlign: "center" }}>
<Heading id="features" level={2} size="3xl">
Everything your team needs
</Heading>
<Text tone="muted">One tool instead of five.</Text>
</Stack>
<Grid columns={{ base: 1, sm: 2, lg: 3 }} gap={6}>
{features.map((feature) => (
<Card key={feature.title} padding="lg">
<Stack gap={2}>
<Heading level={3} size="lg">
{feature.title}
</Heading>
<Text tone="muted">{feature.text}</Text>
</Stack>
</Card>
))}
</Grid>
</Stack>
</Container>
</Box>
<Box as="section" aria-labelledby="customers" py={16}>
<Container size="md" gutter="responsive">
<Stack gap={6} align="center" style={{ textAlign: "center" }}>
<Heading id="customers" level={2} size="2xl">
Loved by busy teams
</Heading>
<figure style={{ margin: 0 }}>
<blockquote style={{ margin: 0 }}>
<Text size="xl">
"We cut our weekly status meeting from an hour to ten minutes. Everyone just checks Acme."
</Text>
</blockquote>
<Flex as="figcaption" gap={3} align="center" justify="center" style={{ marginTop: "1.5rem" }}>
<Avatar name="Maya Chen" colorFromName />
<Text>
<strong>Maya Chen</strong>, Head of Operations at Northwind
</Text>
</Flex>
</figure>
</Stack>
</Container>
</Box>
<Box as="section" aria-labelledby="cta" py={16} surface="sunken">
<Container size="md" gutter="responsive">
<Stack gap={4} align="center" style={{ textAlign: "center" }}>
<Heading id="cta" level={2} size="3xl">
Ready when you are
</Heading>
<Text tone="muted">Set up your first project in under five minutes.</Text>
<Button tone="primary" size="lg" href="#sign-up">
Get started free
</Button>
</Stack>
</Container>
</Box>
</main>
<Box as="footer" py={8}>
<Container size="xl" gutter="responsive">
<Flex justify="between" gap={4} wrap="wrap">
<Text size="sm" tone="muted">
© Acme Inc.
</Text>
<Flex gap={4} wrap="wrap">
<Link href="#terms" size="sm" variant="subtle">
Terms
</Link>
<Link href="#privacy" size="sm" variant="subtle">
Privacy
</Link>
<Link href="#contact" size="sm" variant="subtle">
Contact
</Link>
</Flex>
</Flex>
</Container>
</Box>
</>
);
}