Skip to content

Commit

Permalink
fix(index): add a link to my newsletters
Browse files Browse the repository at this point in the history
  • Loading branch information
craftzdog committed Feb 16, 2023
1 parent db6b537 commit 2ac6082
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
useColorModeValue,
chakra
} from '@chakra-ui/react'
import { ChevronRightIcon } from '@chakra-ui/icons'
import { ChevronRightIcon, EmailIcon } from '@chakra-ui/icons'
import Paragraph from '../components/paragraph'
import { BioSection, BioYear } from '../components/bio'
import Layout from '../components/layouts/article'
Expand Down Expand Up @@ -222,15 +222,23 @@ const Home = () => (
</GridItem>
</SimpleGrid>

<Heading as="h3" variant="section-title">
Newsletter
</Heading>
<p>
Join me on a behind-the-scenes coding journey. Weekly updates on
projects, tutorials, and videos
</p>

<Box align="center" my={4}>
<Button
as={NextLink}
href="/posts"
href="https://www.devas.life/"
scroll={false}
rightIcon={<ChevronRightIcon />}
leftIcon={<EmailIcon />}
colorScheme="teal"
>
Popular posts
Sign up my newsletter here
</Button>
</Box>
</Section>
Expand Down

0 comments on commit 2ac6082

Please sign in to comment.