From 3518254dee78c29f605c62532d84eae22f328492 Mon Sep 17 00:00:00 2001 From: Hrishav Date: Wed, 6 Nov 2024 09:33:23 +0530 Subject: [PATCH 1/2] Added Kubecon NA Banner Signed-off-by: Hrishav --- _includes/NavbarBanner.jsx | 28 ++++++++++++++++++++++++++++ _includes/TopNavbar.jsx | 3 ++- _includes/scss/Navbar.module.scss | 4 ++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 _includes/NavbarBanner.jsx diff --git a/_includes/NavbarBanner.jsx b/_includes/NavbarBanner.jsx new file mode 100644 index 0000000..0505efe --- /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 = () => { : "" }`} > +