From 4570e9e871b62a926f8b26134c6c7f1a07cb937b Mon Sep 17 00:00:00 2001 From: Khushi Johri Date: Sat, 14 Oct 2023 20:29:16 +0530 Subject: [PATCH] Feat: Added Announcement Section at the Top of main Navbar --- app/(marketing)/layout.tsx | 2 ++ components/layout/announcement-section.tsx | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 components/layout/announcement-section.tsx diff --git a/app/(marketing)/layout.tsx b/app/(marketing)/layout.tsx index b36f00c..934b33a 100644 --- a/app/(marketing)/layout.tsx +++ b/app/(marketing)/layout.tsx @@ -1,9 +1,11 @@ +import AnnouncementSection from "@/components/layout/announcement-section"; import SiteFooter from "@/components/layout/site-footer"; import SiteHeader from "@/components/layout/site-header"; export default function layout({ children }: { children: React.ReactNode }) { return (
+
{children}
diff --git a/components/layout/announcement-section.tsx b/components/layout/announcement-section.tsx new file mode 100644 index 0000000..e46fe19 --- /dev/null +++ b/components/layout/announcement-section.tsx @@ -0,0 +1,17 @@ +import React from "react"; +import { cn } from "@/lib/utils"; +import { Button } from "../ui/button"; + +type Props = {}; + +export default function AnnouncementSection({}: Props) { + return ( + + ); +}