Skip to content

Commit 9a4f7d2

Browse files
committed
Adds a "Redeem gift code" link to the sidebar for quick and easy access.
1 parent a00ca77 commit 9a4f7d2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/components/SideBar.tsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { BeeModes } from '@ethersphere/bee-js'
2-
import { Divider, Drawer, Grid, List, Link as MUILink } from '@material-ui/core'
2+
import { Box, Divider, Drawer, Grid, List, Link as MUILink, Typography } from '@material-ui/core'
33
import { Theme, createStyles, makeStyles } from '@material-ui/core/styles'
44
import { ReactElement, useContext } from 'react'
55
import { Link } from 'react-router-dom'
@@ -137,6 +137,12 @@ export default function SideBar(): ReactElement {
137137
/>
138138
</MUILink>
139139
</List>
140+
<Divider className={classes.divider} />
141+
<Box mt={4}>
142+
<Link to={ROUTES.TOP_UP_GIFT_CODE}>
143+
<Typography align="center">Redeem gift code</Typography>
144+
</Link>
145+
</Box>
140146
</Grid>
141147
<Grid>
142148
<List>

0 commit comments

Comments
 (0)