Skip to content

Commit

Permalink
remove unused components and pages
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
edd committed Nov 6, 2024
1 parent 5ccc1d0 commit 40047a0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/components/Banner.tsx
Original file line number Diff line number Diff line change
@@ -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 <div className={bannerClasses}>{children}</div>
}

0 comments on commit 40047a0

Please sign in to comment.