Skip to content

Commit

Permalink
Implement HeroSection for landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
kpyszkowski committed Apr 16, 2024
1 parent cde70d9 commit 0db46c1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions dapp/src/pages/LandingPage/HeroSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React from "react"
import { Button, Heading, VStack, Text } from "@chakra-ui/react"

function HeroSection() {
return (
<VStack spacing={0} mt={13} mb={20}>
<Heading fontSize="6xl" mb={2} fontWeight="semibold">
Bitcoin staking done right.
</Heading>
<Text fontSize="xl" lineHeight={7} mb={10} fontWeight="medium">
The open source, decentralized way to grow your bitcoin
</Text>
<Button size="lg" px={7} fontWeight="bold" lineHeight={6} h="auto">
Deposit BTC
</Button>
</VStack>
)
}

export default HeroSection
11 changes: 11 additions & 0 deletions dapp/src/pages/LandingPage/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from "react"
import { Flex } from "@chakra-ui/react"
import HeroSection from "./HeroSection"

export default function LandingPage() {
return (
<Flex w="full" flexFlow="column" px={10}>
<HeroSection />
</Flex>
)
}

0 comments on commit 0db46c1

Please sign in to comment.