File tree Expand file tree Collapse file tree 5 files changed +47
-9
lines changed Expand file tree Collapse file tree 5 files changed +47
-9
lines changed Original file line number Diff line number Diff line change 1
- export default function YellowBracket ( props ) {
1
+ export default function Bracket ( props ) {
2
2
const { className, fill = '#FFCC4C' } = props ;
3
3
4
4
return (
Original file line number Diff line number Diff line change 1
- export default function BlueStick ( props ) {
1
+ export default function Stick ( props ) {
2
2
const { className, fill = '#19AAD1' } = props ;
3
3
4
4
return (
Original file line number Diff line number Diff line change @@ -38,13 +38,15 @@ export default function TwoColumn(props) {
38
38
{ title }
39
39
</ h2 >
40
40
< p className = { styles . content } > { content } </ p >
41
- < ButtonLink
42
- link = { link }
43
- className = { buttonStyles . btn }
44
- styles = { styleProps . btn }
45
- >
46
- { linkText }
47
- </ ButtonLink >
41
+ { link && (
42
+ < ButtonLink
43
+ link = { link }
44
+ className = { buttonStyles . btn }
45
+ styles = { styleProps . btn }
46
+ >
47
+ { linkText }
48
+ </ ButtonLink >
49
+ ) }
48
50
</ div >
49
51
{ image && (
50
52
< div className = { styles . inner__image } >
Original file line number Diff line number Diff line change 1
1
import Link from 'next/link' ;
2
+ import Bracket from '../components/Bracket' ;
3
+ import Stick from '../components/Stick' ;
2
4
import TwoColumn from '../components/TwoColumn' ;
3
5
import styles from '../styles/Home.module.scss' ;
4
6
import { white , primary } from '../styles/TwoColumn.module.scss' ;
@@ -22,6 +24,18 @@ export default function Home() {
22
24
link = "/about-us"
23
25
/>
24
26
27
+ < Bracket className = { styles . bracket } />
28
+
29
+ < TwoColumn
30
+ title = "Get involved."
31
+ content = "Web Dev Path runs on volunteers. Here are the ways you can get involved with us:"
32
+ rowOrder = "row-reverse"
33
+ color = { primary }
34
+ bgColor = { white }
35
+ />
36
+
37
+ < Stick className = { styles . stick } />
38
+
25
39
< TwoColumn
26
40
title = "Nonprofit?"
27
41
content = "Web Dev Path can help your nonprofit with web projects of various sizes. Connect with us to find out how."
Original file line number Diff line number Diff line change @@ -105,6 +105,28 @@ hr {
105
105
.title {
106
106
font-size : 4rem ;
107
107
}
108
+
109
+ .bracket {
110
+ left : 0 ;
111
+ position : absolute ;
112
+ transform : translate (20rem , -5rem );
113
+ }
114
+
115
+ .stick {
116
+ right : 0 ;
117
+ position : absolute ;
118
+ transform : translate (-20rem , -5rem );
119
+ }
120
+ }
121
+
122
+ @media (max-width : $desktop-breakpoint ) {
123
+ .bracket {
124
+ display : none ;
125
+ }
126
+
127
+ .stick {
128
+ display : none ;
129
+ }
108
130
}
109
131
110
132
@media (max-width : $tablet-breakpoint ) {
You can’t perform that action at this time.
0 commit comments