|
1 |
| -<!DOCTYPE html> |
| 1 | +<!doctype html> |
2 | 2 | <html lang="en">
|
3 |
| -<head> |
4 |
| - <meta charset="UTF-8"> |
5 |
| - <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | 6 | <title>{{ .Title }}</title>
|
7 |
| - <link rel="preconnect" href="https://fonts.googleapis.com"> |
8 |
| - <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
9 |
| - <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&display=swap" rel="stylesheet"> |
| 7 | + <link rel="preconnect" href="https://fonts.googleapis.com" /> |
| 8 | + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
| 9 | + <link |
| 10 | + href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&display=swap" |
| 11 | + rel="stylesheet" |
| 12 | + /> |
10 | 13 | <style>
|
11 | 14 | * {
|
12 | 15 | margin: 0;
|
13 | 16 | padding: 0;
|
14 | 17 | box-sizing: border-box;
|
15 | 18 | }
|
16 |
| - |
| 19 | + |
17 | 20 | body, html {
|
18 | 21 | height: 100%;
|
19 | 22 | font-family: 'Inter', sans-serif;
|
20 | 23 | color: white;
|
21 | 24 | overflow: hidden;
|
22 | 25 | }
|
23 |
| - |
| 26 | + |
24 | 27 | .background-container {
|
25 | 28 | position: absolute;
|
26 | 29 | top: 0;
|
|
30 | 33 | z-index: -1;
|
31 | 34 | background-color: #000;
|
32 | 35 | }
|
33 |
| - |
| 36 | + |
34 | 37 | .background-container img,
|
35 | 38 | .background-container video {
|
36 | 39 | width: 100%;
|
37 | 40 | height: 100%;
|
38 | 41 | object-fit: cover;
|
39 | 42 | opacity: 0.8;
|
40 | 43 | }
|
41 |
| - |
| 44 | + |
42 | 45 | .overlay {
|
43 | 46 | position: absolute;
|
44 | 47 | top: 0;
|
|
48 | 51 | background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
|
49 | 52 | z-index: -1;
|
50 | 53 | }
|
51 |
| - |
| 54 | + |
52 | 55 | .content {
|
53 | 56 | height: 100%;
|
54 | 57 | display: flex;
|
|
59 | 62 | margin: 0 auto;
|
60 | 63 | text-align: center;
|
61 | 64 | }
|
62 |
| - |
| 65 | + |
63 | 66 | h1 {
|
64 | 67 | font-size: clamp(3rem, 10vw, 5rem);
|
65 | 68 | font-weight: 800;
|
|
78 | 81 | opacity: 0.5;
|
79 | 82 | margin: 1rem 0;
|
80 | 83 | }
|
81 |
| - |
| 84 | + |
82 | 85 | .date-location {
|
83 | 86 | font-size: clamp(1.5rem, 3vw, 2rem);
|
84 | 87 | font-weight: 400;
|
85 | 88 | margin-bottom: 5rem;
|
86 | 89 | opacity: 0.8;
|
87 | 90 | }
|
88 |
| - |
| 91 | + |
89 | 92 | .subtitle {
|
90 | 93 | font-size: clamp(1rem, 2vw, 1.25rem);
|
91 | 94 | font-weight: 300;
|
92 | 95 | max-width: 700px;
|
93 | 96 | margin: 0 auto;
|
94 | 97 | line-height: 1.6;
|
95 | 98 | }
|
96 |
| - |
| 99 | + |
97 | 100 | .highlight {
|
98 | 101 | color: {{ .Params.highlightColor | default "#64ffda" }};
|
99 | 102 | font-weight: 400;
|
100 | 103 | }
|
101 |
| - |
| 104 | + |
102 | 105 | .social-links {
|
103 | 106 | margin-top: 1rem;
|
104 | 107 | }
|
105 |
| - |
| 108 | + |
106 | 109 | .social-links a {
|
107 | 110 | display: inline-block;
|
108 | 111 | margin: 0 0.75rem;
|
|
112 | 115 | text-decoration: none;
|
113 | 116 | opacity: 0.8;
|
114 | 117 | }
|
115 |
| - |
| 118 | + |
116 | 119 | .social-links a:hover {
|
117 | 120 | color: {{ .Params.highlightColor | default "#ff0000" }};
|
118 | 121 | transform: translateY(-.1rem);
|
119 | 122 | border-color: transparent;
|
120 | 123 | opacity: 1.0;
|
121 | 124 | transition: all 0.3s;
|
122 | 125 | }
|
123 |
| - |
| 126 | + |
124 | 127 | @media (max-width: 768px) {
|
125 | 128 | .content {
|
126 | 129 | padding: 1.5rem;
|
127 | 130 | }
|
128 |
| - |
| 131 | + |
129 | 132 | .social-links {
|
130 | 133 | margin-top: 2rem;
|
131 | 134 | }
|
132 | 135 | }
|
133 | 136 | </style>
|
134 |
| -</head> |
135 |
| -<body> |
| 137 | + </head> |
| 138 | + <body> |
136 | 139 | <div class="background-container">
|
137 |
| - {{ if .Params.backgroundVideo }} |
138 |
| - <video autoplay muted loop> |
139 |
| - <source src="{{ .Params.backgroundVideo }}" type="video/mp4"> |
140 |
| - </video> |
141 |
| - {{ else }} |
142 |
| - <img src="{{ .Params.backgroundImage | default "/images/conference-background.jpg" }}" alt="Conference background"> |
143 |
| - {{ end }} |
| 140 | + {{ if .Params.backgroundVideo }} |
| 141 | + <video autoplay muted loop> |
| 142 | + <source src="{{ .Params.backgroundVideo }}" type="video/mp4" /> |
| 143 | + </video> |
| 144 | + {{ else }} |
| 145 | + <img |
| 146 | + src="{{ .Params.backgroundImage | default "/images/conference-background.jpg" }}" |
| 147 | + alt="Conference background" |
| 148 | + /> |
| 149 | + {{ end }} |
144 | 150 | </div>
|
145 | 151 | <div class="overlay"></div>
|
146 |
| - |
| 152 | + |
147 | 153 | <div class="content">
|
148 |
| - <div class="preamble"> |
149 |
| - <span>{{ .Params.label | default " " }}</span> |
150 |
| - </div> |
151 |
| - <h1>{{ .Params.conferenceTitle | default .Title }}</h1> |
152 |
| - <div class="date-location"> |
153 |
| - {{ .Params.conferenceDates | default "September 1 - 3" }}<br> |
154 |
| - {{ .Params.conferenceLocation | default "San Francisco, CA" }} |
155 |
| - </div> |
156 |
| - <p class="subtitle">{{ .Params.subtitle | default "Follow us on our channels to learn more details in the coming weeks. Join us for an unforgettable experience of innovation and collaboration." }}</p> |
157 |
| - |
158 |
| - <div class="social-links"> |
159 |
| - {{ range .Params.socialLinks }} |
160 |
| - <a href="{{ .url }}" aria-label="{{ .name }}" target="_blank">{{ .name }}</a> |
161 |
| - {{ end }} |
162 |
| - </div> |
| 154 | + <div class="preamble"> |
| 155 | + <span>{{ .Params.label | default " " }}</span> |
| 156 | + </div> |
| 157 | + <h1>{{ .Params.conferenceTitle | default .Title }}</h1> |
| 158 | + <div class="date-location"> |
| 159 | + {{ .Params.conferenceDates | default "September 1 - 3" }}<br /> |
| 160 | + {{ .Params.conferenceLocation | default "San Francisco, CA" }} |
| 161 | + </div> |
| 162 | + <p class="subtitle"> |
| 163 | + {{ .Params.subtitle | default "Follow us on our channels to learn more details in the coming weeks. Join us for an unforgettable experience of innovation and collaboration." }} |
| 164 | + |
| 165 | + </p> |
| 166 | + |
| 167 | + <div class="social-links"> |
| 168 | + {{ range .Params.socialLinks }} |
| 169 | + <a href="{{ .url }}" aria-label="{{ .name }}" target="_blank">{{ .name }}</a> |
| 170 | + {{ end }} |
| 171 | + </div> |
163 | 172 | </div>
|
164 |
| -</body> |
| 173 | + </body> |
165 | 174 | </html>
|
0 commit comments