Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

Commit 932d66c

Browse files
authored
Merge pull request #967 from Wimsy113/con_page_revamp
revamped the con page
2 parents 9a04f7f + 82b95e3 commit 932d66c

File tree

6 files changed

+52
-32
lines changed

6 files changed

+52
-32
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"axios": "^0.16.1",
1717
"classnames": "^2.2.5",
1818
"dateformat": "^2.0.0",
19-
"express": "^4.15.2",
19+
"express": "^4.16.3",
2020
"history": "^4.6.1",
2121
"husky": "^0.14.3",
2222
"jwt-decode": "^2.2.0",
Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,41 @@
11
.hero {
2-
background-image: url('./raleigh.jpg');
2+
background-image: url('https://s3.amazonaws.com/operationcode-assets/heroBanners/op_code_con_raleigh.png');
3+
background-repeat: no-repeat;
4+
background-position: bottom;
35
}
46

5-
@media screen and (min-width: 1200px) {
7+
@media screen and (min-width: 1100px) {
68
.hero {
79
background-size: 100%;
810
}
911
}
1012

11-
@media screen and (max-width: 768px) {
13+
@media screen and (min-width: 500px) and (max-width: 1100px) {
1214
.hero {
13-
background-size: auto 150%;
15+
background-size: 100%;
16+
background-position: bottom;
1417
}
1518
}
1619

17-
.heading {
18-
color: #47566b;
19-
padding: 3rem;
20-
height: 600px;
20+
@media screen and (max-width: 499px) {
21+
.hero {
22+
background: none;
23+
}
2124
}
2225

23-
@media screen and (max-width: 768px) {
24-
.heading {
25-
height: 450px;
26-
}
26+
.red {
27+
color:#D1665A;
2728
}
2829

29-
.textLink {
30-
color: #47566b;
31-
font-size: 1.2em;
30+
.heading {
31+
color: #249cbc;
32+
padding-top: 15px;
33+
text-align: center;
34+
height: 800px;
3235
}
3336

34-
.textLink:hover {
35-
color: #d1665a;
36-
font-size: 1.2em;
37+
@media screen and (max-width: 768px) {
38+
.heading {
39+
height: 600px;
40+
}
3741
}

src/scenes/home/opCodeCon/opCodeCon.js

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,39 @@ const OpCodeCon = () => (
77
<div className={styles.hero}>
88
<div className={styles.heading}>
99
<h1>OpCodeCon</h1>
10-
<h3>Join us for our inaugural Operation Code Convention!</h3>
11-
<p>September 19th-20th, 2018</p>
12-
<p>Raleigh Convention Center, Raleigh, NC</p>
13-
<p>
14-
<a href="mailto:[email protected]" className={styles.textLink}>
15-
Contact us
16-
</a>{' '}
17-
for sponsorship information.
18-
</p>
10+
<h2>Raleigh, NC</h2>
11+
<h3 className={styles.red}> Sept 19-20</h3>
12+
<p>Join us for our inaugural Operation Code Convention!</p>
13+
<p>Get your tickets and book your room here!</p>
1914
<LinkButton
2015
role="button"
21-
text="Donate"
16+
text="Tickets"
17+
theme="blue"
18+
link="https://secure.lglforms.com/form_engine/s/tzrVCEdOmZXtQmjkAS63AA?t=1526603770"
19+
isExternal
20+
/>
21+
22+
<LinkButton
23+
role="button"
24+
text="Rooms"
25+
theme="blue"
26+
link="https://www.starwoodmeeting.com/events/start.action?id=1805071198&key=23F9CD12"
27+
isExternal
28+
/>
29+
<p>Not able to attend but want to help?</p>
30+
<p>Contact us for sponsorship information or make a donation!</p>
31+
<LinkButton
32+
role="button"
33+
text="Sponsor"
2234
theme="red"
23-
link={commonUrl.donateLink}
35+
link="mailto:[email protected]"
36+
isExternal
37+
/>
38+
39+
<LinkButton
40+
role="button" text="Donate" theme="red" link={commonUrl.donateLink}
2441
isExternal
2542
/>
26-
{/* <p>Check back for more information.</p> */}
2743
</div>
2844
</div>
2945
);

src/scenes/home/opCodeCon/raleigh.jpg

-1.83 MB
Binary file not shown.
-1.37 MB
Binary file not shown.

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3856,7 +3856,7 @@ expect@^22.4.0:
38563856
jest-message-util "^22.4.0"
38573857
jest-regex-util "^22.1.0"
38583858

3859-
express@^4.15.2, express@^4.16.2:
3859+
express@^4.16.2, express@^4.16.3:
38603860
version "4.16.3"
38613861
resolved "https://registry.yarnpkg.com/express/-/express-4.16.3.tgz#6af8a502350db3246ecc4becf6b5a34d22f7ed53"
38623862
dependencies:

0 commit comments

Comments
 (0)