|
1 | | -import { useRef, useEffect, useState } from 'react'; |
2 | 1 | import Bracket from '../components/Bracket'; |
3 | 2 | import Stick from '../components/Stick'; |
4 | 3 | import TwoColumn from '../components/TwoColumn'; |
5 | 4 | import CardsColumns from '../components/CardsColumns'; |
6 | 5 | import styles from '../styles/Home.module.scss'; |
7 | 6 | import { white, primary } from '../styles/TwoColumn.module.scss'; |
| 7 | +import RevealContentContainer from '../components/RevealContentContainer'; |
8 | 8 |
|
9 | 9 | export default function Home() { |
10 | | - const aboutIsVisible = true; //temp |
11 | | - |
12 | 10 | return ( |
13 | 11 | <> |
14 | | - <TwoColumn |
15 | | - title="Let's grow together." |
16 | | - image="/images/join-us.jpg" |
17 | | - content="The Web Dev Path is a team of professional developers project that aims to provide a comprehensive path for people who seek to begin their web development journey." |
18 | | - link="/about" |
19 | | - customBtnClass="inverted-grey" |
20 | | - /> |
21 | | - <Bracket className={styles.bracket} /> |
| 12 | + <RevealContentContainer> |
| 13 | + <TwoColumn |
| 14 | + title="Let's grow together." |
| 15 | + image="/images/join-us.jpg" |
| 16 | + content="The Web Dev Path is a team of professional developers project that aims to provide a comprehensive path for people who seek to begin their web development journey." |
| 17 | + link="/about" |
| 18 | + customBtnClass="inverted-grey" |
| 19 | + /> |
| 20 | + </RevealContentContainer> |
22 | 21 |
|
23 | | - <TwoColumn |
24 | | - title="Get involved." |
25 | | - content="Web Dev Path runs on volunteers. Here are the ways you can get involved with us:" |
26 | | - rowOrder="row-reverse" |
27 | | - customInnerClass="get-involved" |
28 | | - bgColor={white} |
29 | | - /> |
| 22 | + <RevealContentContainer> |
| 23 | + <Bracket className={styles.bracket} /> |
| 24 | + <TwoColumn |
| 25 | + title="Get involved." |
| 26 | + content="Web Dev Path runs on volunteers. Here are the ways you can get involved with us:" |
| 27 | + rowOrder="row-reverse" |
| 28 | + customInnerClass="get-involved" |
| 29 | + bgColor={white} |
| 30 | + /> |
| 31 | + </RevealContentContainer> |
30 | 32 |
|
31 | | - <CardsColumns |
32 | | - titles={['Join us', 'Volunteer', 'Become a mentor']} |
33 | | - images={[ |
34 | | - '/images/join-us.jpg', |
35 | | - '/images/volunteer.jpg', |
36 | | - '/images/mentor.jpg', |
37 | | - ]} |
38 | | - altTags={['Join us', 'Volunteer', 'Become a mentor']} |
39 | | - content={[ |
40 | | - 'Are you learning web development and need mentorship? Are you a web dev looking for help or a code buddy for a project? ', |
41 | | - 'Would you like to volunteer? For roles other than mentor/mentee, please get in touch.', |
42 | | - 'Are you an experienced web dev who wants to become a mentor? Welcome!', |
43 | | - ]} |
44 | | - links={['/about', '/contact', '/about']} |
45 | | - linkText={['Learn more', 'Contact us', 'Learn more']} |
46 | | - /> |
| 33 | + <RevealContentContainer> |
| 34 | + <CardsColumns |
| 35 | + titles={['Join us', 'Volunteer', 'Become a mentor']} |
| 36 | + images={[ |
| 37 | + '/images/join-us.jpg', |
| 38 | + '/images/volunteer.jpg', |
| 39 | + '/images/mentor.jpg', |
| 40 | + ]} |
| 41 | + altTags={['Join us', 'Volunteer', 'Become a mentor']} |
| 42 | + content={[ |
| 43 | + 'Are you learning web development and need mentorship? Are you a web dev looking for help or a code buddy for a project? ', |
| 44 | + 'Would you like to volunteer? For roles other than mentor/mentee, please get in touch.', |
| 45 | + 'Are you an experienced web dev who wants to become a mentor? Welcome!', |
| 46 | + ]} |
| 47 | + links={['/about', '/contact', '/about']} |
| 48 | + linkText={['Learn more', 'Contact us', 'Learn more']} |
| 49 | + /> |
| 50 | + </RevealContentContainer> |
47 | 51 |
|
48 | | - <Stick className={styles.stick} /> |
| 52 | + <RevealContentContainer> |
| 53 | + <Stick className={styles.stick} /> |
49 | 54 |
|
50 | | - <TwoColumn |
51 | | - title="Nonprofit?" |
52 | | - content="Web Dev Path can help your nonprofit with web projects of various sizes. Connect with us to find out how." |
53 | | - color={white} |
54 | | - bgColor={primary} |
55 | | - link="/about" |
56 | | - customInnerClass="non-profit" |
57 | | - customBtnClass="inverted-white" |
58 | | - /> |
| 55 | + <TwoColumn |
| 56 | + title="Nonprofit?" |
| 57 | + content="Web Dev Path can help your nonprofit with web projects of various sizes. Connect with us to find out how." |
| 58 | + color={white} |
| 59 | + bgColor={primary} |
| 60 | + link="/about" |
| 61 | + customInnerClass="non-profit" |
| 62 | + customBtnClass="inverted-white" |
| 63 | + /> |
| 64 | + </RevealContentContainer> |
59 | 65 | </> |
60 | 66 | ); |
61 | 67 | } |
0 commit comments