mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 14:27:10 +00:00
placeholder check
This commit is contained in:
@@ -22,7 +22,7 @@ export function CompetitionCard({
|
||||
<div className="relative h-full overflow-hidden">
|
||||
{competition.image_url && (
|
||||
<img
|
||||
src={competition.image_url}
|
||||
src={competition.image_url ? competition.image_url : '/DANO.png'}
|
||||
alt={competition.title}
|
||||
className="h-full w-full object-cover object-center"
|
||||
/>
|
||||
|
||||
@@ -112,12 +112,5 @@ const SectionTitle = ({ children }: { children: React.ReactNode }) => {
|
||||
return <h1 className="w-full text-3xl font-semibold">{children}</h1>;
|
||||
};
|
||||
|
||||
const EmptyState = ({ message }: { message: string }) => {
|
||||
return (
|
||||
<div className="flex justify-center items-center p-12 bg-gray-50 rounded-lg">
|
||||
<p className="font-hse-sans text-gray-500">{message}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CompetitionsPage;
|
||||
Reference in New Issue
Block a user