Skip to content

Commit 6f0d2d0

Browse files
Adding lightblue background to getstarted
1 parent 69d5764 commit 6f0d2d0

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/components/features.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const Features = () => {
1818
return (
1919
<Box id={'features'} as='section'>
2020
<Container maxW='container.lg' pt={0} centerContent>
21-
<Heading as='h1' size='2xl'>
21+
<Heading as='h1' size='2xl' mt={6}>
2222
Key Features & Capabilities
2323
</Heading>
2424
<Text fontSize={'lg'}>

src/components/getstarted.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ export const GetStarted = () => {
140140
const isHtmlFigure = (src) => src?.toLowerCase().endsWith('.html')
141141

142142
return (
143-
<Box id={'getstarted'} as='section'>
143+
<Box id={'getstarted'} as='section' bg='blue.50' mb={6}>
144144
<Container maxW='container.lg' centerContent>
145-
<Heading as='h1' size='2xl'>
145+
<Heading as='h1' size='2xl' mt={6}>
146146
Get started as
147147
</Heading>
148148

@@ -162,7 +162,7 @@ export const GetStarted = () => {
162162
borderRadius='md'
163163
width='100%'
164164
height='64px'
165-
fontSize='2xl'
165+
fontSize={{ base: 'lg', sm: 'xl', md: '2xl' }}
166166
fontWeight='bold'
167167
onClick={() => handleTabClick(index)}
168168
display='flex'

src/components/hero-banner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Image, Link } from '@/components/mdx'
55
export const HeroBanner = () => {
66
return (
77
<Box id='header' as='section'>
8-
<Container maxW='container.lg' pt={24} centerContent>
8+
<Container maxW='container.lg' pt={24} centerContent mb={6}>
99
<Stack
1010
align={'center'}
1111
spacing={{ base: 8, md: 10 }}

src/components/mdx/heading.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Box, Heading as ChakraHeading } from '@chakra-ui/react'
22

3-
export const Heading = (props) => (
3+
export const Heading = ({ children, ...props }) => (
44
<ChakraHeading
55
css={{
66
scrollMarginTop: '100px',
@@ -17,12 +17,12 @@ export const Heading = (props) => (
1717
},
1818
'&[id]:hover a': { opacity: 1 },
1919
}}
20-
{...props}
2120
mb='1em'
2221
mt='2em'
22+
{...props}
2323
>
2424
<Box pointerEvents='auto'>
25-
{props.children}
25+
{children}
2626
{props.id && (
2727
<Box
2828
aria-label='anchor'

0 commit comments

Comments
 (0)