Skip to content

Commit 2a96ae1

Browse files
authored
Merge pull request #842 from codeRIT/BH-56
BH-56: Add sign in button to Nav
2 parents 1714729 + f5f933c commit 2a96ae1

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

app/assets/stylesheets/home/layout.scss

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,14 @@ body {
219219
max-width: 700px;
220220
}
221221

222-
.what p {
222+
.what .text {
223223
@media (min-width: 1400px) {
224224
padding-left: 20px;
225225
}
226+
227+
@media (min-width: 480px) {
228+
text-align: center;
229+
}
226230
}
227231

228232
/* Travel section
@@ -244,6 +248,11 @@ body {
244248
max-width: 700px;
245249
}
246250

251+
.travel__text-wrapper .text {
252+
@media (min-width: 480px) {
253+
text-align: center;
254+
}
255+
}
247256
/* FAQ section
248257
*/
249258

@@ -260,6 +269,12 @@ body {
260269
justify-content: space-around;
261270
}
262271

272+
.faq_question, .faq_answer {
273+
@media (min-width: 480px) {
274+
text-align: center;
275+
margin: auto;
276+
}
277+
}
263278
/* Sponsor section
264279
*/
265280

@@ -352,6 +367,12 @@ body {
352367
text-align: center;
353368
}
354369

370+
.sponsor .text {
371+
@media (min-width: 480px) {
372+
text-align: center;
373+
}
374+
}
375+
355376
/* Footer-break section
356377
*/
357378

app/views/layouts/_nav.html.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
</a>
2626
<% end %>
2727
<% end %>
28+
<div class="nav__signup__button">
29+
<%= btn_link_to "Sign In", "https://apply.brickhack.io/users/sign_in" %>
30+
</div>
2831
<!-- %a.nav__link{ href: "https://brickhackv.devpost.com", target: 'blank' }= 'Prizes' -->
2932
</div>
3033
</div>

public/gallery/debug.log

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[1114/213448.695:ERROR:crash_report_database_win.cc(428)] unexpected header

0 commit comments

Comments
 (0)