File tree Expand file tree Collapse file tree 9 files changed +43
-38
lines changed
app/[locale]/what-is-ethereum Expand file tree Collapse file tree 9 files changed +43
-38
lines changed File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import { Skeleton , SkeletonLines } from "@/components/ui/skeleton"
2
+
3
+ const Loading = ( ) => (
4
+ < >
5
+ < div className = "mb-4 flex w-2/3 gap-4 border-b py-4" >
6
+ < Skeleton className = "flex-1" />
7
+ < Skeleton className = "flex-1" />
8
+ </ div >
9
+ < div className = "h-fit rounded-lg border p-8" >
10
+ < SkeletonLines noOfLines = { 5 } className = "pt-0" />
11
+ </ div >
12
+ </ >
13
+ )
14
+ 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
+ } )
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import { Skeleton , SkeletonLines } from "@/components/ui/skeleton"
2
+
3
+ const Loading = ( ) => (
4
+ < div className = "h-fit space-y-8 rounded border bg-background p-8" >
5
+ < SkeletonLines noOfLines = { 5 } />
6
+ < SkeletonLines noOfLines = { 5 } />
7
+ < Skeleton className = "mx-auto h-5 w-40 rounded-full" />
8
+ </ div >
9
+ )
10
+
11
+ 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
+ } )
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ import {
43
43
getRequiredNamespacesForPage ,
44
44
} from "@/lib/utils/translations"
45
45
46
- import WhatTabs from "./_components/WhatTabs/lazy "
47
- import WhySwiper from "./_components/WhySwiper/lazy "
46
+ import WhatTabs from "./_components/WhatTabs/server "
47
+ import WhySwiper from "./_components/WhySwiper/server "
48
48
49
49
import { fetchGrowThePie } from "@/lib/api/fetchGrowThePie"
50
50
import dogeComputerImg from "@/public/images/doge-computer.png"
You can’t perform that action at this time.
0 commit comments