Skip to content

Commit

Permalink
done xs layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzschoff committed Feb 7, 2024
1 parent 1ed7312 commit dcee3fe
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/governance.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Head from 'next/head';
import { PageLayout } from 'src/components';
import GovernanceAction from 'src/sections/governance/action';
import GovernanceCallout from 'src/sections/governance/callout';
import GovernanceEcosystem from 'src/sections/governance/ecosystem';
import GovernanceFeatures from 'src/sections/governance/features';
Expand All @@ -16,6 +17,7 @@ export default function Governance() {
<GovernanceCallout />
<GovernanceEcosystem />
<GovernanceFeatures />
<GovernanceAction />
</PageLayout>
</>
);
Expand Down
42 changes: 42 additions & 0 deletions src/sections/governance/action.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import { Button, Flex, Heading, Text } from '@chakra-ui/react';
import Link from 'next/link';

export default function GovernanceAction() {
return (
<Flex flexDir="column" w="100%" my={{ base: 10 }}>
<Text color="gray.500" fontSize={{ base: '16px' }} mb={{ base: 4 }}>
SYNTHETIX GOVERNANCE
</Text>
<Heading
fontSize={{ base: '36px' }}
lineHeight={{ base: '120%' }}
mb={{ base: 4 }}
>
Participate in Governance
</Heading>
<Text color="gray.500" fontSize={{ base: '14px' }} mb={{ base: 4 }}>
Play a pivotal role in Synthetix Governance. As a staker, your votes in
council elections and contributions to proposals are essential, steering
the protocol's direction and evolution.
</Text>
<Flex gap="6" my={{ base: 6 }}>
<Link
href="https://sips.synthetix.io/all-sip/"
target="_blank"
rel="noopener noreferrer"
>
<Button>All SIPs & SCCPs</Button>
</Link>
<Link
href="https://pr.synthetix.io/"
target="_blank"
rel="noopener noreferrer"
>
<Button variant="outline" colorScheme="gray" color="white">
Create a SIP
</Button>
</Link>
</Flex>
</Flex>
);
}

0 comments on commit dcee3fe

Please sign in to comment.