forked from thepracticaldev/codeland-copy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
banner.html
77 lines (65 loc) · 2.19 KB
/
banner.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!-- the div id 'hero-html-wrapper' is required for this to be properly included on the homepage! -->
<style>
#active-broadcast {
display: none;
}
.codeland-banner {
background: linear-gradient(45deg, #FED602, #B6FDAA, #87CAD3, #FEA0D6);
box-shadow: 0 0 0 1px var(--card-border);
position: relative;
box-sizing: border-box;
display: grid;
grid-template-columns: 1fr;
grid-column-gap: var(--su-4);
}
@media screen and (min-width: 640px) {
.codeland-banner {
min-height: 320px;
border-radius: var(--radius);
grid-template-columns: 1fr 2fr;
}
}
.codeland-banner__logo {
display: flex;
align-items: center;
}
.codeland-banner__logo img {
max-width: 100%;
transform: rotateZ(-3deg);
}
.codeland-banner__description {
display: flex;
flex-direction: column;
justify-content: center;
}
.codeland-banner__close-btn {
position: absolute;
top: var(--su-3);
right: var(--su-3);
width: 40px;
height: 40px;
}
</style>
<div id="hero-html-wrapper" class="codeland-banner-container">
<section class="crayons-layout">
<div class="codeland-banner p-4 h-auto">
<a href="" class="crayons-btn crayons-btn--icon-rounded crayons-btn--ghost codeland-banner__close-btn">
<svg id="js-hero-banner__x" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" width="24" height="24" classname="crayons-icon">
<path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636l4.95 4.95z"></path>
</svg>
</a>
<div class="codeland-banner__logo">
<img src="https://dev-to-uploads.s3.us-east-2.amazonaws.com/codeland/logo-distributed.png" alt="CodeLand Distributed Logo">
</div>
<div class="codeland-banner__description">
<p class="ff-accent">
July 23, 2020 - July 24, 2020
</p>
<h1 class="lh-tight fw-medium mb-3 fs-3xl s:fs-4xl ">
CodeLand is the community-first conference designed to level you up.
</h1>
<a href="/codeland" class="crayons-btn w-100 s:w-max">Watch livestream</a>
</div>
</div>
</section>
</div>