fix(ui): hide NewsCard footer separator when date and footer text are empty
This commit is contained in:
parent
699631c763
commit
926c704fdd
@ -92,6 +92,7 @@ export const NewsCard = ({
|
||||
</p>
|
||||
|
||||
{/* Footer del card */}
|
||||
{(showFooterDate || footerText) && (
|
||||
<div className="mt-auto pt-5 border-t border-white/10 flex items-center justify-between">
|
||||
<span className="text-xs font-black tracking-widest uppercase text-cyan-500 group-hover:text-cyan-300 transition-colors">
|
||||
{showFooterDate ? (
|
||||
@ -109,6 +110,7 @@ export const NewsCard = ({
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user