| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- import type { NextAppSpec } from "@json-render/next";
- export const defaultSpec: NextAppSpec = {
- metadata: {
- title: {
- default: "Acme Inc",
- template: "%s | Acme Inc",
- },
- description: "We build the future of software.",
- icons: "/icon.svg",
- },
- state: {},
- layouts: {
- main: {
- root: "wrapper",
- elements: {
- wrapper: {
- type: "Stack",
- props: {
- direction: "vertical",
- gap: "none",
- align: "stretch",
- className: "min-h-screen",
- },
- children: ["header", "content", "footer"],
- },
- header: {
- type: "Header",
- props: {
- brand: "Acme Inc",
- links: [
- { label: "Home", href: "/" },
- { label: "About", href: "/about" },
- { label: "Contact", href: "/contact" },
- ],
- variant: "simple",
- },
- },
- content: {
- type: "Slot",
- props: {},
- },
- footer: {
- type: "Footer",
- props: {
- brand: "Acme Inc",
- links: [
- { label: "Home", href: "/" },
- { label: "About", href: "/about" },
- { label: "Contact", href: "/contact" },
- ],
- copyright: "2026 Acme Inc. All rights reserved.",
- variant: "simple",
- },
- },
- },
- },
- },
- routes: {
- "/": {
- layout: "main",
- metadata: {
- title: "Home",
- description: "Welcome to Acme Inc - we build the future of software.",
- },
- page: {
- root: "page",
- elements: {
- page: {
- type: "Stack",
- props: {
- direction: "vertical",
- gap: "none",
- align: "stretch",
- },
- children: ["hero", "features", "testimonials", "cta"],
- },
- hero: {
- type: "Hero",
- props: {
- headline: "Build the future with Acme",
- description:
- "We help companies ship better software, faster. Our platform provides the tools, infrastructure, and insights you need to build world-class products.",
- primaryCta: { label: "Get Started", href: "/contact" },
- secondaryCta: { label: "Learn More", href: "/about" },
- badge: "Now in Beta",
- variant: "centered",
- },
- },
- features: {
- type: "Features",
- props: {
- headline: "Why Acme?",
- description:
- "Everything you need to build, deploy, and scale your applications.",
- items: [
- {
- title: "Lightning Fast",
- description:
- "Optimized for speed with edge-first architecture and smart caching.",
- },
- {
- title: "Secure by Default",
- description:
- "Enterprise-grade security with end-to-end encryption and SOC 2 compliance.",
- },
- {
- title: "Developer First",
- description:
- "APIs, SDKs, and CLI tools designed to fit your workflow perfectly.",
- },
- ],
- columns: 3,
- variant: "cards",
- },
- },
- testimonials: {
- type: "Testimonials",
- props: {
- headline: "Trusted by industry leaders",
- items: [
- {
- quote:
- "Acme has completely transformed how we ship products. Our deployment time went from hours to minutes.",
- author: "Jordan Lee",
- role: "VP Engineering at Globex",
- },
- {
- quote:
- "The developer experience is unmatched. Our team onboarded in a single afternoon.",
- author: "Priya Patel",
- role: "CTO at Initech",
- },
- {
- quote:
- "We cut our infrastructure costs by 40% within the first quarter of switching to Acme.",
- author: "Sam Ortiz",
- role: "Head of Platform at Hooli",
- },
- ],
- },
- },
- cta: {
- type: "CTA",
- props: {
- headline: "Ready to get started?",
- description:
- "Join thousands of teams building better software with Acme.",
- buttonLabel: "Contact Us",
- buttonHref: "/contact",
- variant: "banner",
- },
- },
- },
- },
- },
- "/about": {
- layout: "main",
- metadata: {
- title: "About",
- description:
- "Learn about our mission, values, and the team behind Acme.",
- },
- page: {
- root: "page",
- elements: {
- page: {
- type: "Stack",
- props: {
- direction: "vertical",
- gap: "none",
- align: "stretch",
- },
- children: ["hero", "features", "team", "cta"],
- },
- hero: {
- type: "Hero",
- props: {
- headline: "About Acme Inc",
- description:
- "Founded in 2024, we are on a mission to make software development accessible to everyone. We believe the best tools should be simple, powerful, and delightful to use.",
- variant: "centered",
- primaryCta: null,
- secondaryCta: null,
- badge: null,
- },
- },
- features: {
- type: "Features",
- props: {
- headline: "Our Values",
- items: [
- {
- title: "Simplicity",
- description:
- "We remove complexity so you can focus on building great products.",
- },
- {
- title: "Transparency",
- description:
- "Open communication, honest pricing, and clear documentation.",
- },
- {
- title: "Craftsmanship",
- description:
- "Every detail matters. We sweat the small stuff so you don't have to.",
- },
- ],
- columns: 3,
- variant: "simple",
- description: null,
- },
- },
- team: {
- type: "Team",
- props: {
- headline: "Meet the Team",
- description:
- "The people behind Acme who are passionate about building great developer tools.",
- members: [
- {
- name: "Alex Chen",
- role: "CEO & Co-founder",
- bio: "Previously at Vercel and Google. Passionate about developer experience.",
- },
- {
- name: "Sarah Kim",
- role: "CTO & Co-founder",
- bio: "Built distributed systems at AWS. Loves solving hard infrastructure problems.",
- },
- {
- name: "Marcus Rivera",
- role: "Head of Design",
- bio: "Former design lead at Figma and Stripe. Obsessed with clarity and craft.",
- },
- ],
- variant: "grid",
- },
- },
- cta: {
- type: "CTA",
- props: {
- headline: "Want to join us?",
- description:
- "We are always looking for talented people to join our team.",
- buttonLabel: "Get in Touch",
- buttonHref: "/contact",
- variant: "centered",
- },
- },
- },
- },
- },
- "/contact": {
- layout: "main",
- metadata: {
- title: "Contact",
- description: "Get in touch with the Acme team.",
- },
- page: {
- root: "page",
- elements: {
- page: {
- type: "Stack",
- props: {
- direction: "vertical",
- gap: "none",
- align: "stretch",
- },
- children: ["form"],
- },
- form: {
- type: "ContactForm",
- props: {
- headline: "Get in Touch",
- description:
- "Have a question or want to work with us? Fill out the form below and we'll get back to you within 24 hours.",
- fields: [
- {
- label: "Name",
- type: "text" as const,
- placeholder: "Your name",
- },
- {
- label: "Email",
- type: "email" as const,
- placeholder: "you@example.com",
- },
- {
- label: "Message",
- type: "textarea" as const,
- placeholder: "Tell us about your project...",
- },
- ],
- submitLabel: "Send Message",
- },
- },
- },
- },
- },
- },
- };
|