From 6ba1161c2ab971b3c916ac31be476aa22691127c Mon Sep 17 00:00:00 2001 From: Johanne Blikberg Herheim Date: Sun, 30 Mar 2025 10:50:41 +0200 Subject: [PATCH] Add hobby to card --- components/posts.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/posts.tsx b/components/posts.tsx index e9becfb..5838b2a 100644 --- a/components/posts.tsx +++ b/components/posts.tsx @@ -1,5 +1,5 @@ "use client"; -import { Calendar, Clock, User } from "lucide-react"; +import { Calendar, Clock, Trophy, User } from "lucide-react"; import { formatDateWithDay, formatTime } from "./lib/date-utils"; import { Event } from "./types/post"; import { useState } from "react"; @@ -30,6 +30,10 @@ export function Post({ post, link }: { post: Event; link: string }) {

{post.user.name}

+
+ +

{post.hobby.name}

+

{post.description}

{post.mapsLink && (