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

Commit

Permalink
feat: add CTA in hero section
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinusnathaniel committed Nov 29, 2023
1 parent 9cc0cdd commit c852c0d
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions src/lib/pages/home/HeroSection.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
import { Box, Heading, Text } from '@chakra-ui/react';
import { Button, Flex, Grid, Heading, Text } from '@chakra-ui/react';
import Link from 'next/link';

const HeroSection = () => {
return (
<Box height="90vh" alignItems="center" display="grid">
<Box
<Grid height="90vh" alignItems="center">
<Flex
flexDirection="column"
verticalAlign="center"
gap={2}
width={['100%', '80%', '60%']}
marginTop={[8, 0]}
alignSelf={['none', 'center']}
>
<Heading as="h1" size="xl" paddingBottom={11}>
<Heading as="h1" size="xl">
Hello! I&apos;m Nathan.
</Heading>
<Text fontSize={{ base: 'md', md: 'xl' }}>
Digital Crafter passionate in building user-centric solutions.
</Text>
</Box>
</Box>
<Flex alignItems="center" gap={2}>
<Button as={Link} href="/projects">
Projects
</Button>
<Button as={Link} href="/about">
About Me
</Button>
</Flex>
</Flex>
</Grid>
);
};

Expand Down

1 comment on commit c852c0d

@vercel
Copy link

@vercel vercel bot commented on c852c0d Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.