-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP Events page * Minor fix * WIP Events page (desktop) * Reuse custom styles * Mobile version * Responsive design * Change banner URL * Add EthGlobal Brussels 2024 data * Minor fixes * Add links; Add FAQ * Implement requested changes
- Loading branch information
Showing
32 changed files
with
1,173 additions
and
8 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import Link from 'next/link' | ||
import Grid from '@mui/material/Grid' | ||
import Typography from '@mui/material/Typography' | ||
import ArrowForwardIosIcon from '@mui/icons-material/ArrowForwardIos' | ||
|
||
import css from './styles.module.css' | ||
|
||
const Bounty: React.FC<{ | ||
width: string | string[] | ||
icon: JSX.Element | ||
name: string | ||
description: string | ||
prize?: string | ||
link?: string | ||
linkLabel?: string | ||
}> = ({ width, icon, name, description, prize, link, linkLabel }) => ( | ||
<Grid | ||
container | ||
flexDirection='column' | ||
sx={{ | ||
p: 4, | ||
width, | ||
border: 'solid 1px', | ||
borderColor: ({ palette }) => palette.border.light, | ||
borderRadius: '8px', | ||
mt: ['30px', '0px'] | ||
}} | ||
justifyContent='space-between' | ||
> | ||
<Grid item> | ||
{icon} | ||
<Typography sx={{ mt: '30px' }} className={css.heading3}> | ||
{name} | ||
</Typography> | ||
<Typography color='text.dark' sx={{ my: '40px' }} className={css.body}> | ||
{description} | ||
</Typography> | ||
</Grid> | ||
<Typography className={css.heading3}>{prize}</Typography>{' '} | ||
{link != null && ( | ||
<Grid item alignItems='flex-end'> | ||
<Link href={link} target='_blank' rel='noopener noreferrer'> | ||
<Typography className={css.link} sx={{ mt: '20px' }}> | ||
{linkLabel} {<ArrowForwardIosIcon sx={{ width: '16px' }} />} | ||
</Typography> | ||
</Link> | ||
</Grid> | ||
)} | ||
</Grid> | ||
) | ||
|
||
export default Bounty |
Oops, something went wrong.