42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
import { showBetaFeature } from '@konobangu/feature-flags';
|
|
import { createMetadata } from '@konobangu/seo/metadata';
|
|
import type { Metadata } from 'next';
|
|
import { Cases } from './components/cases';
|
|
import { CTA } from './components/cta';
|
|
import { FAQ } from './components/faq';
|
|
import { Features } from './components/features';
|
|
import { Hero } from './components/hero';
|
|
import { Stats } from './components/stats';
|
|
import { Testimonials } from './components/testimonials';
|
|
|
|
const meta = {
|
|
title: 'From zero to production in minutes.',
|
|
description:
|
|
"next-forge is a production-grade boilerplate for modern Next.js apps. It's designed to have everything you need to build your new SaaS app as quick as possible. Authentication, billing, analytics, SEO, and more. It's all here.",
|
|
};
|
|
|
|
export const metadata: Metadata = createMetadata(meta);
|
|
|
|
const Home = async () => {
|
|
const betaFeature = await showBetaFeature();
|
|
|
|
return (
|
|
<>
|
|
{betaFeature && (
|
|
<div className="w-full bg-black py-2 text-center text-white">
|
|
Beta feature now available
|
|
</div>
|
|
)}
|
|
<Hero />
|
|
<Cases />
|
|
<Features />
|
|
<Stats />
|
|
<Testimonials />
|
|
<FAQ />
|
|
<CTA />
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default Home;
|