fix: some stuff
This commit is contained in:
@@ -28,7 +28,7 @@ const link = translatePath(`/${collection}/${id.split("/")[0]}`);
|
|||||||
---
|
---
|
||||||
|
|
||||||
<Card
|
<Card
|
||||||
classes={`max-h-250px grid gradient border-1 border-neutral overflow-hidden ${cover ? "grid-rows-[200px_1fr] xs:grid-rows-none xs:grid-cols-[1fr_200px]" : ""}`}>
|
classes={`grid gradient border-1 border-neutral overflow-hidden ${cover ? "grid-rows-[200px_1fr] xs:grid-rows-none xs:grid-cols-[1fr_200px]" : ""}`}>
|
||||||
<Card.Content classes="px-8 py-7 order-last xs:order-first">
|
<Card.Content classes="px-8 py-7 order-last xs:order-first">
|
||||||
{
|
{
|
||||||
(date || body || rating !== undefined) && (
|
(date || body || rating !== undefined) && (
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
const iso = (d: string | Date) => {
|
const iso = (d: string | Date) => {
|
||||||
const v = toDate(d);
|
const v = toDate(d);
|
||||||
return isNaN(v.getTime()) ? "" : v.toISOString();
|
return isNaN(v?.getTime()) ? "" : v.toISOString();
|
||||||
};
|
};
|
||||||
|
|
||||||
function formatRating(rating: string | number) {
|
function formatRating(rating: string | number) {
|
||||||
|
|||||||
BIN
src/content/photos/picos-de-europa/index.mdx
(Stored with Git LFS)
BIN
src/content/photos/picos-de-europa/index.mdx
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user