mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-11 17:16:50 -05:00
feat: upcoming/trending list views and larger title cards
This commit is contained in:
@@ -1,8 +1,16 @@
|
||||
import React from 'react';
|
||||
|
||||
const Placeholder: React.FC = () => {
|
||||
interface PlaceholderProps {
|
||||
canExpand?: boolean;
|
||||
}
|
||||
|
||||
const Placeholder: React.FC<PlaceholderProps> = ({ canExpand = false }) => {
|
||||
return (
|
||||
<div className="relative animate-pulse rounded-lg bg-cool-gray-700 w-36 sm:w-36 md:w-44 ">
|
||||
<div
|
||||
className={`relative animate-pulse rounded-lg bg-cool-gray-700 ${
|
||||
canExpand ? 'w-full' : 'w-36 sm:w-36 md:w-44'
|
||||
}`}
|
||||
>
|
||||
<div className="w-full" style={{ paddingBottom: '150%' }} />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user