Skip to content

Commit 3311ca9

Browse files
authored
Merge branch 'develop' into GalleryToNavbar_BH-49
2 parents 7cbb42c + 1bfad79 commit 3311ca9

13 files changed

Lines changed: 143 additions & 93 deletions

File tree

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ GEM
5757
simplecov (>= 0.7.1, < 1.0.0)
5858
coderay (1.1.2)
5959
concurrent-ruby (1.1.5)
60-
crass (1.0.4)
60+
crass (1.0.5)
6161
debug_inspector (0.0.3)
6262
docile (1.3.1)
6363
dotenv (2.7.2)
@@ -99,7 +99,7 @@ GEM
9999
rb-fsevent (~> 0.9, >= 0.9.4)
100100
rb-inotify (~> 0.9, >= 0.9.7)
101101
ruby_dep (~> 1.2)
102-
loofah (2.2.3)
102+
loofah (2.3.1)
103103
crass (~> 1.0.2)
104104
nokogiri (>= 1.5.9)
105105
lumberjack (1.0.13)
@@ -125,7 +125,7 @@ GEM
125125
multi_xml (0.6.0)
126126
nenv (0.3.0)
127127
nio4r (2.3.1)
128-
nokogiri (1.10.3)
128+
nokogiri (1.10.5)
129129
mini_portile2 (~> 2.4.0)
130130
notiffany (0.1.1)
131131
nenv (~> 0.1)

app/assets/stylesheets/home/layout.scss

Lines changed: 37 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,16 @@ body {
3737
}
3838

3939
.double-section {
40-
padding-bottom: 100px;
40+
padding-top: 50px;
41+
padding-bottom: 50px;
4142
display: flex;
4243
flex-flow: row wrap;
4344
max-width: 1400px;
4445
justify-content: space-evenly;
4546
align-items: center;
47+
@media (min-width: 1100px) {
48+
padding-top: 125px;
49+
}
4650
}
4751

4852
/* About section
@@ -93,6 +97,9 @@ body {
9397
.about__right {
9498
flex: 400px 1 1;
9599
max-width: 500px;
100+
@media (max-width: 1100px) {
101+
min-height: calc(85vh - 80px);
102+
}
96103
}
97104

98105
.about__right p {
@@ -120,15 +127,18 @@ body {
120127

121128
.about__right-background {
122129
background: asset-url("home_asset_2.png") no-repeat center center;
123-
width: 800px;
124-
height: 1040px;
130+
width: 600px;
131+
height: 780px;
125132
position: absolute;
126-
right: -35px;
133+
right: -25px;
127134
z-index: -1;
128135
opacity: 0.3;
129-
background-size: 700px;
136+
background-size: 525px;
130137
margin-left: 100px;
131-
margin-top: 200px;
138+
margin-top: 125px;
139+
@media (max-width: 1100px) {
140+
display:none;
141+
}
132142
}
133143

134144
.about__logo {
@@ -146,13 +156,29 @@ body {
146156
*/
147157

148158
.video {
149-
padding-top: 49px;
159+
padding-top: 50px;
150160
padding-bottom: 50px;
151161
padding-right: 0;
152162
padding-left: 0;
163+
164+
width: 690px;
165+
height: 390px;
166+
167+
@media (max-width: 680px) {
168+
width: 560px;
169+
height: 315px;
170+
}
171+
172+
@media (max-width: 500px) {
173+
width: 400px;
174+
height: 225px;
175+
}
153176
}
154177

155178
.video__wrapper {
179+
width: 100%;
180+
height: 100%;
181+
156182
display: flex;
157183
flex-flow: row wrap;
158184
align-items: center;
@@ -161,23 +187,8 @@ body {
161187

162188
.video__frame {
163189
margin-bottom: 15px;
164-
width: 560px;
165-
height: 315px;
166-
167-
@media (max-width: 1400px) {
168-
width: 690px;
169-
height: 390px;
170-
}
171-
172-
@media (max-width: 680px) {
173-
width: 560px;
174-
height: 315px;
175-
}
176-
177-
@media (max-width: 600px) {
178-
width: 400px;
179-
height: 225px;
180-
}
190+
width: 100%;
191+
height: 100%;
181192
}
182193

183194
.video__description {
@@ -193,9 +204,9 @@ body {
193204
padding-bottom: 50px;
194205

195206
@media (min-width: 1400px) {
196-
width: 550px;
207+
width: 500px;
197208
padding-right: 0;
198-
padding-left: 0;
209+
padding-left: 25px;
199210
}
200211

201212
@media (max-width: 1400px) {

app/assets/stylesheets/home/nav.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ $nav-space: 20px;
88
width: 100%;
99
height: 75px;
1010
z-index: 1;
11+
@media (max-width: 850px) {
12+
//position: static;
13+
}
1114
}
1215

1316
.nav__content{
@@ -97,3 +100,18 @@ $nav-space: 20px;
97100
margin-right: 100px;
98101
}
99102
}
103+
104+
.nav__mlh{
105+
display:block;
106+
max-width:100px;
107+
min-width:60px;
108+
position:fixed;
109+
right:30px;
110+
top:0;
111+
width:8%;
112+
z-index:10000;
113+
114+
@media (max-width: 850px) {
115+
left: 30px;
116+
}
117+
}

app/assets/stylesheets/home/type.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ h2 {
2222
}
2323

2424
a, a:visited {
25-
text-decoration: underline;
25+
text-decoration: none;
2626
transition: color 0.2s ease-out;
2727
}
2828

app/views/layouts/_nav.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</div>
3131
</nav>
3232

33-
<a href="https://mlh.io/seasons/na-2020/events?utm_source=na-hackathon&utm_medium=TrustBadge&utm_campaign=2020-season&utm_content=gray" id="mlh-trust-badge" style="display:block;max-width:100px;min-width:60px;position:fixed;right:30px;top:0;width:8%;z-index:10000" target="_blank">
33+
<a href="https://mlh.io/seasons/na-2020/events?utm_source=na-hackathon&utm_medium=TrustBadge&utm_campaign=2020-season&utm_content=gray" id="mlh-trust-badge" class = "nav__mlh" target="_blank">
3434
<img alt="Major League Hacking 2020 Hackathon Season" src="https://s3.amazonaws.com/logged-assets/trust-badge/2020/mlh-trust-badge-2020-gray.svg" style="width:100%"/>
3535
</a>
3636

app/views/layouts/_nav_coming_soon.html.erb

Lines changed: 0 additions & 22 deletions
This file was deleted.

app/views/layouts/_nav_ty.html.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<%
2-
pages = ['Gallery']
2+
pages = ['Gallery', 'MLH Code of Conduct']
33
%>
44

55
<nav class="section nav">
66
<div class="nav__links">
77
<% pages.each do |page| %>
8+
<% if page.eql? 'MLH Code of Conduct' %>
9+
<a class="nav__link" href="https://static.mlh.io/docs/mlh-code-of-conduct.pdf">
10+
<% else %>
811
<a class="nav__link" href="/<%= page.downcase %>/">
12+
<% end %>
913
<%= page %>
1014
</a>
1115
<% end %>

app/views/layouts/_shared_head.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<%
22
title = "BrickHack"
3-
description = "Feb 16 & 17, 2019 - RIT's premiere collegiate hackathon devoted to bringing 600 designers, developers, and all sorts of makers together for 24 hours to create something from nothing."
3+
description = "Feb 8 & 9, 2020 - RIT's premiere collegiate hackathon devoted to bringing 600 designers, developers, and all sorts of makers together for 24 hours to create something from nothing."
44
url = "https://brickhack.io"
55
%>
66
<meta charset="utf-8"/>
@@ -11,7 +11,7 @@
1111
<meta content="<%= url %>" property="og:url"/>
1212
<meta content="<%= description %>" property="og:description"/>
1313
<meta content="<%= image_url("brickhack6_card.png") %>" property="og:image"/>
14-
<meta content="<%= image_url("bh-logos/brickhack-5.png") %>" property="og:image"/>
14+
<meta content="<%= image_url("bh-logos/brickhack-6.png") %>" property="og:image"/>
1515
<meta content="summary" name="twitter:card"/>
1616
<meta content="<%= url %>" name="twitter:url"/>
1717
<meta content="<%= title %>" name="twitter:title"/>

app/views/pages/_faq.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
involved_link = 'mailto:logistics@coderit.org?subject=I&#39;d%20like%20to%20get%20involved with BrickHack!'
33

44
faq_content = {
5+
"Who can participate in BrickHack?" => "Anyone currently enrolled as a student can attend! If you don't fit that description, you're absolutely welcome to attend as a <a href=\"#{involved_link}\">mentor</a> or <a href=\"#{involved_link}\">volunteer</a>. All attendees must be 18 years or older.",
56
"Do I need a team to join?" => "While teams are often recommended and sometimes more fun, they're not required. We will be hosting a teambuilding event shortly after kickoff, but feel free to invite your friends! Teams are a max of 4 people. Each person must register individually.",
67
"What should I bring?" => "Bring yourself, a photo ID, clothes, toiletries, a sleeping bag/blanket, your hacker setup, and maybe an idea or two.",
7-
"Who can participate in BrickHack?" => "Anyone currently enrolled as a student can attend! If you don't fit that description, you're absolutely welcome to attend as a <a href=\"#{involved_link}\">mentor</a> or <a href=\"#{involved_link}\">volunteer</a>. All attendees must be 18 years or older.",
88
"Do RIT students need to apply?" => "Yes, RIT students need to apply just like everyone else.",
9-
"When will I know if I got in?" => "Rolling acceptances start in late December",
9+
"When will I know if I got in?" => "Rolling acceptances will start in late December.",
1010
"Should I bring my own bricks?" => "We've got you covered.",
1111
"My question isn't answered here..." => "Fret not! Feel free to reach out to us on <a href=\"https://twitter.com/brickhackrit\">Twitter</a>, <a href=\"https://www.facebook.com/brickhackrit\">Facebook</a>, or <a href=\"mailto:hello@brickhack.io\">email</a>."
1212
}

app/views/pages/comingsoon.html.erb

Lines changed: 50 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,57 @@
1-
<% content_for(:head) do %> <%= stylesheet_link_tag 'ty.css' %>
2-
<% end %>
1+
<%= stylesheet_link_tag 'comingsoon.css' %>
32

4-
<%= render "layouts/nav_coming_soon" %>
3+
<a href="https://mlh.io/seasons/na-2019/events?utm_source=na-hackathon&utm_medium=TrustBadge&utm_campaign=2019-season&utm_content=gray" id="mlh-trust-badge" style="display:block;max-width:100px;min-width:60px;position:fixed;right:50px;top:0;width:10%;z-index:10000" target="_blank">
4+
<img alt="Major League Hacking 2019 Hackathon Season" src="https://s3.amazonaws.com/logged-assets/trust-badge/2019/mlh-trust-badge-2019-gray.svg" style="width:100%"/>
5+
</a>
56

6-
<div class="section about" id="about">
7-
<div class="about__wrapper">
8-
<div class="about__left">
9-
<div class="about__left-background"></div>
10-
<%= image_tag 'bh-logos/brickhack-6.png', alt: 'BrickHack V', class: 'about__logo' %>
11-
</div>
12-
<div class="about__right">
13-
<div class="about__right-background"></div>
14-
<center><h2>BrickHack 6<br>Brick City's Premiere Hackathon</h2><br>
15-
<h3>February 8th-9th, 2020<br>Gordon Field House<br>Rochester Institute of Technology</h3></center>
16-
<p style = "margin-bottom: 10px"><br>Want to be notified?</p>
17-
<%= btn_link_to "Notify Me", "http://eepurl.com/glscFj" %>
7+
<div class="page triangle-background split">
8+
<div class="split-left" id="split-left">
9+
<div class="center-vertical plus-nav">
10+
<%= image_tag 'bh-logos/brickhack-5.svg', { id: 'logo', class: 'wow rotate-in', align: 'center'} %>
11+
<br/>
12+
<h2>Coming Soon</h2>
13+
<p>
14+
<em>Enter your email below! We'll keep you posted.</em>
15+
</p>
16+
<div id="mc_embed_signup">
17+
<form action="//coderit.us11.list-manage.com/subscribe/post?u=122b09a8cef4c1f3888af8e40&amp;id=be625a634d" class="validate" id="mc-embedded-subscribe-form" method="post" name="mc-embedded-subscribe-form" target="_blank">
18+
<div id="mc_embed_signup_scroll">
19+
<div class="mc-field-groupe">
20+
<input autofocus="<%= true %>" class="required email" id="mce-EMAIL" name="EMAIL" placeholder="myemail@example.com" style="width: 90%; max-width: 300px" type="email"></input>
21+
</div>
22+
<div class="clear" id="mce-responses">
23+
<div class="response" id="mce-error-response" style="display:none"></div>
24+
<div class="response" id="mce-success-response" style="display:none"></div>
25+
</div>
26+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups -->
27+
<div style="position: absolute; left: -5000px;">
28+
<input name="b_122b09a8cef4c1f3888af8e40_be625a634d" tabindex="-1" type="text">/</input>
29+
</div>
30+
<div class="clear">
31+
<input class="button" id="mc-embedded-subscribe" name="subscribe" type="submit" value="Join the mailing list">/</input>
32+
</div>
33+
</div>
34+
</form>
35+
</div>
36+
37+
<%= btn_link_to 'Sponsor Info', image_path("BrickHack 4 Sponsorship Information.pdf"), { style: 'margin-bottom: 0px;' } %>
38+
39+
<br/>
40+
41+
<div class="social-list" style="margin-top: 30px">
42+
<p style="float: left;"></p>
43+
<%= link_to '<span class="fa fa-twitter-square fa-fw"></span> Twitter'.html_safe, 'https://twitter.com/brickhackrit' %>
44+
<p style="float: right;"></p>
45+
<%= link_to '<span class="fa fa-facebook-square fa-fw"></span> Facebook'.html_safe, 'https://www.facebook.com/brickhackrit' %>
46+
<p style="float: right;"></p>
47+
<%= link_to '<span class="fa fa-user-circle fa-fw"></span> CampusGroups'.html_safe, 'https://campusgroups.rit.edu/CODERIT/club_signup' %>
48+
</div>
1849
</div>
1950
</div>
51+
52+
<div class="split split-right" id="overlay">
53+
<%= image_tag 'coming_soon/asset.svg' %>
54+
</div>
2055
</div>
2156
<!-- Start of HubSpot Embed Code -->
2257
<script defer="defer" id="hs-script-loader" src="//js.hs-scripts.com/2104052.js" type="text/javascript"></script>

0 commit comments

Comments
 (0)