Landing page (static)
A single-page HTML landing page with sticky nav, hero, features, pricing, FAQ, and an email capture form.
Everything a launch page needs in three files: a responsive sticky navigation with a mobile toggle, hero with two calls to action, feature and pricing grids, a native <details> FAQ, and an email form with client-side validation that clearly states it is not connected to a backend yet. Deploys to Codexa static hosting as-is.
- html
- css
- landing
- marketing
- static
This preview is the template's actual file tree and source code — exactly what is copied into a new project. Codexa does not publish screenshots or mock-ups of templates; run the project to see it rendered.
Files4 files
:root { --fg: #0f172a; --muted: #475569; --accent: #2563eb; --line: #e2e8f0; --bg: #ffffff; --surface: #f8fafc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); line-height: 1.6; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; text-decoration: none; color: var(--fg); }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; padding: 6px 10px; border-radius: 8px; }
@media (max-width: 640px) {
.nav-toggle { display: inline-block; }
.nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.nav-links.open { display: flex; }
}
.button { display: inline-block; padding: 10px 18px; border-radius: 10px; background: var(--accent); color: #fff !important; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font-size: 1rem; }
.button.secondary { background: transparent; color: var(--fg) !important; border: 1px solid var(--line); }
.hero { text-align: center; padding: 96px 20px 72px; max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); margin: 0 0 16px; }
.hero p { font-size: 1.2rem; color: var(--muted); margin: 0 0 28px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
section { padding: 64px 20px; }
section h2 { text-align: center; font-size: 2rem; margin: 0 0 32px; }
.grid { display: grid; gap: 20px; max-width: 1000px; margin: 0 auto; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid article { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; }
.grid article h3 { margin-top: 0; }
.pricing { background: var(--surface); }
.pricing .highlight { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.price { font-size: 2rem; font-weight: 700; margin: 8px 0; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing ul { padding-left: 18px; color: var(--muted); }
.faq { max-width: 680px; margin: 0 auto; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
.signup { max-width: 560px; margin: 0 auto; text-align: center; }
.signup label { display: block; text-align: left; font-weight: 600; margin-bottom: 6px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row input { flex: 1 1 220px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; }
.status { min-height: 1.4em; margin: 10px 0 0; font-size: 0.95rem; }
.status.error { color: #b91c1c; }
.status.ok { color: #15803d; }
.hint { font-size: 0.85rem; color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding: 24px 20px; text-align: center; color: var(--muted); font-size: 0.9rem; }
Dependencies
This template has no dependencies and no build step; files are served as-is.
How it runs
- Framework
- Static HTML/CSS/JS
- Dev command
- codexa-static
- Build command
- none (static files)
- Output directory
- .
- Port
- 5173
- Opens at
- /
- Difficulty
- beginner
Projects run in an isolated sandbox with a live preview. Read the projects documentation for details on settings, snapshots and deployment.
More landing pages templates
View all- Framework: Vite + React + TypeScriptDifficulty: beginner
Product landing page
A conversion-focused landing page with hero, features, pricing, and FAQ sections.
- react
- landing
- marketing
- tailwind
9 files
Need the raw data? GET /api/v1/templates/static-landing returns this template with its files.
Build on Landing page (static)
Create a free account, start from this template, and ask the AI agent to turn it into your app.