+
Backed by{" "}
{text}
diff --git a/website/src/components/Banner/index.tsx b/website/src/components/Banner/index.tsx
index 1c461423e..ae1eaeb66 100644
--- a/website/src/components/Banner/index.tsx
+++ b/website/src/components/Banner/index.tsx
@@ -1,23 +1,29 @@
-import { HiXMark } from "react-icons/hi2";
-import { Banner as FlowbiteBanner, BannerCollapseButton } from "flowbite-react";
+import Link from "next/link";
+import { Route } from "next";
+import Image from "next/image";
+import { UrlObject } from "url";
export default function Banner({
active,
- overlay,
+ href = "/",
+ bgColor,
+ textColor,
children,
}: {
active: boolean;
- overlay?: boolean;
+ href?: Route
| UrlObject;
+ bgColor?: string;
+ textColor?: string;
children: React.ReactNode;
}) {
if (!active) return null;
return (
-
+
{children}
-
-
-
-
+
);
}