Change donate method order
This commit is contained in:
@@ -81,17 +81,12 @@ export default function PaymentMethod({isLoading, paymentMethod, setPaymentMetho
|
||||
<Box sx={{width: '100%'}}>
|
||||
<Box sx={{borderBottom: 1, borderColor: 'divider'}}>
|
||||
<Tabs scrollButtons allowScrollButtonsMobile value={paymentMethod} aria-label='basic tabs example' variant='fullWidth' onChange={handleChange}>
|
||||
<Tab wrapped label='Adhésion' {...a11yProps(0)} />
|
||||
<Tab wrapped label='PayPal / Liberapay' {...a11yProps(1)} />
|
||||
<Tab wrapped label='PayPal / Liberapay' {...a11yProps(0)} />
|
||||
<Tab wrapped label='Adhésion' {...a11yProps(1)} />
|
||||
<Tab wrapped label='Carte bancaire' {...a11yProps(2)} />
|
||||
</Tabs>
|
||||
</Box>
|
||||
<TabPanel value={paymentMethod} index={0}>
|
||||
<Button size='large' variant='outlined' onClick={() => window.open('https://asso.oki.re/public/members/new.php', '_blank')}>
|
||||
Cliquez ici pour adhérer à l’association OKi
|
||||
</Button>
|
||||
</TabPanel>
|
||||
<TabPanel value={paymentMethod} index={1}>
|
||||
<Grid container rowSpacing={1}>
|
||||
<Grid item md={6} xs={12}>
|
||||
<Button variant='outlined' size='large' endIcon={<Liberapay />} onClick={() => window.open(`https://liberapay.com/${LIBERAPAY_DONATE}/donate`, '_blank')}>
|
||||
@@ -105,6 +100,11 @@ export default function PaymentMethod({isLoading, paymentMethod, setPaymentMetho
|
||||
</Grid>
|
||||
</Grid>
|
||||
</TabPanel>
|
||||
<TabPanel value={paymentMethod} index={1}>
|
||||
<Button size='large' variant='outlined' onClick={() => window.open('https://asso.oki.re/public/members/new.php', '_blank')}>
|
||||
Cliquez ici pour adhérer à l’association OKi
|
||||
</Button>
|
||||
</TabPanel>
|
||||
<TabPanel value={paymentMethod} index={2}>
|
||||
<Button size='large' variant='outlined' onClick={handleClickOpen}>
|
||||
Faire un don par carte bancaire
|
||||
|
||||
Reference in New Issue
Block a user