Skip to content

Commit

Permalink
♻️ governance: change proposals section
Browse files Browse the repository at this point in the history
  • Loading branch information
JuampiRombola committed Sep 27, 2023
1 parent 8a76fa5 commit e033ce2
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 19 deletions.
30 changes: 14 additions & 16 deletions components/governance/Proposals/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import { Box, Divider, Typography } from '@mui/material';
import { Box, Button, Divider, Typography } from '@mui/material';
import { useTranslation } from 'react-i18next';
import OpenInNewIcon from '@mui/icons-material/OpenInNew';

const Proposals = () => {
const { t } = useTranslation();
Expand All @@ -9,23 +10,20 @@ const Proposals = () => {
<Box display="flex" flexDirection="column" gap={4}>
<Divider flexItem />
<Box display="flex" flexDirection="column" gap={4}>
<Box display="flex" alignItems="center" gap={1}>
<Box display="flex" flexDirection="column" gap={3}>
<Typography variant="h6">{t('Proposals')}</Typography>
<Typography
fontSize={12}
fontWeight={700}
color="grey.100"
sx={{ px: 0.5, py: 0.1, bgcolor: 'grey.900', borderRadius: '4px' }}
textTransform="uppercase"
>
{t('Coming soon')}
</Typography>
<Box display="flex" flexDirection="column" gap={0.5}>
<Typography fontSize={14}>{t('See our proposals on the governance forum via Snapshot.')}</Typography>
<Typography fontSize={14}>
{t("You can also create your own proposals and vote on other's proposals.")}
</Typography>
</Box>
</Box>
<Typography fontSize={14} color="grey.500">
{t(
"Stay tuned to our Discord and Twitter for updates, and get ready to vote and shape the protocol's evolution.",
)}
</Typography>
<a href="https://gov.exact.ly/" target="_blank" rel="noreferrer noopener">
<Button variant="outlined" fullWidth endIcon={<OpenInNewIcon sx={{ height: 12 }} />}>
https://gov.exact.ly/
</Button>
</a>
</Box>
</Box>
);
Expand Down
6 changes: 3 additions & 3 deletions i18n/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,6 @@
"Enter delegate address": "Ingresa la dirección del delegado",
"Delegate Votes to": "Delegar Votos a",
"Proposals": "Propuestas",
"Coming soon": "Próximamente",
"Stay tuned to our Discord and Twitter for updates, and get ready to vote and shape the protocol's evolution.": "Mantente atento a nuestro Discord y Twitter para actualizaciones, y prepárate para votar y dar forma a la evolución del protocolo.",
"Expired": "Expirado",
"Processing transaction...": "Procesando transacción...",
"Account Health Factor": "Factor de Salud de la cuenta",
Expand Down Expand Up @@ -481,5 +479,7 @@
"Exactly": "Exactly",
"Third-Party": "Terceros",
"Security": "Seguridad",
"The DebtManager contract is responsible for the leverage, deleverage, and rollover functionality of the protocol.": "El contrato DebtManager es responsable de la funcionalidad de apalancamiento, desapalancamiento y refinanciamiento del protocolo."
"The DebtManager contract is responsible for the leverage, deleverage, and rollover functionality of the protocol.": "El contrato DebtManager es responsable de la funcionalidad de apalancamiento, desapalancamiento y refinanciamiento del protocolo.",
"See our proposals on the governance forum via Snapshot.": "Mira nuestras propuestas en el foro de gobernanza a través de Snapshot.",
"You can also create your own proposals and vote on other's proposals.": "También puedes crear tus propias propuestas y votar en las propuestas de otros."
}
120 changes: 120 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e033ce2

Please sign in to comment.