Update
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import AuthUser from '@/modules/auth/auth-user';
|
||||
import { useEffect, useState } from 'react';
|
||||
import FAQDiscord from './partials/FAQDiscord.jsx';
|
||||
import Features from './partials/Features.jsx';
|
||||
import Footer from './partials/Footer.jsx';
|
||||
import Hero from './partials/Hero.jsx';
|
||||
import FAQDiscord from './_home/partials/FAQDiscord.jsx';
|
||||
import Features from './_home/partials/Features.jsx';
|
||||
import Footer from './_home/partials/Footer.jsx';
|
||||
import Hero from './_home/partials/Hero.jsx';
|
||||
|
||||
const Home = () => {
|
||||
const [isClient, setIsClient] = useState(false);
|
||||
@@ -20,8 +20,10 @@ const Home = () => {
|
||||
return (
|
||||
<div className="min-h-[100vh] bg-neutral-50 pb-10 dark:bg-black">
|
||||
<div className="to-muted/10 w-full bg-gradient-to-b from-transparent dark:from-transparent dark:to-neutral-900">
|
||||
{isClient && Editor ? <Editor /> : (
|
||||
<div className="h-96 flex items-center justify-center">
|
||||
{isClient && Editor ? (
|
||||
<Editor />
|
||||
) : (
|
||||
<div className="flex h-96 items-center justify-center">
|
||||
<div className="text-muted-foreground">Loading editor...</div>
|
||||
</div>
|
||||
)}
|
||||
Reference in New Issue
Block a user