From 46a8a807885463e59740ad671e85fa21b20460ed Mon Sep 17 00:00:00 2001 From: Triston Date: Wed, 24 Apr 2024 18:16:37 -0400 Subject: [PATCH] feat: add dummy data and properly style the popular section --- src/components/popular/index.tsx | 61 ++++++++++++++++++++++++++++++-- 1 file changed, 59 insertions(+), 2 deletions(-) diff --git a/src/components/popular/index.tsx b/src/components/popular/index.tsx index d7020d9..d733ba6 100644 --- a/src/components/popular/index.tsx +++ b/src/components/popular/index.tsx @@ -1,10 +1,67 @@ export function Popular() { return ( -
-
+
+

Popular

+
+ {dummyData.map(x => ( +
+ +

{x.title}

+ {x.location} +
+ ))} +
) } +const dummyData = [ + { + location: 'Florida, USA', + title: '93.3 FLZ', + image: 'https://thispersondoesnotexist.com' + }, + { + location: 'Florida, USA', + title: '93.3 FLZ', + image: 'https://thispersondoesnotexist.com' + }, + { + location: 'Florida, USA', + title: '93.3 FLZ', + image: 'https://thispersondoesnotexist.com' + }, + { + location: 'Florida, USA', + title: '93.3 FLZ', + image: 'https://thispersondoesnotexist.com' + }, + { + location: 'Florida, USA', + title: '93.3 FLZ', + image: 'https://thispersondoesnotexist.com' + }, + { + location: 'Florida, USA', + title: '93.3 FLZ', + image: 'https://thispersondoesnotexist.com' + }, + { + location: 'Florida, USA', + title: '93.3 FLZ', + image: 'https://thispersondoesnotexist.com' + }, + { + location: 'Florida, USA', + title: '93.3 FLZ', + image: 'https://thispersondoesnotexist.com' + }, + { + location: 'Florida, USA', + title: '93.3 FLZ', + image: 'https://thispersondoesnotexist.com' + }, +] +