File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed
app/[locale]/10years/_components/UserStories Expand file tree Collapse file tree 3 files changed +40
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import { Skeleton } from "@/components/ui/skeleton"
2
+
3
+ const Loading = ( ) => (
4
+ < div className = "flex flex-1 flex-col gap-8" >
5
+ { Array . from ( { length : 3 } ) . map ( ( _ , idx ) => (
6
+ < div
7
+ key = { idx }
8
+ className = "w-full space-y-8 rounded-2xl border bg-background p-6"
9
+ >
10
+ < div className = "flex items-center gap-2 py-1" >
11
+ < Skeleton className = "size-8 rounded-full" />
12
+ < div className = "space-y-2" >
13
+ < Skeleton className = "w-40" />
14
+ < Skeleton className = "w-32" />
15
+ </ div >
16
+ </ div >
17
+ < div className = "space-y-1" >
18
+ < Skeleton className = "" />
19
+ < Skeleton className = "" />
20
+ < Skeleton className = "w-1/4" />
21
+ </ div >
22
+ < div className = "space-y-1" >
23
+ < Skeleton className = "h-4 w-32" />
24
+ < Skeleton className = "h-4 w-24" />
25
+ </ div >
26
+ < Skeleton className = "h-5 w-28" />
27
+ </ div >
28
+ ) ) }
29
+ </ div >
30
+ )
31
+
32
+ export default Loading
Original file line number Diff line number Diff line change
1
+ import dynamic from "next/dynamic"
2
+
3
+ import Loading from "./loading"
4
+
5
+ export default dynamic ( ( ) => import ( "./client" ) , {
6
+ ssr : false ,
7
+ loading : Loading ,
8
+ } )
You can’t perform that action at this time.
0 commit comments