11import React from 'react'
22
3- import { Grid , Typography } from '@mui/material'
4-
53import Footer from 'components/layouts/Footer'
64import PageWrapper from 'components/layouts/PageWrapper'
75
8- import Divider from 'components/generic/Divider'
96import Button from 'components/generic/Button'
107
118import Container from 'components/generic/Container'
129import GlobalNavBar from 'components/navbars/GlobalNavBar'
1310import PricingCard from 'components/generic/PricingCard'
11+
12+ import { Grid2 as Grid , Typography } from '@mui/material'
1413import ArrowBackIosIcon from '@mui/icons-material/ArrowBackIos'
1514
1615import { useTranslation } from 'react-i18next'
1716import { useNavigate } from 'react-router-dom'
1817
19- // const useStyles = styled(theme => ({
20- // backButtonWrapper: {
21- // position: 'absolute',
22- // zIndex: 10,
23- // width: '100%',
24- // paddingTop: theme.spacing(1),
25- // },
26-
27- // pricingWrapper: {
28- // width: '100%',
29- // paddingTop: '2em',
30- // },
31- // }))
32-
3318export default ( ) => {
3419 const navigate = useNavigate ( )
3520 const { t } = useTranslation ( )
@@ -40,11 +25,13 @@ export default () => {
4025 footer = { ( ) => < Footer /> }
4126 render = { ( ) => (
4227 < >
43- < Container
44- center
45- wrapperClass = { 'classes.backButtonWrapper' }
46- >
47- < Button onClick = { ( ) => navigate ( '/' ) } >
28+ < Container center sx = { { pt : 1 } } >
29+ < Button
30+ sx = { {
31+ borderRadius : '10px' ,
32+ } }
33+ onClick = { ( ) => navigate ( '/' ) }
34+ >
4835 < ArrowBackIosIcon style = { { color : 'black' } } />
4936 < Typography
5037 variant = "button"
@@ -54,38 +41,33 @@ export default () => {
5441 </ Typography >
5542 </ Button >
5643 </ Container >
57- < Divider size = { 3 } />
58- < Container center wrapperClass = { 'classes.pricingWrapper' } >
44+ < Container center sx = { { pt : '0.5em' , pb : '1.5em' } } >
5945 < Grid
6046 container
6147 direction = "row"
6248 justifyContent = "center"
63- spacing = { 3 }
49+ spacing = { 2 }
6450 >
6551 < PricingCard
6652 topic = "What we offer"
6753 price = "Ask: hello@hackjunction.com"
6854 />
69- < Divider size = { 4 } />
70- < Typography variant = "body1" justifyContent = "center" >
55+ < Typography variant = "body1" >
7156 Our expertise of organising hackathons combined
7257 with the power of a highly-customizable platform
7358 for events makes hosting diverse events
7459 possible.
7560 </ Typography >
76- < Divider size = { 4 } />
7761 < Button
7862 variant = "outlined"
7963 color = "theme_lightgray"
8064 strong
81- m = { 6 }
8265 onClick = { ( ) => navigate ( '/contact' ) }
8366 >
8467 { t ( 'Contact_us_' ) }
8568 </ Button >
8669 </ Grid >
8770 </ Container >
88- < Divider size = { 4 } />
8971 </ >
9072 ) }
9173 />
0 commit comments