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";
33import OverviewStats from "@/components/overview-stats" ;
44import Posts from "@/components/posts" ;
55import Link from "next/link" ;
6- import PlacholderCard from "@/components/placeholder-card" ;
6+ import PlaceholderCard from "@/components/placeholder-card" ;
77import OverviewSitesCTA from "@/components/overview-sites-cta" ;
88
99export default function Overview ( ) {
@@ -29,7 +29,7 @@ export default function Overview() {
2929 fallback = {
3030 < div className = "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
3131 { Array . from ( { length : 4 } ) . map ( ( _ , i ) => (
32- < PlacholderCard key = { i } />
32+ < PlaceholderCard key = { i } />
3333 ) ) }
3434 </ div >
3535 }
@@ -46,7 +46,7 @@ export default function Overview() {
4646 fallback = {
4747 < div className = "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
4848 { Array . from ( { length : 8 } ) . map ( ( _ , i ) => (
49- < PlacholderCard key = { i } />
49+ < PlaceholderCard key = { i } />
5050 ) ) }
5151 </ div >
5252 }
Original file line number Diff line number Diff line change 11// a bunch of loading divs
22
3- import PlacholderCard from "@/components/placeholder-card" ;
3+ import PlaceholderCard from "@/components/placeholder-card" ;
44
55export default function Loading ( ) {
66 return (
77 < >
88 < div className = "h-10 w-48 animate-pulse rounded-md bg-stone-100 dark:bg-stone-800" />
99 < div className = "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
1010 { Array . from ( { length : 8 } ) . map ( ( _ , i ) => (
11- < PlacholderCard key = { i } />
11+ < PlaceholderCard key = { i } />
1212 ) ) }
1313 </ div >
1414 </ >
Original file line number Diff line number Diff line change 11import { Suspense } from "react" ;
22import Sites from "@/components/sites" ;
3- import PlacholderCard from "@/components/placeholder-card" ;
3+ import PlaceholderCard from "@/components/placeholder-card" ;
44import CreateSiteButton from "@/components/create-site-button" ;
55import CreateSiteModal from "@/components/modal/create-site" ;
66
@@ -20,7 +20,7 @@ export default function AllSites({ params }: { params: { id: string } }) {
2020 fallback = {
2121 < div className = "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4" >
2222 { Array . from ( { length : 8 } ) . map ( ( _ , i ) => (
23- < PlacholderCard key = { i } />
23+ < PlaceholderCard key = { i } />
2424 ) ) }
2525 </ div >
2626 }
Original file line number Diff line number Diff line change 1- export default function PlacholderCard ( ) {
1+ export default function PlaceholderCard ( ) {
22 return (
33 < div className = "relative rounded-lg border border-stone-200 pb-10 shadow-md transition-all hover:shadow-xl dark:border-stone-700" >
44 < 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