@@ -3,35 +3,55 @@ import { Skeleton } from '@/components/emcn'
33export default function BlogPostLoading ( ) {
44 return (
55 < article className = 'w-full' >
6- < div className = 'mx-auto max-w-[1450px] px-6 pt-8' >
7- < Skeleton className = 'h-[16px] w-[60px] rounded-[4px]' />
8- < div className = 'mt-[24px] flex flex-col gap-8 md:flex-row md:gap-12' >
9- < Skeleton className = 'aspect-[4/3] w-full rounded-[8px] md:w-[450px]' />
10- < div className = 'flex flex-1 flex-col justify-center' >
11- < Skeleton className = 'h-[48px] w-full rounded-[4px]' />
12- < Skeleton className = 'mt-[8px] h-[48px] w-[80%] rounded-[4px]' />
13- < div className = 'mt-[24px] flex items-center gap-[12px]' >
14- < Skeleton className = 'h-[32px] w-[32px] rounded-full' />
15- < Skeleton className = 'h-[16px] w-[100px] rounded-[4px]' />
6+ { /* Header area */ }
7+ < div className = 'mx-auto max-w-[1450px] px-6 pt-8 sm:px-8 sm:pt-12 md:px-12 md:pt-16' >
8+ { /* Back link */ }
9+ < div className = 'mb-6' >
10+ < Skeleton className = 'h-[16px] w-[60px] rounded-[4px] bg-[#2A2A2A]' />
11+ </ div >
12+ { /* Image + title row */ }
13+ < div className = 'flex flex-col gap-8 md:flex-row md:gap-12' >
14+ { /* Image */ }
15+ < div className = 'w-full flex-shrink-0 md:w-[450px]' >
16+ < Skeleton className = 'aspect-[450/360] w-full rounded-lg bg-[#2A2A2A]' />
17+ </ div >
18+ { /* Title + author */ }
19+ < div className = 'flex flex-1 flex-col justify-between' >
20+ < div >
21+ < Skeleton className = 'h-[48px] w-full rounded-[4px] bg-[#2A2A2A]' />
22+ < Skeleton className = 'mt-[8px] h-[48px] w-[80%] rounded-[4px] bg-[#2A2A2A]' />
23+ </ div >
24+ < div className = 'mt-4 flex items-center justify-between' >
25+ < div className = 'flex items-center gap-2' >
26+ < Skeleton className = 'h-[24px] w-[24px] rounded-full bg-[#2A2A2A]' />
27+ < Skeleton className = 'h-[16px] w-[100px] rounded-[4px] bg-[#2A2A2A]' />
28+ </ div >
29+ < Skeleton className = 'h-[32px] w-[32px] rounded-[6px] bg-[#2A2A2A]' />
1630 </ div >
1731 </ div >
1832 </ div >
19- < Skeleton className = 'mt-[32px] h-[1px] w-full rounded-[1px]' />
20- < div className = 'mt-[16px] flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between' >
21- < Skeleton className = 'h-[14px] w-[120px] rounded-[4px]' />
22- < Skeleton className = 'h-[14px] w-[300px] rounded-[4px]' />
33+ { /* Divider */ }
34+ < Skeleton className = 'mt-8 h-[1px] w-full bg-[#2A2A2A] sm:mt-12' />
35+ { /* Date + description */ }
36+ < div className = 'flex flex-col gap-6 py-8 sm:flex-row sm:items-start sm:justify-between sm:gap-8 sm:py-10' >
37+ < Skeleton className = 'h-[16px] w-[120px] flex-shrink-0 rounded-[4px] bg-[#2A2A2A]' />
38+ < div className = 'flex-1 space-y-[8px]' >
39+ < Skeleton className = 'h-[20px] w-full rounded-[4px] bg-[#2A2A2A]' />
40+ < Skeleton className = 'h-[20px] w-[70%] rounded-[4px] bg-[#2A2A2A]' />
41+ </ div >
2342 </ div >
2443 </ div >
25- < div className = 'mx-auto max-w-[900px] px-6 pt-[48px] pb-20' >
44+ { /* Article body */ }
45+ < div className = 'mx-auto max-w-[900px] px-6 pb-20 sm:px-8 md:px-12' >
2646 < div className = 'space-y-[16px]' >
27- < Skeleton className = 'h-[16px] w-full rounded-[4px]' />
28- < Skeleton className = 'h-[16px] w-[95%] rounded-[4px]' />
29- < Skeleton className = 'h-[16px] w-[88%] rounded-[4px]' />
30- < Skeleton className = 'h-[16px] w-full rounded-[4px]' />
31- < Skeleton className = 'mt-[24px] h-[24px] w-[200px] rounded-[4px]' />
32- < Skeleton className = 'h-[16px] w-full rounded-[4px]' />
33- < Skeleton className = 'h-[16px] w-[92%] rounded-[4px]' />
34- < Skeleton className = 'h-[16px] w-[85%] rounded-[4px]' />
47+ < Skeleton className = 'h-[16px] w-full rounded-[4px] bg-[#2A2A2A] ' />
48+ < Skeleton className = 'h-[16px] w-[95%] rounded-[4px] bg-[#2A2A2A] ' />
49+ < Skeleton className = 'h-[16px] w-[88%] rounded-[4px] bg-[#2A2A2A] ' />
50+ < Skeleton className = 'h-[16px] w-full rounded-[4px] bg-[#2A2A2A] ' />
51+ < Skeleton className = 'mt-[24px] h-[24px] w-[200px] rounded-[4px] bg-[#2A2A2A] ' />
52+ < Skeleton className = 'h-[16px] w-full rounded-[4px] bg-[#2A2A2A] ' />
53+ < Skeleton className = 'h-[16px] w-[92%] rounded-[4px] bg-[#2A2A2A] ' />
54+ < Skeleton className = 'h-[16px] w-[85%] rounded-[4px] bg-[#2A2A2A] ' />
3555 </ div >
3656 </ div >
3757 </ article >
0 commit comments