From e91bb90252e6eaf2f9a55ecf4f8e94a562aacea1 Mon Sep 17 00:00:00 2001 From: Debjit Biswas Date: Wed, 12 Apr 2023 13:13:59 +0530 Subject: [PATCH 01/24] Created new design events --- components/MediaLayout.js | 17 ++++------------- components/event/EventCard.js | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 components/event/EventCard.js diff --git a/components/MediaLayout.js b/components/MediaLayout.js index a70628ed..cfc85a23 100644 --- a/components/MediaLayout.js +++ b/components/MediaLayout.js @@ -3,6 +3,7 @@ import Image from "next/image"; import ReactPlayLogo from "../public/ReactPlayLogo.svg"; import { HiArrowNarrowRight } from "react-icons/hi"; import { BiPlay } from "react-icons/bi"; +import EventCard from "./event/EventCard"; const MediaLayout = ({ events, reactPlayLive, twitterSpaces, title, id }) => { return ( @@ -18,7 +19,7 @@ const MediaLayout = ({ events, reactPlayLive, twitterSpaces, title, id }) => { className={`text-5xl py-16 font-sans ${reactPlayLive && "text-white"}`} > {!title.split(" ")[1] ? ( - {title} + {title} ) : (
{title.split(" ")[0]}{" "} @@ -30,19 +31,9 @@ const MediaLayout = ({ events, reactPlayLive, twitterSpaces, title, id }) => {
{events?.map((event) => ( - -
-
- Banner Logo -
-

{event.description}

-
- + ))} + {reactPlayLive?.map((el) => (