Skip to content

Commit 0cdfc9e

Browse files
authored
Merge pull request #945 from codeRIT/contact-us
Added sponsor info text below email input on desktop
2 parents df6f9b0 + 8c6697c commit 0cdfc9e

2 files changed

Lines changed: 31 additions & 18 deletions

File tree

src/index.scss

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
$blue: #465491;
44

5-
/*
5+
/*
66
tablet & mobile have the column layout
77
tablet has fixed widths and font sizes
88
mobile has scaling widths and font sizes
@@ -67,7 +67,7 @@ html, body, #root, #app, .full-height {
6767
width: 100%;
6868

6969
padding: 12px 0px;
70-
70+
7171
font-size: 14px;
7272
font-weight: 300;
7373
text-align: center;
@@ -88,7 +88,7 @@ html, body, #root, #app, .full-height {
8888
height: 150px;
8989
margin-left: 40px;
9090
}
91-
91+
9292
@include mobile {
9393
/*68 px is the current height of the nav bar
9494
will think of a better way to structure this later*/
@@ -105,13 +105,13 @@ html, body, #root, #app, .full-height {
105105

106106
font-size: 15px;
107107
font-weight: 500;
108-
108+
109109
color: $blue;
110110

111111
ul {
112112
list-style-type: none;
113113
float: right;
114-
114+
115115
margin: 0;
116116
padding: 0;
117117

@@ -122,7 +122,7 @@ html, body, #root, #app, .full-height {
122122

123123
a {
124124
color: $blue;
125-
125+
126126
border-bottom-style: solid;
127127
border-color: transparentize($blue, 1);
128128
transition: border-color 0.2s;
@@ -173,7 +173,7 @@ html, body, #root, #app, .full-height {
173173
max-width: 1100px;
174174
text-align: center;
175175
margin: auto;
176-
176+
177177

178178
@include tablet {
179179
flex-direction: column;
@@ -199,7 +199,7 @@ html, body, #root, #app, .full-height {
199199
}
200200

201201
/*
202-
note: development on a mac may not have all font-weights,
202+
note: development on a mac may not have all font-weights,
203203
lines of text may be wider than they appear
204204
*/
205205
#hackathon-name {
@@ -232,7 +232,7 @@ lines of text may be wider than they appear
232232

233233
@include mobile {
234234
height: 4vw;
235-
font-size: 3.2vw;
235+
font-size: 3.2vw;
236236
}
237237
}
238238

@@ -241,8 +241,9 @@ lines of text may be wider than they appear
241241
width: 375px;
242242
margin: auto;
243243

244-
margin-top: 10px;
245-
244+
margin-top: 20px;
245+
margin-bottom: 20px;
246+
246247
border-style: solid;
247248
border-width: 1px;
248249
border-color: $blue;
@@ -308,7 +309,7 @@ lines of text may be wider than they appear
308309
background-position: 5.25px;
309310
}
310311
}
311-
312+
312313
@include mobile {
313314
height: 9vw;
314315
width: 9vw;
@@ -336,3 +337,10 @@ lines of text may be wider than they appear
336337
font-weight: 500;
337338
}
338339
}
340+
341+
#contact {
342+
343+
p {
344+
margin: 0;
345+
}
346+
}

src/preregister.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class PreRegister extends React.Component {
1414
return (
1515
<div id="app">
1616
<div className="full-height">
17-
<NavBar
17+
<NavBar
1818
title={desktopNotice}
1919
content={noticeContent}
2020
/>
@@ -25,20 +25,25 @@ class PreRegister extends React.Component {
2525
</div>
2626
<div id="hackathon-description">
2727
RIT's Premiere Hackathon
28-
</div>
28+
</div>
2929
<div id="hackathon-info">
3030
Feb 20-21 | ROCHESTER INSTITUTE OF TECHNOLOGY
3131
</div>
32-
32+
3333
<img className="hero-img desktop-hide" src={HeroImage} alt="A decorative background hero graphic."/>
34-
34+
3535
<MailchimpInput/>
3636

37-
<CovidPopover
37+
<div id="contact" className="mobile-hide">
38+
<p>interested in sponsoring?</p>
39+
<p>email <a href="mailto:sponsorship@coderit.org">sponsorship@coderit.org</a></p>
40+
</div>
41+
42+
<CovidPopover
3843
title={mobileNotice}
3944
content={noticeContent}
4045
/>
41-
46+
4247
</div>
4348

4449
<div className="right-half mobile-hide">

0 commit comments

Comments
 (0)