Files
web/packages/design-system/lib/components/HotelCard/HotelCardSkeleton.tsx
Joakim Jäderberg de4b3c1c3c Merged in chore/eslint-curly-braces (pull request #3304)
Chore/eslint curly braces

* Add eslint rule for curly braces

* run eslint --fix for all files


Approved-by: Linus Flood
2025-12-08 07:56:21 +00:00

35 lines
1.0 KiB
TypeScript

import SkeletonShimmer from '../SkeletonShimmer'
import styles from './HotelCardSkeleton.module.css'
export function HotelCardSkeleton() {
return (
<article className={styles.card}>
{/* image container */}
<div className={styles.imageContainer}>
<SkeletonShimmer width="100%" height="100%" />
</div>
<div className={styles.content}>
<SkeletonShimmer height="65px" />
<div className={styles.text}>
<SkeletonShimmer height="20px" />
<SkeletonShimmer height="20px" />
<SkeletonShimmer height="20px" />
<SkeletonShimmer height="20px" />
</div>
<SkeletonShimmer height="56px" />
<SkeletonShimmer height="52px" width="150px" />
</div>
<div className={styles.priceVariants}>
{/* price variants */}
{Array.from({ length: 2 }).map((_, index) => (
<SkeletonShimmer key={index} height="100px" />
))}
<SkeletonShimmer height="40px" />
</div>
</article>
)
}