diff --git a/app/page.tsx b/app/page.tsx index ce8f0c9..0c133c9 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,22 +1,11 @@ import { Suspense } from 'react' import { SignedIn, SignedOut } from '@clerk/nextjs' +import Loading from '@/components/ui/loading' import Images from '@/components/images' export const dynamic = 'force-dynamic' -function Loading() { - return ( -
-
-
-
-
-
-
- ) -} - export default function HomePage() { return ( <> diff --git a/components/ui/loading.tsx b/components/ui/loading.tsx new file mode 100644 index 0000000..28e5da8 --- /dev/null +++ b/components/ui/loading.tsx @@ -0,0 +1,11 @@ +export default function Loading() { + return ( +
+
+
+
+
+
+
+ ) +}