Skip to content

Commit 97b02ad

Browse files
authored
Merge pull request #878 from codeRIT/thankyou
Updated the thankyou.html page to follow the new css definitions
2 parents d936d82 + 1099bef commit 97b02ad

7 files changed

Lines changed: 54 additions & 29 deletions

File tree

6.61 MB
Loading

app/assets/stylesheets/home/layout.scss

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,18 @@ body {
156156
}
157157
}
158158

159+
.ricky__sticker {
160+
width: 500px;
161+
padding: 0 0px 0px;
162+
box-sizing: border-box;
163+
margin-top: -40px;
164+
margin-bottom: 10px;
165+
166+
@media (max-width: 480px) {
167+
width: 300px;
168+
}
169+
}
170+
159171
/* Video section
160172
*/
161173

@@ -286,10 +298,6 @@ body {
286298
}
287299
}
288300

289-
.sponsor a {
290-
display:block {}
291-
}
292-
293301
.sponsor__wrapper {
294302
margin: 0 auto;
295303
max-width: 1000px;
@@ -453,3 +461,16 @@ body {
453461
margin-bottom: 1em;
454462
}
455463
}
464+
465+
.goodbye__text__nonmobile{
466+
display: flex;
467+
@media (max-width: 480px) {
468+
display: none;
469+
}
470+
}
471+
472+
.goodbye__text__mobile{
473+
@media (min-width: 480px) {
474+
display: none;
475+
}
476+
}

app/views/layouts/_nav_ty.html.erb

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

5-
<nav class="section nav">
6-
<div class="nav__links">
7-
<% 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 %>
11-
<a class="nav__link" href="/<%= page.downcase %>/">
5+
<nav class="nav">
6+
<div class="nav__content">
7+
<div class="nav__links">
8+
<% pages.each do |page| %>
9+
<% if page.eql? 'MLH Code of Conduct' %>
10+
<a class="nav__link" href="https://static.mlh.io/docs/mlh-code-of-conduct.pdf">
11+
<% else %>
12+
<a class="nav__link" href="/<%= page.downcase %>/">
13+
<% end %>
14+
<%= page %>
15+
</a>
1216
<% end %>
13-
<%= page %>
14-
</a>
15-
<% end %>
17+
</div>
1618
</div>
17-
<div class="nav__buttons"></div>
1819
</nav>
1920

2021
<a id="mlh-trust-badge" style="display:block;max-width:100px;min-width:60px;position:fixed;right:50px;top:0;width:10%;z-index:10000"

app/views/pages/index.html.erb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<%= stylesheet_link_tag 'home.css' %>
33
<% end %>
44

5-
<%= render "layouts/nav" %>
6-
75
<% register_link = "https://apply.brickhack.io".freeze %>
86
<% volunteer_link = "https://forms.gle/4id7fkjxpAooh59B7".freeze %>
97

8+
<%= render "layouts/nav" %>
9+
1010
<div class="section about" id="about">
1111
<div class="about__wrapper">
1212
<div class="about__left">
@@ -235,10 +235,8 @@
235235
</div>
236236
</div>
237237

238-
239238
<div class="section footer-break"></div>
240239

241-
242240
<div class="section footer">
243241
<div class="footer__rit">
244242
<%= link_to 'https://rit.edu' do %>

app/views/pages/thankyou.html.erb

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<% content_for(:head) do %> <%= stylesheet_link_tag 'ty.css' %>
1+
<% content_for(:head) do %>
2+
<%= stylesheet_link_tag 'home.css' %>
23
<% end %>
34

45
<%= render "layouts/nav_ty" %>
@@ -7,17 +8,21 @@
78
<div class="about__wrapper">
89
<div class="about__left">
910
<div class="about__left-background"></div>
10-
<%= image_tag 'bh-logos/brickhack-6.png', alt: 'BrickHack V', class: 'about__logo' %>
11+
<%= image_tag 'ricky-goodbye.gif', alt: 'Bye Ricky', class: 'ricky__sticker' %>
12+
<div class="goodbye__text__mobile"
13+
<center><h2>Thanks for a great BrickHack! <br> See you next year!</h2></center>
14+
<p style = "margin-bottom: 10px">Join our mailing list!</p>
15+
<%= btn_link_to "Subscribe", "http://eepurl.com/glscFj" %>
16+
</div>
1117
</div>
12-
<div class="about__right">
18+
<div class="about__right goodbye__text__nonmobile">
1319
<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" %>
20+
<center><h2>Thanks for a great BrickHack! <br> See you next year!</h2></center>
21+
<h3 style = "margin-bottom: 10px">For issues with travel please contact:</h3>
22+
<a href="mailto:travel@coderit.org" style="color: orange;">travel@coderit.org</a>
1823
</div>
1924
</div>
2025
</div>
2126
<!-- Start of HubSpot Embed Code -->
2227
<script defer="defer" id="hs-script-loader" src="//js.hs-scripts.com/2104052.js" type="text/javascript"></script>
23-
<!-- End of HubSpot Embed Code -->
28+
<!-- End of HubSpot Embed Code -->

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
# Homepage
1111

1212
# root to: 'pages#index'
13-
root to: 'pages#index'
13+
root to: 'pages#thankyou'
1414
end

vendor/cache/rack-2.0.7.gem

-249 KB
Binary file not shown.

0 commit comments

Comments
 (0)