diff --git a/.changeset/yellow-spies-listen.md b/.changeset/yellow-spies-listen.md new file mode 100644 index 000000000..ed88ba13f --- /dev/null +++ b/.changeset/yellow-spies-listen.md @@ -0,0 +1,5 @@ +--- +"@carrot-kpi/host-frontend": minor +--- + +Update UI in campaigns page to conform to the new enforced max width aesthetic diff --git a/packages/frontend/src/components/layout/index.tsx b/packages/frontend/src/components/layout/index.tsx index 54e7e7814..8729b849c 100644 --- a/packages/frontend/src/components/layout/index.tsx +++ b/packages/frontend/src/components/layout/index.tsx @@ -7,10 +7,11 @@ import { } from "../../constants"; import { CarrotMarquee } from "../ui/carrot-marquee"; import { Footer } from "../ui/footer"; -import { Navbar } from "../ui/navbar"; +import { Navbar, type NavbarProps } from "../ui/navbar"; interface LayoutProps { navbarLinks?: NavbarLink[]; + navbarBgColor?: NavbarProps["bgColor"]; noNavbar?: boolean; footerLinks?: FooterLink[]; children?: ReactNode; @@ -18,13 +19,19 @@ interface LayoutProps { export const Layout = ({ navbarLinks, + navbarBgColor, noNavbar, footerLinks, children, }: LayoutProps) => { return (
- {!noNavbar && } + {!noNavbar && ( + + )} {children}