ESC
NextStarterAI logo
Menu
On this page

Tutorials > Static Page

✨ Next Starter AI is loaded with awesome components to make crafting SEO-optimized pages (think snazzy landing pages) a breeze.


🎉 Everything you need is tucked away in the /components folder – from heroes to pricing and FAQs. It's like a treasure chest of building blocks! 🌈


Head to the /libs/seo.js file – it's your secret weapon for boosting Google ranking. Don't forget to sprinkle in your own touch with customized SEO tags! 🌟


A simple landing page can done like below with ease:


/landing.tsx
1 2 import { getSEOTags } from "@/libs/seo"; 3 4 export const metadata = getSEOTags({ canonicalUrlRelative: "/" }); 5 6 export default function Landing() { 7 return ( 8 <> 9 <main 10 className="min-h-screen p-12 pb-24 text-center" 11 data-theme="dark" 12 > 13 <section className="max-w-xl mx-auto space-y-8"> 14 <h1 className="text-3xl md:text-4xl font-extrabold"> 15 AI Blogs you&apos;ll love 🥦 16 </h1> 17 18 <p className="text-lg leading-relaxed text-base-content/80"> 19 Our AI will generate blogs to improve your SEO based on your preferences. 20 </p> 21 22 <img 23 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" 24 alt="Blog Post" 25 width={500} 26 height={250} 27 className="rounded-lg mx-auto" 28 /> 29 30 <button className="btn btn-primary btn-wide">Get started</button> 31 </section> 32 </main> 33 </> 34 ); 35 } 36