Skip to content

Commit fb57873

Browse files
committed
Updated prop name of TwoColumn on the main and blog pages
1 parent cb905d0 commit fb57873

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

components/blog/BlogPostContainer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const BlogPostContainer = ({ post, relatedPosts, latestPosts }) => {
3333
$contentType='questions'
3434
link='/contact'
3535
linkText='Contact us'
36-
$btnColorScheme='inverted-grey'
36+
customBtnClass='inverted-grey'
3737
/>
3838
</RevealContentContainer>
3939
</>

pages/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import RevealContentContainer from '@/components/containers/RevealContentContain
55
import { useTheme } from 'styled-components';
66

77
export default function Home() {
8-
98
const theme = useTheme();
109
return (
1110
<>
@@ -16,7 +15,7 @@ export default function Home() {
1615
altTag='Join the project'
1716
content='Web Dev Path is an open-source initiative that provides hands-on experience in a simulated professional environment to people who seek to begin or move forward in their web development journey.'
1817
link='/about'
19-
$btnColorScheme='inverted-grey'
18+
customBtnClass='inverted-grey'
2019
bgColor={theme.colors.lightBg}
2120
/>
2221
</RevealContentContainer>
@@ -76,7 +75,7 @@ export default function Home() {
7675
bgColor={theme.colors.primaryContent}
7776
link='/about'
7877
$contentType='non-profit'
79-
$btnColorScheme='inverted-white'
78+
customBtnClass='inverted-white'
8079
/>
8180
</RevealContentContainer>
8281
</>

0 commit comments

Comments
 (0)