From 917af3989ef7d44e3432fd755b0da37acdb5898a Mon Sep 17 00:00:00 2001 From: Hrishav Date: Wed, 6 Nov 2024 14:00:23 +0530 Subject: [PATCH] Updated Upcoming Event (#115) (#116) Signed-off-by: Hrishav --- _includes/NavbarBanner.jsx | 28 ++++++++++++++++++++++++++ _includes/TopNavbar.jsx | 3 ++- _includes/scss/Navbar.module.scss | 4 ++++ components/homepage/UpcomingEvent.jsx | 27 ++++++++++++++++--------- pages/index.jsx | 2 ++ public/landing_images/nextEvent.png | Bin 283796 -> 113363 bytes 6 files changed, 54 insertions(+), 10 deletions(-) create mode 100644 _includes/NavbarBanner.jsx diff --git a/_includes/NavbarBanner.jsx b/_includes/NavbarBanner.jsx new file mode 100644 index 0000000..7d84b36 --- /dev/null +++ b/_includes/NavbarBanner.jsx @@ -0,0 +1,28 @@ +import React from "react" +import { Container, ContainerFluid } from "@layouts/Container" +import styles from "@includes/scss/Navbar.module.scss" +import { Paragraph } from "./Texts" +import Link from "next/link" + +const NavbarBanner = () => { + return ( + + + + Meet us at Kubecon NA 2024, Kiosk: #16A + + + + Learn More + + + + + ) +} + +export default NavbarBanner diff --git a/_includes/TopNavbar.jsx b/_includes/TopNavbar.jsx index a7915c1..74e0bce 100644 --- a/_includes/TopNavbar.jsx +++ b/_includes/TopNavbar.jsx @@ -21,7 +21,7 @@ import Image from "next/image" import Link from "next/link" import { useEffect, useState } from "react" import { RegularButton, TextLink } from "./CTA" -import { Paragraph } from "./Texts" +import NavbarBanner from "./NavbarBanner" const TopNavbar = () => { const url = "https://api.github.com/repos/litmuschaos/litmus" @@ -92,6 +92,7 @@ const TopNavbar = () => { : "" }`} > +