Skip to content

Commit 048a6aa

Browse files
committed
about page
1 parent 94f83d2 commit 048a6aa

File tree

7 files changed

+917
-29
lines changed

7 files changed

+917
-29
lines changed

_layouts/default.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,40 @@
1818
logTopSecretMessage("Don't worry, our site isn't collecting any data about you, or anything, really. Pinky promise.");
1919
logTopSecretMessage("You look like somebody who likes web programming and hacking. Why not join our dev team? Check out https://teachla.uclaacm.com/dev");
2020
</script>
21+
<div>
22+
<!-- check if content is from home page -->
23+
{% if page.url == "/" %}
24+
<!-- fix this later! -->
25+
<div class = "landing-top">
26+
<!-- <img class = "img-responsive img-push-down img-curved img-push-up" src="{{site.baseurl}}/img/landing-illustration.svg" alt="illustration" /> -->
27+
<div class="container container-fill {% if layout.fw or page.fw %}{% else %}container-restricted{% endif %}">
28+
29+
<div class="row-desktop row-desktop-ratio-1-1">
30+
<div class="col-padded v-center-children">
31+
<h1 class="title page-title">ACM <span class="text-teachla">Teach LA</span></h1>
32+
<h2 class="title tla-descrip">making coding
33+
<span class="vertical-slide">
34+
<span>accessible.</span>
35+
<span>fun.</span>
36+
<span>empowering.</span>
37+
<span>approachable.</span>
38+
<span>easy.</span>
39+
</span>
40+
</h2>
41+
<p>
42+
ACM Teach LA pairs UCLA students with schools in Los Angeles to provide free computer science classes. Our goal is to empower all students with the ability to code, and use it to make a difference.
43+
</p>
44+
<div class="button-container">
45+
<a class="button" href="{{site.baseurl}}/join"><span class="fa fa-fw fa-school"></span> Let's Work Together!</a>
46+
<a class="button button-dark" href="{{site.baseurl}}/about"><span class="fa fa-book"></span> Learn More</a>
47+
</div>
48+
</div>
49+
</div>
50+
</div>
51+
52+
</div>
53+
{% endif %}
54+
</div>
2155
<div class="container container-fill {% if layout.fw or page.fw %}{% else %}container-restricted{% endif %}">
2256
{{ content }}
2357
</div>

_sass/_basic.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ ul > li {
5858

5959
.container-restricted {
6060
margin: auto;
61-
width: 1213px;
61+
// width: 80vw;
62+
width: 1400px;
6263
// enforces a not-too-wide text viewport
6364
max-width: 100vw;
6465
@media (min-width: $desktop-width) {
@@ -367,3 +368,14 @@ ul > li {
367368
border: 2px solid #5eda12;
368369
border-radius: 10px;
369370
}
371+
372+
.landing-top{
373+
374+
background-image: url("../img/landing-illustration.svg");
375+
background-size: cover;
376+
background-repeat: no-repeat;
377+
height: 100vh; /* Adjust this value based on the aspect ratio of the background image */
378+
margin: 0;
379+
padding: 20vh 0;
380+
// background-size: 100vw 100%;
381+
}

_sass/_navbar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#navbar-inner {
1414
width: 100%;
1515
margin: auto;
16-
max-width: 1000px;
16+
max-width: 1400px;
1717
}
1818

1919
.nav-section.left {

about.html

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,33 @@
44
permalink: "/about"
55
---
66

7-
<h1 class="title page-title">About Us</h1>
8-
<img class="img-responsive" src="{{site.baseurl}}/img/day-of-code-wall-cropped.jpg" alt="Students after a successful Day of Code event!" />
7+
8+
<!-- <img class="img-responsive" src="{{site.baseurl}}/img/day-of-code-wall-cropped.jpg" alt="Students after a successful Day of Code event!" /> -->
9+
<div class="row-desktop row-desktop-ratio-1-1">
10+
<div class="col-padded v-center-children">
11+
<h1 class="title page-title">About Us</h1>
12+
<p>
13+
Here is a comprehensive list of all of the classes that ACM Teach LA provides! You can find more information about what the class is about, its learning goals, and its curiculm. Part of our mission is making you education truly accessible, and that involves open-sourcing as much information as possible: everything out instructors have, you’ll find here.
14+
</p>
15+
<div class="button-container">
16+
17+
<a class="icon" href="https://www.facebook.com/acmteachla" target="_blank" rel="noopener noreferrer">
18+
<span class="fab fa-facebook" aria-label="Facebook Logo & Link"></span>
19+
</a>
20+
<a class="icon" href="https://github.com/uclaacm/teach-la-website" target="_blank" rel="noopener noreferrer">
21+
<span class="fab fa-github" aria-label="GitHub Logo & Repository"></span>
22+
</a>
23+
<a class="icon" href="https://www.linkedin.com/company/acm-teach-la-acm-ucla" target="_blank" rel="noopener noreferrer">
24+
<span class="fab fa-linkedin" aria-label="LinkedIn Logo & Link"></span>
25+
</a>
26+
27+
</div>
28+
</div>
29+
<div class="col-padded v-center-children">
30+
<img class = 'img-responsive' src = "{{site.baseurl}}/img/about_graphic.png" alt = "about us"/>
31+
</div>
32+
</div>
33+
934

1035
<h2 class="title">Our Mission</h2>
1136
<p>

img/about_graphic.png

27.3 KB
Loading

0 commit comments

Comments
 (0)