generated from esl/code-beam-america
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
391cab3
commit df067dd
Showing
10 changed files
with
239 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,8 @@ collections: | |
output: true | ||
# archive: | ||
# output: true | ||
tickets: | ||
output: true | ||
|
||
defaults: | ||
- scope: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<div class="section tickets-block" id="register"> | ||
<h2 class="title">Register</h2> | ||
<hr/> | ||
<div class="items-container"> | ||
{% for item in site.tickets %} | ||
<div class="ticket-item"> | ||
<div> | ||
<h3>{{ item.title }}</h3> | ||
<div class="price"> | ||
{{ item.price }} | ||
{% if item.discount %} | ||
<span>{{ item.discount }}</span> | ||
{% endif %} | ||
</div> | ||
|
||
{% if item.description %} | ||
<div class="description"> | ||
{{ item.description}} | ||
</div> | ||
{% endif %} | ||
<a href="{{item.link}}" target="_blank" title="Register">Register</a> | ||
<hr /> | ||
<div class="features"> | ||
{{ item.content | markdownify }} | ||
</div> | ||
{% if item.conditions %} | ||
<div class="conditions"> | ||
<hr /> | ||
{% for condition in item.conditions %} | ||
<p>{{ condition}}</p> | ||
{% endfor %} | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
.tickets-block { | ||
font-family: 'Montserrat', sans-serif; | ||
.items-container { | ||
margin: 30px auto; | ||
display: flex; | ||
flex-wrap: wrap; | ||
flex-direction: column; | ||
gap: 1em; | ||
@media screen and (min-width: 768px) { | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: flex-start; | ||
gap: 1.5em; | ||
} | ||
} | ||
.ticket-item { | ||
// background: linear-gradient(to left, $brand 50%, #e32dfd 50%); | ||
padding: 3.5px; | ||
text-align: center; | ||
font-family: 'Lato'; | ||
border-radius: 8px; | ||
background: linear-gradient( | ||
-45deg, | ||
$brand, | ||
$secondary-color-light, | ||
$secondary, | ||
$secondary-color-light | ||
); | ||
background-size: 400% 400%; | ||
position: relative; | ||
z-index: 1; | ||
animation: gradientAnimation 9s linear infinite; | ||
@media screen and (min-width: 768px) { | ||
flex: 0 1 25%; | ||
} | ||
&:nth-child(even) { | ||
background: linear-gradient( | ||
-45deg, | ||
$secondary-color-light, | ||
$secondary, | ||
$secondary-color-light, | ||
$brand | ||
); | ||
} | ||
> div { | ||
background-color: #fff; | ||
padding: 30px 20px; | ||
border-radius: 8px; | ||
} | ||
|
||
h3 { | ||
font-size: 20px; | ||
font-weight: bold; | ||
margin-bottom: 1em; | ||
} | ||
.price { | ||
margin: 0.75em auto; | ||
font-size: 35px; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 10px; | ||
align-items: center; | ||
span { | ||
display: inline-block; | ||
width: auto; | ||
font-size: 1rem; | ||
|
||
background-color: $secondary; | ||
padding: 3px 8px; | ||
} | ||
} | ||
.description { | ||
margin: 1em auto; | ||
} | ||
a { | ||
align-items: center; | ||
border: 1px solid $brand; | ||
color: $brand; | ||
border-radius: 0.3em; | ||
margin: 1em auto; | ||
font-size: 0.75em; | ||
font-weight: 500; | ||
letter-spacing: 0.16em; | ||
padding: 0.5em 2.7em; | ||
display: inline-block; | ||
transition: all 0.3s linear; | ||
&:hover { | ||
background-color: $brand; | ||
color: #ffffffff; | ||
} | ||
} | ||
|
||
hr { | ||
margin: 1em auto !important; | ||
height: 1px; | ||
background: lightgray; | ||
} | ||
.features { | ||
padding: 18px 30px; | ||
ul { | ||
text-align: left; | ||
margin: 20px 0; | ||
list-style-type: '👉'; | ||
padding-inline-start: 1em; | ||
li { | ||
margin-bottom: 10px; | ||
padding-left: 0.5em; | ||
} | ||
} | ||
} | ||
.conditions p { | ||
font-size: 0.7rem; | ||
margin-bottom: 8px; | ||
opacity: 0.86; | ||
color: #000; | ||
} | ||
} | ||
} | ||
|
||
@keyframes gradientAnimation { | ||
0% { | ||
background-position: 0% 50%; | ||
} | ||
50% { | ||
background-position: 100% 50%; | ||
} | ||
100% { | ||
background-position: 0% 50%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: 'This is the ticket title' | ||
price: '1000$' | ||
discount: '15% off until dec 2025' | ||
description: 'Solis 39 urbanitas utuntur explicari adiungimus efficeretur delicata faciam errorem atomos adiungimus Albucius acri intelleges.' | ||
link: 'www.link.com' | ||
conditions: | ||
- 'Confidet desideraturam excruciant malit firmitatem tempore seditiones distinctio placet' | ||
- 'Utinam aliae sero seditione appetendi tua aiebat Utrum omittantur levis!' | ||
- 'Ei modum sublatum ipsius puto civitatis vellem significet consule suavitate iudicem miserum locis aliquo officiis.' | ||
--- | ||
|
||
### FEATURES | ||
|
||
- Feature 01 | ||
- Solis 39 urbanitas utuntur explicari adiungimus efficeretur delicata | ||
- Faciam errorem atomos adiungimus Albucius acri intelleges | ||
- Lorem ipsum dolor sit | ||
- Feature 01 | ||
- Solis 39 urbanitas utuntur explicari adiungimus efficeretur delicata | ||
- Faciam errorem atomos adiungimus Albucius acri intelleges | ||
- Lorem ipsum dolor sit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: 'This is the ticket title' | ||
price: '1000$' | ||
discount: '15% off until dec 2025' | ||
description: 'Solis 39 urbanitas utuntur explicari adiungimus efficeretur delicata faciam errorem atomos adiungimus Albucius acri intelleges.' | ||
link: 'www.link.com' | ||
conditions: | ||
- 'Confidet desideraturam excruciant malit firmitatem tempore seditiones distinctio placet' | ||
--- | ||
|
||
### FEATURES | ||
|
||
- Feature 01 | ||
- Solis 39 urbanitas utuntur explicari adiungimus efficeretur delicata | ||
- Faciam errorem atomos adiungimus Albucius acri intelleges | ||
- Lorem ipsum dolor sit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: 'This is the ticket title' | ||
price: '1000$' | ||
discount: '15% off until dec 2025' | ||
description: 'Solis 39 urbanitas utuntur explicari adiungimus efficeretur delicata faciam errorem atomos adiungimus Albucius acri intelleges.' | ||
link: 'www.link.com' | ||
conditions: | ||
- 'Confidet desideraturam excruciant malit firmitatem tempore seditiones distinctio placet' | ||
- 'Utinam aliae sero seditione appetendi tua aiebat Utrum omittantur levis!' | ||
- 'Ei modum sublatum ipsius puto civitatis vellem significet consule suavitate iudicem miserum locis aliquo officiis.' | ||
--- | ||
|
||
### FEATURES | ||
|
||
- Feature 01 | ||
- Solis 39 urbanitas utuntur explicari adiungimus efficeretur delicata | ||
- Faciam errorem atomos adiungimus Albucius acri intelleges | ||
- Lorem ipsum dolor sit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters