Skip to content

Commit 2c9fd42

Browse files
committed
adding meetup banner
1 parent 94b77fa commit 2c9fd42

4 files changed

Lines changed: 58 additions & 9 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<a
2+
href="https://www.eventbrite.com/e/ember-fastboot-ssr-beyond-tickets-144468965565"
3+
class="main-hero-meetup"
4+
target="_blank"
5+
rel="noopener">
6+
<div>
7+
<p class="invite">
8+
Joins us <span class="orange">&nbsp;Wed April 14th</span>
9+
</p>
10+
Ember Fastboot SSR & Beyond Meetup
11+
</div>
12+
<div class="button">
13+
Register
14+
</div>
15+
</a>

app/components/main-hero/template.hbs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,5 @@
2727
{{/link-to}}
2828
</div>
2929

30-
<div class="main-hero-actions my2">
31-
<a
32-
href="https://www.eventbrite.com/e/ember-fastboot-ssr-beyond-tickets-144468965565"
33-
class="main-hero-button small"
34-
target="_blank"
35-
rel="noopener">
36-
Ember Fastboot Meetup
37-
</a>
38-
</div>
30+
{{main-hero/meetup}}
3931
</div>

app/styles/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
@import "components/command-prompt";
77
@import "components/fastboot-logo";
88
@import "components/main-hero";
9+
@import "components/main-hero-meetup";
910
@import "components/main-hero-terminal";
1011
@import "components/main-nav";
1112
@import "components/syntax";
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
.main-hero-meetup {
2+
background: rgba(0, 0, 0, 0.33);
3+
border-radius: 0.25em;
4+
color: var(--white);
5+
display: flex;
6+
font-size: 1.125rem;
7+
align-items: center;
8+
padding: 1rem;
9+
display: grid;
10+
grid-gap: 2rem;
11+
margin: 1rem 0 2rem;
12+
grid-template-columns: repeat(2, 1fr);
13+
cursor: pointer;
14+
text-decoration: none;
15+
border: none;
16+
}
17+
18+
.main-hero-meetup:hover, .main-hero-meetup:focus {
19+
color: var(--white);
20+
}
21+
22+
.main-hero-meetup .invite {
23+
margin: 0;
24+
font-size: 1rem;
25+
margin-bottom: 0.25rem;
26+
}
27+
28+
.main-hero-meetup .button {
29+
align-items: center;
30+
text-align: center;
31+
border-radius: 0.25rem;
32+
border: 2px solid var(--white);
33+
min-width: 10em;
34+
padding: 0.55em 2em 0.75em;
35+
text-align: center;
36+
text-decoration: none;
37+
}
38+
39+
.orange {
40+
color: #FFA91B;
41+
}

0 commit comments

Comments
 (0)