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

Commit 6c3e38c

Browse files
authored
Merge branch 'master' into issue#161
2 parents 295a8e6 + f7ce208 commit 6c3e38c

17 files changed

Lines changed: 128 additions & 33 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ WORKDIR /usr/src/app
99

1010
# Install app dependencies
1111
COPY package.json /usr/src/app/
12+
COPY yarn.lock /usr/src/app/
1213
RUN yarn install --no-progress
1314

1415
# Bundle app source

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"font-awesome": "^4.7.0",
1111
"history": "^4.6.1",
1212
"lodash": "^4.17.4",
13+
"postscribe": "^2.0.8",
1314
"prop-types": "^15.5.8",
1415
"react": "^15.5.4",
1516
"react-dom": "^15.5.4",

src/images/Family-2.jpg

428 KB
Loading

src/images/Family-2.png

3.57 MB
Loading

src/images/Family-mobile.jpg

334 KB
Loading

src/images/icons/newburger.png

4.6 KB
Loading

src/scenes/home/gala/gala.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.container {
2+
width:80%;
3+
}
4+
5+
#tt-widget {
6+
width: 100%;
7+
}
8+
9+
.header {
10+
text-align: center;
11+
padding-bottom: 20px;
12+
}

src/scenes/home/gala/gala.js

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
import React, { Component } from 'react';
2+
import Section from 'shared/components/section/section';
3+
import postscribe from 'postscribe';
4+
5+
import styles from './gala.css';
6+
7+
class Gala extends Component {
8+
9+
componentDidMount() {
10+
const script = document.createElement('script');
11+
12+
script.src = 'https://dc161a0a89fedd6639c9-03787a0970cd749432e2a6d3b34c55df.ssl.cf3.rackcdn.com/tt-widget.js';
13+
script.async = true;
14+
script.setAttribute('data-url', 'https://www.tickettailor.com/new-order/99297/d163/ref/website_widget/');
15+
script.setAttribute('data-type', 'inline');
16+
script.setAttribute('data-inline-minimal', 'true');
17+
script.setAttribute('data-inline-show-logo', 'false');
18+
script.setAttribute('data-inline-bg-fill', 'true');
19+
20+
postscribe('#tt-widget', script.outerHTML);
21+
}
22+
23+
render() {
24+
return (
25+
<Section title="Operation Code Gala">
26+
<div className={styles.header}>
27+
<h3>Nov 10, 2017</h3>
28+
<h3>Governor&#39;s Ballroom, Sentinel Hotel</h3>
29+
<h3>Portland, Oregon</h3>
30+
</div>
31+
<div className={styles.container}>
32+
<div id="tt-widget">
33+
<div className="tt-widget-fallback">
34+
<p>
35+
<a href="https://www.tickettailor.com/new-order/99297/d163/ref/website_widget/" target="_blank" rel="noopener noreferrer">Click here to buy tickets</a><br />
36+
<small><a href="http://www.tickettailor.com?rf=wdg" className="tt-widget-powered">Sell tickets online with Ticket Tailor</a></small>
37+
</p>
38+
</div>
39+
</div>
40+
</div>
41+
</Section>
42+
);
43+
}
44+
}
45+
46+
export default Gala;

src/scenes/home/header/burger/burger.css

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@
33
}
44

55
.burger img {
6-
width: 40px;
6+
width: 2.5em;
77
margin: 0;
8+
background-color: #fafafa;
9+
padding: 10px;
10+
border-radius: 5px;
11+
transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
12+
transition-delay: 0.2s;
13+
box-shadow: 0 2px 5px 0 grey;
814
}
915

1016
@media screen and (max-width: 760px) {
1117
.burger {
1218
display: block;
1319
position: absolute;
14-
right: 0;
15-
margin: 0;
16-
margin-right: 7px;
17-
padding: 0 4px 0 4px;
20+
right: 5%;
21+
top: 15px;
1822
}
1923
}
Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
.content {
2-
padding: 16px;
2+
background-color: black;
3+
background-color:rgba(47,52,72,.95);
4+
height: 100%;
5+
width: 100%;
6+
position: fixed;
37
}
48

59
.header {
@@ -9,33 +13,38 @@
913

1014
.close {
1115
color: #fff;
12-
font-size: 26px;
13-
padding: 6px; /*to increase clickability on mobile*/
1416
text-decoration: none;
17+
font-size: 40px;
18+
position: absolute;
19+
right: 5%;
20+
top: 22px;
21+
padding-right: 10px;
22+
line-height: 1;
1523
}
1624

1725
.logoWrapper {
1826
text-align: center;
1927
}
2028

2129
.logo {
22-
margin: 16px auto;
2330
max-width: 75%;
2431
max-height: 40px;
25-
width: auto;
26-
height: auto;
32+
position: absolute;
33+
top: 20px;
34+
left: 5%;
2735
}
2836

2937
.list {
3038
display: flex;
3139
flex-direction: column;
32-
margin-top: 8px;
33-
padding: 16px;
40+
margin-top: 80px;
41+
padding: 50px 5%;
42+
border-top: 1px solid #fafafa;
43+
font-size: 40px;
3444
}
3545

3646
.item {
3747
color: #F7F7F7;
38-
font-size: 60px;
3948
}
4049

4150
.item ~ .item {
@@ -46,7 +55,8 @@
4655
display: flex;
4756
height: 100%;
4857
flex-direction: column;
49-
padding-top: 1rem;
58+
padding-top: 1.75rem;
59+
position: relative;
5060
}
5161

5262
.navButton {
@@ -56,5 +66,5 @@
5666
text-align: left;
5767
font-size: 2.5rem;
5868
margin: 0.5rem 0;
59-
padding: 0;
69+
padding: 0;
6070
}

0 commit comments

Comments
 (0)