File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Sites from "@/components/sites";
3
3
import OverviewStats from "@/components/overview-stats" ;
4
4
import Posts from "@/components/posts" ;
5
5
import Link from "next/link" ;
6
- import PlacholderCard from "@/components/placeholder-card" ;
6
+ import PlaceholderCard from "@/components/placeholder-card" ;
7
7
import OverviewSitesCTA from "@/components/overview-sites-cta" ;
8
8
9
9
export default function Overview ( ) {
@@ -29,7 +29,7 @@ export default function Overview() {
29
29
fallback = {
30
30
< div className = "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
31
31
{ Array . from ( { length : 4 } ) . map ( ( _ , i ) => (
32
- < PlacholderCard key = { i } />
32
+ < PlaceholderCard key = { i } />
33
33
) ) }
34
34
</ div >
35
35
}
@@ -46,7 +46,7 @@ export default function Overview() {
46
46
fallback = {
47
47
< div className = "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
48
48
{ Array . from ( { length : 8 } ) . map ( ( _ , i ) => (
49
- < PlacholderCard key = { i } />
49
+ < PlaceholderCard key = { i } />
50
50
) ) }
51
51
</ div >
52
52
}
Original file line number Diff line number Diff line change 1
1
// a bunch of loading divs
2
2
3
- import PlacholderCard from "@/components/placeholder-card" ;
3
+ import PlaceholderCard from "@/components/placeholder-card" ;
4
4
5
5
export default function Loading ( ) {
6
6
return (
7
7
< >
8
8
< div className = "h-10 w-48 animate-pulse rounded-md bg-stone-100 dark:bg-stone-800" />
9
9
< div className = "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
10
10
{ Array . from ( { length : 8 } ) . map ( ( _ , i ) => (
11
- < PlacholderCard key = { i } />
11
+ < PlaceholderCard key = { i } />
12
12
) ) }
13
13
</ div >
14
14
</ >
Original file line number Diff line number Diff line change 1
1
import { Suspense } from "react" ;
2
2
import Sites from "@/components/sites" ;
3
- import PlacholderCard from "@/components/placeholder-card" ;
3
+ import PlaceholderCard from "@/components/placeholder-card" ;
4
4
import CreateSiteButton from "@/components/create-site-button" ;
5
5
import CreateSiteModal from "@/components/modal/create-site" ;
6
6
@@ -20,7 +20,7 @@ export default function AllSites({ params }: { params: { id: string } }) {
20
20
fallback = {
21
21
< div className = "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
22
22
{ Array . from ( { length : 8 } ) . map ( ( _ , i ) => (
23
- < PlacholderCard key = { i } />
23
+ < PlaceholderCard key = { i } />
24
24
) ) }
25
25
</ div >
26
26
}
Original file line number Diff line number Diff line change 1
- export default function PlacholderCard ( ) {
1
+ export default function PlaceholderCard ( ) {
2
2
return (
3
3
< div className = "relative rounded-lg border border-stone-200 pb-10 shadow-md transition-all hover:shadow-xl dark:border-stone-700" >
4
4
< div className = "h-44 w-full animate-pulse bg-stone-100 dark:bg-stone-800" />
You can’t perform that action at this time.
0 commit comments