Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Adding partner link, newsletter cta & removing wiki #55

Merged
merged 3 commits into from
Sep 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions packages/frontend/src/Components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,16 @@ const NavLinks = [
href: 'https://academy.developerdao.com',
},
{
text: 'Twitter',
href: 'https://twitter.com/developer_dao',
text: 'Agency',
href: 'https://agency.developerdao.com/',
},
{
text: 'Newsletter',
href: 'https://developerdao.substack.com/',
},
{
text: 'Forum',
text: 'Governance',
href: 'https://forum.developerdao.com/',
},
{
text: 'Jobs',
href: 'https://developerdao.pallet.com/jobs',
text: 'Partner',
href: 'https://airtable.com/appDMMIARfSeiovpk/shrZExypPetXEx6Ox',
},
];

Expand Down
19 changes: 12 additions & 7 deletions packages/frontend/src/Components/Intro/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import '@fontsource/inter/500.css';
import '@fontsource/inter/700.css';
import '@fontsource/inter/800.css';
import { FaDiscord } from 'react-icons/fa';
import { SiSubstack } from 'react-icons/si';
import { HomePage } from '../../types';

import mainImg from '../../../public/main.png';
Expand Down Expand Up @@ -54,7 +55,7 @@ const Intro: FC<IntroProps> = ({ heading, subHeading }) => {
{t(subHeading!)}
</Text>
<Flex justifyContent="start" w="100" mt="3rem">
{/* <Button
<Button
px="1.5rem"
border="1px solid black"
borderRadius="0.625rem"
Expand All @@ -68,22 +69,26 @@ const Intro: FC<IntroProps> = ({ heading, subHeading }) => {
color: 'white',
}}
onClick={() => {
window.open('https://claim.developerdao.com', '_blank');
window.open('https://developerdao.substack.com/', '_blank');
}}
>
Claim $CODE
</Button> */}
<Box as={SiSubstack} mr=".75rem" fontSize="2rem" color="black" />
<Box>
<Text>Subscribe</Text>
<Text fontSize="0.75rem">to our newsletter</Text>
</Box>
</Button>

<Button
px="1.5rem"
border="1px solid white"
borderRadius="0.625rem"
maxW={{ base: '75%', md: '20rem' }}
bg="white"
color="black"
bg="black"
color="white"
flexGrow={1}
py={{ base: '1.75rem', xl: '2rem' }}
// ml={{ base: '0', xl: '2rem' }}
ml={{ base: '0', xl: '2rem' }}
fontSize={{ base: '0.875rem', xl: '1.25rem' }}
_hover={{
bg: 'black',
Expand Down
5 changes: 2 additions & 3 deletions packages/frontend/src/Components/Purpose/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const Purpose: FC<PurposeProps> = ({ values, mission, goals }) => {
</OrderedList>
</Box>
</Box>
<LinkBox
{/* <LinkBox
as="article"
rounded="10"
border="1px solid black"
Expand All @@ -121,7 +121,6 @@ const Purpose: FC<PurposeProps> = ({ values, mission, goals }) => {
height="18rem"
padding="1rem"
>
{/*todo: check if need to add to CMS*/}
<LinkOverlay href={DEVELOPER_DAO_WIKI} target="_blank">
<Icon
as={BsArrowUpRight}
Expand All @@ -142,7 +141,7 @@ const Purpose: FC<PurposeProps> = ({ values, mission, goals }) => {
</Text>
</Box>
</LinkOverlay>
</LinkBox>
</LinkBox> */}
</Flex>
</Flex>
);
Expand Down
Loading