ESC
Tutorials > Static Page
✨ Nuxt Starter AI is packed with fantastic components to simplify the creation of SEO-friendly pages (imagine stylish landing pages).
🎉 Everything you need is kept in the /components folder – from hero sections to pricing and FAQs. It's like a treasure chest full of building blocks! 🌈
Go to the /libs/seo.js file – It's your secret weapon for improving your Google ranking. Remember to add your own personal touch with customized SEO tags! 🌟
A simple landing page can made like below with in seconds with Nuxt Starter AI:
/pages/index.tsx
1<template>
2 <main
3 className="min-h-screen p-12 pb-24 text-center"
4 data-theme="dark"
5 >
6 <section className="max-w-xl mx-auto space-y-8">
7 <h1 className="text-3xl md:text-4xl font-extrabold">
8 AI Blogs you'll love 🥦
9 </h1>
10
11 <p className="text-lg leading-relaxed text-base-content/80">
12 Our AI will generate blogs to improve your SEO based on your preferences.
13 </p>
14
15 <img
16 src="https://images.unsplash.com/photo-1432821596592-e2c18b78144f?q=80&w=3540&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
17 alt="Blog Post"
18 width={500}
19 height={250}
20 className="rounded-lg mx-auto"
21 />
22
23 <button className="btn btn-primary btn-wide">Get started</button>
24 </section>
25 </main>
26</template>
27
28<script lang="ts" setup>
29import { getSEOTags } from "@/libs/seo";
30
31useHead(getSEOTags({ canonicalUrlRelative: "/" }))
32
33</script>
34<style></style>