-
Notifications
You must be signed in to change notification settings - Fork 0
/
hero backup.txt
173 lines (149 loc) · 3.22 KB
/
hero backup.txt
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
export default function Hero() {
return (
<>
<div className="hero">
<div className="hero-content">
<div className="hero-top">
<div className="hero-title-wrapper">
<h1 className="hero-title white">FUTURES LEADERS</h1>
<h1 className="hero-title black">SUMMIT '21</h1>
</div>
<div className="hero-info">
<span className="hero-date">DECEMBER</span>
<span className="hero-place">Tuzla, B&H</span>
</div>
</div>
<div className="bottom">
<div className="btn">
<span>STEM outside the box</span>
</div>
<div className="btn">
<span>COMING SOON</span>
</div>
</div>
<div className="hero-img blur">
<img src="hero.jpeg" alt="Futures Leaders Summit"" />
</div>
</div>
</div>
</>
);
}
.hero {
height: 100vh;
width: 100vw;
position: relative;
.hero-content {
height: 100%;
width: max-content;
margin: 0 auto;
display: flex;
align-items: left;
justify-content: space-between;
flex-direction: column;
flex-wrap: wrap;
font-weight: 600;
gap: 2rem;
color: $white;
h1 {
font-size: crem(140px);
text-align: left;
font-weight: 800;
font-family: $font-cap;
}
p {
font-size: crem(32px);
display: block;
text-align: center;
&.right {
font-size: crem(40px);
}
}
.btn {
background-color: $dark;
padding: 2rem 3rem;
height: max-content;
span {
font-family: $font-cap;
text-transform: uppercase;
background-color: $dark;
color: $yellow;
font-size: crem(44px);
font-weight: 400;
}
}
.blur img {
display: block; /* remove bottom space */
-webkit-filter: blur(9px);
-moz-filter: blur(9px);
-ms-filter: blur(9px);
-o-filter: blur(9px);
filter: blur(9px);
}
.blur:before {
background-color: $yellow;
opacity: 0.8;
}
}
.hero-top {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
flex: 3;
}
.hero-info {
background: $black;
padding: 2rem 3rem;
display: flex;
align-items: left;
justify-content: center;
flex-direction: column;
height: max-content;
span {
font-family: $font-cap;
text-transform: uppercase;
color: white;
font-size: crem(44px);
font-weight: 400;
}
}
.hero-title-wrapper {
display: flex;
align-items: left;
justify-content: center;
flex-direction: column;
padding: 2rem 3rem;
}
.hero-title {
text-align: left;
letter-spacing: 4px;
}
.white {
color: white;
}
.black {
color: $black;
}
.bottom {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-end;
flex: 1;
}
.hero-img {
position: absolute;
z-index: -1;
height: 100%;
width: 100%;
top: 0;
left: 0;
img {
height: 100%;
width: 100%;
object-fit: cover;
}
}
}