mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
* chore: remove spinner waterfall on projects page * Fix the shimmering card to look more like the project cards. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
18 lines
479 B
TypeScript
18 lines
479 B
TypeScript
import CardButton from 'components/ui/CardButton'
|
|
|
|
const ShimmeringCard = () => {
|
|
return (
|
|
<CardButton
|
|
className="h-44 !px-0 pt-5 pb-0"
|
|
title={
|
|
<div className="w-full justify-between space-y-1.5 px-5">
|
|
<p className="flex-shrink truncate text-sm pr-4 shimmering-loader h-5 w-20" />
|
|
<p className="text-sm lowercase text-foreground-light h-4 w-40 shimmering-loader" />
|
|
</div>
|
|
}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default ShimmeringCard
|