Skip to content

Static Page comes with many components to help you build SEO-optimized pages (like a landing page) in no time.

The src/components directory contains all you need (hero, pricing, FAQ, analytics, prefetching, etc.). Here’s the list of all the components & themes.

The src/components/SEO.astro file helps you set SEO tags to better rank on Google. Make sure to customize SEO tags.

A simple landing page can done like this:

// Use this to pre-render on per page basis
export const prerender = true

import SEO from '@/components/SEO.astro'
import Header from '@/components/Header.astro'
import Footer from '@/components/Footer.astro'
import Divider from '@/components/Divider.astro'
import GoogleFonts from '@/components/Google-Fonts.astro'

<html lang="en">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <meta name="generator" content={Astro.generator} />
    <GoogleFonts />
    <SEO />
  <body class="font-display">
    <Header />
    <Divider />
    <div class="relative mx-auto flex max-w-7xl flex-col px-8 py-8">
      <h1 class="text-launchfast pb-6 text-3xl font-medium">Privacy Policy</h1>
      <div class="leading-relaxed">
        Your privacy is important to us. It is's policy to respect your privacy regarding any information we may collect from you across our website, and other sites we
        own and operate. This policy is effective as of {new Date().toString()}.
    <Divider />
    <Footer twitter="rishi_raj_jain_" brand_name="" />