From 40047a02f36e3fe5048c8dd592ae9fc6fa20846b Mon Sep 17 00:00:00 2001 From: Edd Date: Wed, 6 Nov 2024 12:27:35 +0000 Subject: [PATCH] remove unused components and pages - remove tweet api - remove bug bounty form and api - remove carrers, community, swag, governance, ambassador pages - remove statistics hooks - remove API lookup hooks - simplify programmatic trading page - remove vercel analytics - rename announcement banner component as it is now just a generic banner --- src/components/Banner.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/components/Banner.tsx diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx new file mode 100644 index 00000000..b3260b0d --- /dev/null +++ b/src/components/Banner.tsx @@ -0,0 +1,17 @@ +import React from 'react' +import type { ReactNode } from 'react' +import classnames from 'classnames' +export interface BannerProps { + children?: ReactNode + className?: string +} + +export const Banner = ({ className, children }: BannerProps) => { + const bannerClasses = classnames( + "bg-[url('https://static.vega.xyz/assets/img/banner-bg.jpg')] bg-cover bg-center bg-no-repeat", + 'p-4', + className + ) + + return
{children}
+}