feat: add basic webui

This commit is contained in:
2024-12-30 06:39:09 +08:00
parent 608a7fb9c6
commit a4c549e7c3
462 changed files with 35900 additions and 2491 deletions

View File

@@ -0,0 +1,41 @@
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;