Skip to content

Commit f3c30cd

Browse files
authored
feat: Recreated the 'Code Differently' homepage for Chelsea (#567)
* feat: recreated 'Code Differently' website layout and sections * Merge branch 'code-differently:main' into lesson_22 * Merge branch 'code-differently:main' into lesson_22 * Merge branch 'code-differently:main' into lesson_22 * Merge branch 'code-differently:main' into lesson_22 * Merge branch 'code-differently:main' into lesson_22
1 parent 200149b commit f3c30cd

File tree

4 files changed

+322
-0
lines changed

4 files changed

+322
-0
lines changed

lesson_22/chelseaogobonnia/hero.jpg

329 KB
Loading

lesson_22/chelseaogobonnia/index.html

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<html>
2+
<head>
3+
<title>Homepage</title>
4+
<meta name="viewport" content="width=device-width, initial-scale=1" />
5+
<link rel="stylesheet" id="redux-google-fonts-salient_redux-css" href="https://fonts.googleapis.com/css?family=Poppins%3A600%2C400%7CMontserrat%3A800%2C900%2C700&amp;ver=1597678827" type="text/css" media="all">
6+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Poppins%3A600%2C400%7CMontserrat%3A800%2C900%2C700&#038;ver=1597678827' type='text/css' media='all' />
7+
<link rel="stylesheet" type="text/css" href="style.css">
8+
</head>
9+
<body>
10+
<header class="header">
11+
<div class="header-logo">
12+
<a href="index.html">
13+
<img src="logo.png" alt="Code Differently Logo" />
14+
</a>
15+
</div>
16+
<ul class="header-top-menu">
17+
<li><a href="#">Home</a></li>
18+
<li><a href="#">About</a></li>
19+
<li><a href="#">Contact</a></li>
20+
</ul>
21+
<div class="header-cta">
22+
<a class="sign-up-button" href="#">Sign Up</a>
23+
</div>
24+
</header>
25+
<div class="main">
26+
<div class="content">
27+
<article>
28+
<section class="hero-section">
29+
<div class="hero-overlay"></div>
30+
<div class="hero-content">
31+
<h2 class="hero-title">Together we can move the needle of <em class="highlight">diversity in tech.</em></h2>
32+
<div class="hero-text"><span>Code Differently</span> provides hands on training and education through coding classes that gives participants the technical and cognitive skills they need to excel in technology-driven workplaces.</div>
33+
</div>
34+
</section>
35+
<section class="programs-section">
36+
<h2>Our <em class="highlight">Programs</em></h2>
37+
<ul class="programs">
38+
<li class="program">
39+
<h3>1000 Kids Coding</h3>
40+
<p>The Code Differently 1000 Kids Coding program was created to expose New Castle County students to computing and programming. The 1000 Kids Coding courses are designed for all experience levels, no experience required.</p>
41+
</li>
42+
<li class="program">
43+
<h3>Return Ready</h3>
44+
<p>The Code Differently Workforce Training Initiatives were created to help individuals underrepresented in tech reinvent their skills to align with the changing workforce market. If you are ready to start your tech journey, join our talent community today.</p>
45+
</li>
46+
<li class="program">
47+
<h3>Pipeline DevShops</h3>
48+
<p>Pipeline DevShop is a youth work-based learning program. Youth participants experience working in a real software development environment while sharpening their technology and soft skills.</p>
49+
</li>
50+
<li class="program">
51+
<h3>Platform Programs</h3>
52+
<p>Platform programs are designed for high school graduates, college students, career changers, or professionals looking to develop the technology job readiness skills for today’s workforce.</p>
53+
</li>
54+
</ul>
55+
</section>
56+
</article>
57+
</div>
58+
</div>
59+
<footer class="footer">
60+
&copy; 2024 Code Differently
61+
</footer>
62+
</body>
63+
</html>

lesson_22/chelseaogobonnia/logo.png

29.2 KB
Loading

lesson_22/chelseaogobonnia/style.css

Lines changed: 259 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,259 @@
1+
body {
2+
font-family: 'Poppins', sans-serif;
3+
margin: 0;
4+
padding: 0;
5+
}
6+
7+
header {
8+
font-family: 'Poppins', sans-serif;
9+
background-color: #fff;
10+
padding: 10px 20px;
11+
display: flex;
12+
justify-content: space-between;
13+
align-items: center;
14+
width: 100%;
15+
flex-wrap: nowrap;
16+
overflow-x: hidden;
17+
}
18+
19+
/* Logo - align to the left */
20+
.header-logo {
21+
display: flex;
22+
align-items: center;
23+
}
24+
25+
.header-logo img {
26+
height: 50px;
27+
width: auto;
28+
}
29+
30+
/* Menu - center items */
31+
.header-top-menu {
32+
display: flex;
33+
justify-content: center;
34+
align-items: center;
35+
list-style-type: none;
36+
margin: 0;
37+
padding: 0;
38+
}
39+
40+
/* Menu items */
41+
.header-top-menu li {
42+
margin: 0 15px;
43+
}
44+
45+
.header-top-menu li a {
46+
font-size: 18px;
47+
text-decoration: none;
48+
color: #333;
49+
padding: 5px 10px;
50+
transition: color 0.3s ease;
51+
}
52+
53+
.header-top-menu li a:hover {
54+
color: #007bff;
55+
}
56+
57+
/* Align the 'Contact Us' link to the right */
58+
.header-top-menu li:last-child {
59+
margin-left: auto;
60+
}
61+
62+
/* Call-to-action button - Sign Up */
63+
.header-cta {
64+
text-align: center;
65+
margin-top: 10px;
66+
margin-left: auto;
67+
}
68+
69+
.sign-up-button {
70+
background-color: #ff7f00;
71+
color: #fff;
72+
padding: 12px 30px;
73+
text-decoration: none;
74+
font-size: 16px;
75+
border-radius: 5px;
76+
transition: background-color 0.3s ease;
77+
display: inline-block;
78+
}
79+
80+
.sign-up-button:hover {
81+
background-color: #ffa500;
82+
}
83+
84+
/* Hero Section Styles */
85+
.hero-section {
86+
position: relative;
87+
background-image: url('hero.jpg');
88+
background-size: cover;
89+
background-position: center;
90+
padding: 100px 0 100px 0;
91+
color: rgb(238, 238, 238);
92+
text-align: left;
93+
margin-left: 0;
94+
}
95+
96+
.hero-overlay {
97+
position: absolute;
98+
top: 0;
99+
left: 0;
100+
right: 0;
101+
bottom: 0;
102+
background: rgba(0, 0, 0, 0.5);
103+
z-index: 1;
104+
}
105+
106+
.hero-content {
107+
position: relative;
108+
z-index: 2;
109+
padding-left: 0;
110+
color: rgb(238, 238, 238);
111+
width: 100%;
112+
}
113+
114+
.hero-title {
115+
font-size: 48px;
116+
line-height: 1.4;
117+
margin-bottom: 0;
118+
}
119+
120+
/* Create a thick orange box (like an underline) behind 'diversity in tech' */
121+
.hero-title .highlight {
122+
display: inline-block;
123+
color: rgb(238, 238, 238);
124+
position: relative;
125+
padding-bottom: 6px;
126+
z-index: 2;
127+
font-style: normal;
128+
width: 40%;
129+
max-width: 40%;
130+
}
131+
132+
.hero-title .highlight::after {
133+
content: '';
134+
position: absolute;
135+
bottom: 0;
136+
left: 0;
137+
width: 100%;
138+
height: 16px;
139+
background-color: #ff7f00;
140+
z-index: 1;
141+
width: 70%;
142+
max-width: 70%;
143+
}
144+
145+
/* Adjusting the blue rectangle to the new color and full width */
146+
.hero-text {
147+
background-color: rgba(36,62,144);
148+
color: rgb(238, 238, 238);
149+
padding: 20px 40px;
150+
width: 70%;
151+
max-width: 70%;
152+
margin-top: 20px;
153+
text-align: left;
154+
box-sizing: border-box;
155+
}
156+
157+
.hero-text span {
158+
color: #ff7f00;
159+
font-weight: bold;
160+
}
161+
162+
.hero-section h2, .hero-section .hero-text {
163+
margin-bottom: 20px;
164+
margin-left: 0;
165+
padding-left: 0;
166+
}
167+
168+
/* Programs Section */
169+
.programs-section {
170+
padding: 50px 20px;
171+
background-color: #fff;
172+
max-width: 1200px;
173+
margin: 0 auto;
174+
}
175+
176+
.programs-section h2 {
177+
font-size: 36px;
178+
line-height: 1.4;
179+
color: rgb(68, 68, 68);
180+
margin-bottom: 30px;
181+
text-align: left;
182+
}
183+
184+
.programs-section h2 .highlight {
185+
display: inline-block;
186+
position: relative;
187+
padding-bottom: 6px;
188+
font-style: normal;
189+
color: rgb(68, 68, 68);
190+
}
191+
192+
.programs-section h2 .highlight::after {
193+
content: '';
194+
position: absolute;
195+
bottom: 0;
196+
left: 0;
197+
width: 100%;
198+
height: 8px;
199+
background-color: #ff7f00;
200+
}
201+
202+
/* Programs List Layout */
203+
.programs {
204+
display: grid;
205+
grid-template-columns: repeat(2, 1fr);
206+
gap: 30px;
207+
list-style: none;
208+
margin: 0;
209+
padding: 0;
210+
align-items: stretch;
211+
}
212+
213+
.program {
214+
padding: 20px;
215+
border-radius: 10px;
216+
min-height: 00px;
217+
}
218+
219+
.program h3 {
220+
font-size: 24px;
221+
color: #444;
222+
margin-bottom: 10px;
223+
}
224+
225+
.program p {
226+
color: #676767;
227+
font-size: 16px;
228+
line-height: 1.6;
229+
}
230+
231+
.program + .program {
232+
margin-top: 30px;
233+
}
234+
235+
/* Add more space around the program grid */
236+
.programs-container {
237+
padding: 30px;
238+
border-radius: 10px;
239+
}
240+
241+
/* Footer Styles */
242+
.footer {
243+
color: #000000;
244+
text-align: center;
245+
padding: 20px 0;
246+
font-size: 16px;
247+
position: relative;
248+
z-index: 10;
249+
}
250+
251+
/* Footer link styling (if I plan to add links later) */
252+
.footer a {
253+
color: #CCCCCC;
254+
text-decoration: none;
255+
}
256+
257+
.footer a:hover {
258+
color: #FF7F00;
259+
}

0 commit comments

Comments
 (0)