Skip to content

Commit 31cb5e6

Browse files
authored
open dev resources 23T2 Wk1-3 (#240)
1 parent 634a738 commit 31cb5e6

File tree

5 files changed

+5663
-9
lines changed

5 files changed

+5663
-9
lines changed

components/Flex.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ export const Flex = styled('div', {
5050
},
5151
between: {
5252
justifyContent: 'space-between'
53+
},
54+
around: {
55+
justifyContent: 'space-around'
5356
}
5457
},
5558
wrap: {

pages/opendev/index.tsx

Lines changed: 66 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { Button } from 'components/Button'
1212
import { ArrowSquareOut } from 'phosphor-react'
1313
import { styled } from '@stitches/react'
1414
import { constants } from 'os'
15+
import Centerer from 'components/Centerer'
1516

1617
const DisabledExternLink = styled(Flex, {
1718
display: 'flex',
@@ -32,6 +33,14 @@ const EnabledExternLink = styled(Flex, {
3233
paddingBottom: '$2'
3334
})
3435

36+
const LinksContainer = styled(Flex, {
37+
width: '60%',
38+
maxWidth: '600px',
39+
margin: '0 auto',
40+
justifyContent: 'space-between',
41+
}
42+
)
43+
3544
const OpenDevTwo: NextPage = () => {
3645
return (
3746
<ArticleLayout>
@@ -73,9 +82,10 @@ const OpenDevTwo: NextPage = () => {
7382
form a complete set of skills to allow you to build your own
7483
projects.
7584
</p>
76-
<p>Scroll down to see the full schedule. See you soon!</p>
85+
<p>Scroll down to see the slides, code and exercises for all weeks!</p>
7786
</Text>
7887
</Box>
88+
7989
<Text
8090
size="headline"
8191
css={{
@@ -84,15 +94,62 @@ const OpenDevTwo: NextPage = () => {
8494
padding: '$2',
8595
alignSelf: 'center',
8696
marginTop: '1rem',
87-
}}>
88-
Resources
89-
</Text>
90-
<Text size="info"><p>The workshop slides for Week 1 can be found here:&nbsp;
91-
<a href="https://www.canva.com/design/DAFLpV21DLY/5GP43_9-0QocXmk7aNAurw/view?utm_content=DAFLpV21DLY&utm_campaign=designshare&utm_medium=link&utm_source=viewer" target="_blank">
92-
Week 1 Workshop Slides</a>
93-
</p></Text>
97+
}}>Week 1</Text>
98+
<LinksContainer justify="around">
99+
<a href="https://www.canva.com/design/DAFLpV21DLY/5GP43_9-0QocXmk7aNAurw/view?utm_content=DAFLpV21DLY&utm_campaign=designshare&utm_medium=link&utm_source=viewer" target="_blank">Slides</a>
100+
<a href="https://codepen.io/xylo274/pen/jOQrQQE" target="_blank">Code</a>
101+
<a href="https://www.notion.so/CSESoc-Open-Dev-HTML-CSS-JavaScript-Exercises-7085baebc47e49a0b1710212eebf4b30" target="_blank">Exercises</a>
102+
</LinksContainer>
94103
<a href="https://www.canva.com/design/DAFLpV21DLY/5GP43_9-0QocXmk7aNAurw/view?utm_content=DAFLpV21DLY&utm_campaign=designshare&utm_medium=link&utm_source=viewer" target="_blank">
95-
<Image src="/images/opendev/opendev-23t2-wk1-cover-slide.png" alt="Week 1" width="800" height="450" />
104+
<Centerer>
105+
<Image src="/images/opendev/opendev-23t2-wk1-cover-slide.png" alt="Week 1 Slides" width="480" height="270" />
106+
107+
</Centerer>
108+
</a>
109+
110+
<Text
111+
size="headline"
112+
css={{
113+
color: '$slate12',
114+
fontWeight: '600',
115+
padding: '$2',
116+
alignSelf: 'center',
117+
marginTop: '1rem',
118+
}}>Week 2</Text>
119+
<LinksContainer justify="around">
120+
<a href="https://www.canva.com/design/DAFj64DPw5g/-h9rLyCEeLi3QzZgVpQFrQ/view?utm_content=DAFj64DPw5g&utm_campaign=designshare&utm_medium=link&utm_source=publishsharelink" target="_blank">Slides</a>
121+
<a href="https://codepen.io/parvyyy/pen/qBJgxwK" target="_blank">Javascript Code</a>
122+
<a href="https://github.com/BinaryGamer/open-dev/tree/main/WEEK2" target="_blank">ReactJS Code</a>
123+
</LinksContainer>
124+
<Text as='body' css={{
125+
marginTop: '1rem',
126+
fontSize: '0.8rem',
127+
textAlign: 'center',
128+
}}>No exercises for week 2</Text>
129+
<a href="https://www.canva.com/design/DAFj64DPw5g/-h9rLyCEeLi3QzZgVpQFrQ/view?utm_content=DAFj64DPw5g&utm_campaign=designshare&utm_medium=link&utm_source=viewer" target="_blank">
130+
<Centerer>
131+
<Image src="/images/opendev/opendev-23t2-wk2-cover-slide.png" alt="Week 2 Slides" width="480" height="270" />
132+
</Centerer>
133+
</a>
134+
135+
<Text
136+
size="headline"
137+
css={{
138+
color: '$slate12',
139+
fontWeight: '600',
140+
padding: '$2',
141+
alignSelf: 'center',
142+
marginTop: '1rem',
143+
}}>Week 3</Text>
144+
<LinksContainer justify="around">
145+
<a href="https://www.canva.com/design/DAFlvj_OQsE/jVRyWqpHGUuW7rdlkBYJyA/view?utm_content=DAFlvj_OQsE&utm_campaign=designshare&utm_medium=link&utm_source=publishsharelink" target="_blank">Slides</a>
146+
<a href="https://github.com/BinaryGamer/open-dev/tree/main/WEEK3" target="_blank">Code</a>
147+
<a href="https://terrie.notion.site/Intro-to-React-Part-1-Exercises-f960c27b17b94115b87c50bdfc4bbb3b" target="_blank">Exercise</a>
148+
</LinksContainer>
149+
<a href="https://www.canva.com/design/DAFlvj_OQsE/jVRyWqpHGUuW7rdlkBYJyA/view?utm_content=DAFlvj_OQsE&utm_campaign=designshare&utm_medium=link&utm_source=viewer" target="_blank">
150+
<Centerer>
151+
<Image src="/images/opendev/opendev-23t2-wk3-cover-slide.png" alt="Week 3 Slides" width="480" height="270" />
152+
</Centerer>
96153
</a>
97154
<Text
98155
size="headline"
Loading
Loading

0 commit comments

Comments
 (0)