This commit is contained in:
ct
2025-07-17 02:52:56 +08:00
parent ae77050934
commit 9aeb410b24
5 changed files with 62 additions and 12 deletions

View File

@@ -33,6 +33,7 @@ const Home = ({ faqData }) => {
</div>
<div className="space-y-16">
<Hero />
{/* <MemeLibrarySearch /> */}
<Features />
<FAQDiscord faqData={faqData} />
</div>

View File

@@ -1,4 +1,3 @@
import CountUp from '@/components/reactbits/CountUp/CountUp';
import { usePage } from '@inertiajs/react';
const Hero = () => {
@@ -29,7 +28,7 @@ const Hero = () => {
</div>
{/* Stats */}
<div className="flex flex-wrap justify-center gap-8 sm:gap-12">
{/* <div className="flex flex-wrap justify-center gap-8 sm:gap-12">
<div className="text-center">
<CountUp
from={0}
@@ -58,7 +57,7 @@ const Hero = () => {
<div className="text-foreground text-3xl font-bold sm:text-4xl">720p</div>
<div className="text-muted-foreground text-sm">Export</div>
</div>
</div>
</div> */}
</div>
</div>
</section>

View File

@@ -88,7 +88,11 @@ export default function MemeShow({ meme, relatedMemes }: Props) {
</h2>
</div>
{isClient && Editor ? (
<Editor />
<Editor
setInitialMeme={(setMeme) => setMeme(meme)}
//setInitialBackground={(setBackground) => setBackground(null)}
setInitialText={(setText) => setText('add your meme caption here')}
/>
) : (
<div className="flex h-96 items-center justify-center text-center">
<div className="space-y-2">