From 1c2f4e9b9a9f3202f176ca5a48cd8c5dbb300724 Mon Sep 17 00:00:00 2001 From: Triston Date: Wed, 24 Apr 2024 19:53:25 -0400 Subject: [PATCH] feat: add dummy data and fill out component --- src/App.tsx | 2 +- src/components/local_radio/index.tsx | 87 +++++++++++++++++++++- src/components/music_player/index.tsx | 2 +- src/components/recommended_radio/index.tsx | 60 ++++++++++++++- 4 files changed, 146 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index ac79a28..a34443d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -38,7 +38,7 @@ export function App() { {/* Bottom Section __________*/} -
+
diff --git a/src/components/local_radio/index.tsx b/src/components/local_radio/index.tsx index ae577a9..27c924c 100644 --- a/src/components/local_radio/index.tsx +++ b/src/components/local_radio/index.tsx @@ -1,7 +1,90 @@ export function LocalRadio() { return ( -
-

Local Radio

+
+

Local Radio

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

{x.title}

+
+ ))} +
) } + +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' + }, + { + 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' + } +] + diff --git a/src/components/music_player/index.tsx b/src/components/music_player/index.tsx index 17f7838..e6ac5b5 100644 --- a/src/components/music_player/index.tsx +++ b/src/components/music_player/index.tsx @@ -1,6 +1,6 @@ export function MusicPlayer() { return ( -
+
+

Recommended For You

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

{x.title}

+
+ ))} +
) } + +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' + }, +] +