mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
Events page update
Add new checkbox for conference Update hero secction Update upcoming and past events.
This commit is contained in:
File diff suppressed because one or more lines are too long
9
assets/img/events/event-conference-apex-2021.svg
Normal file
9
assets/img/events/event-conference-apex-2021.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 1.0 MiB |
BIN
assets/img/events/event-hero3@2x.png
Normal file
BIN
assets/img/events/event-hero3@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 619 KiB |
@@ -477,7 +477,7 @@
|
|||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
}
|
}
|
||||||
.event-small-gray {
|
.event-small-gray {
|
||||||
color: $gray-400;
|
color: $gray-200;
|
||||||
}
|
}
|
||||||
|
|
||||||
.event-card {
|
.event-card {
|
||||||
@@ -576,6 +576,11 @@
|
|||||||
width: 20px;
|
width: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .events-filter[type="checkbox"]:disabled::after {
|
||||||
|
// -webkit-filter: opacity(0.4);
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
.events-filter[type="checkbox"]::before {
|
.events-filter[type="checkbox"]::before {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
@@ -583,12 +588,12 @@
|
|||||||
height: 20px;
|
height: 20px;
|
||||||
|
|
||||||
content: "";
|
content: "";
|
||||||
background: $blue-purple-500;
|
background: $gray-900;
|
||||||
border-radius: 4px;
|
|
||||||
|
|
||||||
border-width: 1px;
|
border-radius: 4px;
|
||||||
|
border-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: $blue-purple-500;
|
border-color: $gray-400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.events-filter[type="checkbox"]::after {
|
.events-filter[type="checkbox"]::after {
|
||||||
@@ -604,52 +609,55 @@
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border-width: 1px;
|
border-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: $blue-purple-500;
|
border-color: $gray-400;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .events-filter[type="checkbox"]:disabled::after {
|
.events-filter[type="checkbox"]:checked::before {
|
||||||
// -webkit-filter: opacity(0.4);
|
background: $gray-900;
|
||||||
// }
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.events-filter[type="checkbox"]:checked::after {
|
.events-filter[type="checkbox"]:checked::after {
|
||||||
background-image: url(../img/events/event-check.svg);
|
background-image: url(../img/events/event-check.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
border-width: 1px;
|
background-color: $blue-purple-500;
|
||||||
|
border-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: $blue-purple-500;
|
border-color: $blue-purple-500;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.events-filter[type="checkbox"]:not(:disabled):checked:hover::after {
|
.events-filter[type="checkbox"]:not(:disabled):checked:hover::after {
|
||||||
background-image: url(../img/events/event-check.svg);
|
background-image: url(../img/events/event-check.svg);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
border-width: 1px;
|
border-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: $blue-purple-500;
|
border-color: $blue-purple-600;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.events-filter[type="checkbox"]:not(:disabled):hover::before {
|
||||||
|
background: $gray-900;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.events-filter[type="checkbox"]:not(:disabled):hover::after {
|
.events-filter[type="checkbox"]:not(:disabled):hover::after {
|
||||||
background: $blue-purple-600;
|
background: $gray-900;
|
||||||
border-width: 1px;
|
border: none;
|
||||||
|
border-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-color: $blue-purple-600;
|
border-color: $blue-purple-600;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.events-filter[type="checkbox"]:not(:disabled):hover::before {
|
|
||||||
background: $blue-purple-600;
|
|
||||||
border-width: 1px;
|
|
||||||
border-style: solid;
|
|
||||||
border-color: $blue-purple-600;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -775,6 +775,31 @@ $placeholder-color: $gray-600;
|
|||||||
.icon-location::before {
|
.icon-location::before {
|
||||||
background: url(../img/events/event-location-light.svg);
|
background: url(../img/events/event-location-light.svg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.events-filter[type="checkbox"]::before {
|
||||||
|
background-color: $gray-100;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.events-filter[type="checkbox"]:not(:disabled):checked:hover::after {
|
||||||
|
background-image: url(../img/events/event-check.svg);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center;
|
||||||
|
background-color: $blue-purple-600;
|
||||||
|
border-width: 2px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: $blue-purple-600;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.events-filter[type="checkbox"]:not(:disabled):hover::before {
|
||||||
|
background-color: $gray-100;
|
||||||
|
}
|
||||||
|
.events-filter[type="checkbox"]:not(:disabled):hover::after {
|
||||||
|
background-color: $gray-100;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="container-new py-26">
|
<!-- <section class="container-new py-26">
|
||||||
<div class="event-hero card-grid event-hero card-grid-2xN">
|
<div class="event-hero card-grid event-hero card-grid-2xN">
|
||||||
<div class="col order-2 order-lg-1 pr-2">
|
<div class="col order-2 order-lg-1 pr-2">
|
||||||
<div class="d-flex flex-column-reverse">
|
<div class="d-flex flex-column-reverse">
|
||||||
@@ -51,28 +51,28 @@
|
|||||||
<div id="event-hero-image" src="" class=""></div>
|
<div id="event-hero-image" src="" class=""></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section> -->
|
||||||
|
|
||||||
<section class="container-new py-26">
|
<section class="container-new py-26">
|
||||||
<div class="event-hero card-grid card-grid-2xN">
|
<div class="event-hero card-grid card-grid-2xN">
|
||||||
|
|
||||||
<div class="col pr-2">
|
<div class="col pr-2">
|
||||||
<img src="./assets/img/events/event-hero2@2x.png" class="w-100">
|
<img src="./assets/img/events/event-hero3@2x.png" class="w-100">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col pt-5 pr-2">
|
<div class="col pt-5 pr-2">
|
||||||
<div class="d-flex flex-column-reverse">
|
<div class="d-flex flex-column-reverse">
|
||||||
<h2 class="h4 h2-sm mb-8">{% trans %}Apex 2021 On-Demand{% endtrans %}</h2>
|
<h2 class="h4 h2-sm mb-8">{% trans %}The XRPL Developer Summit<br /> On-Demand{% endtrans %}</h2>
|
||||||
|
<h6 class="eyebrow mb-3">{% trans %}Apex{% endtrans %}</h6>
|
||||||
</div>
|
</div>
|
||||||
<p class="mb-4">{% trans %}View sessions from the Apex 2021 stages in Las Vegas and Tallinn. Relive the keynote fireside chat with Alexis Ohanian and soak in the knowledge that was shared by passionate XRPL community members.{% endtrans %}</p>
|
<p class="mb-4">{% trans %}Apex XRPL Developer Summit is the annual event where developers, contributors, and thought leaders come together to learn, build, share, network, and celebrate all things XRP Ledger.{% endtrans %}</p>
|
||||||
|
|
||||||
<div class="event-small-gray py-2 my-5" >
|
<div class="event-small-gray py-2 my-5" >
|
||||||
September 29–30, 2021<br />
|
View all sessions from Apex 2022 and soak in the knowledge that was shared by passionate XRPL community members.
|
||||||
Las Vegas, Estonia
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="d-lg-block">
|
<div class="d-lg-block">
|
||||||
<a class="btn btn-primary btn-arrow" target="_blank" href="https://www.youtube.com/playlist?list=PLJQ55Tj1hIVZgnreb8ODgxJW032M9Z2XZ">{% trans %}Watch Sessions On-Demand{% endtrans %}</a>
|
<a class="btn btn-primary btn-arrow" target="_blank" href="https://www.youtube.com/playlist?list=PLJQ55Tj1hIVZgnreb8ODgxJW032M9Z2XZ">{% trans %}View On-Demand{% endtrans %}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -89,6 +89,10 @@
|
|||||||
<div class="filter row col-12 mt-lg-5 d-flex flex-column">
|
<div class="filter row col-12 mt-lg-5 d-flex flex-column">
|
||||||
<h6 class="mb-3">Filter By:</h6>
|
<h6 class="mb-3">Filter By:</h6>
|
||||||
<div>
|
<div>
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<input value="conference" id="conference-upcoming" name="conference-upcoming" type="checkbox" class="events-filter" checked />
|
||||||
|
<label for="conference-upcoming">Conference</label>
|
||||||
|
</div>
|
||||||
<div class="form-check form-check-inline">
|
<div class="form-check form-check-inline">
|
||||||
<input value="meetup" id="meetup-upcoming" name="meetup-upcoming" type="checkbox" class="events-filter" checked />
|
<input value="meetup" id="meetup-upcoming" name="meetup-upcoming" type="checkbox" class="events-filter" checked />
|
||||||
<label for="meetup-upcoming">Meetups</label>
|
<label for="meetup-upcoming">Meetups</label>
|
||||||
@@ -102,15 +106,25 @@
|
|||||||
|
|
||||||
{% set upcoming = [
|
{% set upcoming = [
|
||||||
|
|
||||||
{ "name": "XRPL Hackathon: Creating Real World Impact",
|
{ "name": "XRPL Hackathon: NFT Launch Party",
|
||||||
"description": "Build apps to improve lives in the real world using any of the SDKs and APIs for the XRP Ledger",
|
"description": "Build scalable, sustainable, functional NFTs on XRPL.",
|
||||||
"type": "hackathon-upcoming",
|
"type": "hackathon-upcoming",
|
||||||
"link": "https://xrplimpact.devpost.com/",
|
"link": "https://xrplnft.devpost.com/",
|
||||||
"location": "Virtual",
|
"location": "Virtual",
|
||||||
"date": "May 26 - July 11",
|
"date": "Nov 7 - Dec 12, 2022",
|
||||||
"image": "event-hack-impact@2x.png"},
|
"image": "event-hack-impact@2x.png"},
|
||||||
|
|
||||||
|
{ "name": "XRPL Hackathon: New Year, New NFT",
|
||||||
|
"id": "upcoming-xrpl-hackathon-new-year",
|
||||||
|
"description": "Build functional NFTs on the XRPL that span across a full range of use cases and showcase your project in this hackathon. Submissions have a chance to win prizes from a total prize pool of $50,000 in XRP.",
|
||||||
|
"type": "hackathon-upcoming",
|
||||||
|
"link": "https://xrplnft2022.devpost.com/",
|
||||||
|
"location": "Virtual",
|
||||||
|
"date": "January 31 - March 14, 2022",
|
||||||
|
"image": "event-hack-new-year.svg"},
|
||||||
|
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
<div class="row row-cols-1 row-cols-lg-3 card-deck mt-2">
|
<div class="row row-cols-1 row-cols-lg-3 card-deck mt-2">
|
||||||
{% for event in upcoming %}
|
{% for event in upcoming %}
|
||||||
<a class="event-card {{event.type}}" href="{{event.link}}" target="_blank">
|
<a class="event-card {{event.type}}" href="{{event.link}}" target="_blank">
|
||||||
@@ -139,6 +153,10 @@
|
|||||||
<div class="filter row col-12 mt-lg-5 d-flex flex-column">
|
<div class="filter row col-12 mt-lg-5 d-flex flex-column">
|
||||||
<h6 class="mb-3">Filter By:</h6>
|
<h6 class="mb-3">Filter By:</h6>
|
||||||
<div>
|
<div>
|
||||||
|
<div class="form-check form-check-inline">
|
||||||
|
<input value="conference" id="conference-past" name="conference-past" type="checkbox" class="events-filter" checked />
|
||||||
|
<label for="conference-past">Conference</label>
|
||||||
|
</div>
|
||||||
<div class="form-check form-check-inline">
|
<div class="form-check form-check-inline">
|
||||||
<input value="meetup" id="meetup-past" name="meetup-past" type="checkbox" class="events-filter" checked />
|
<input value="meetup" id="meetup-past" name="meetup-past" type="checkbox" class="events-filter" checked />
|
||||||
<label for="meetup-past">Meetups</label>
|
<label for="meetup-past">Meetups</label>
|
||||||
@@ -157,7 +175,7 @@
|
|||||||
"type": "hackathon-past",
|
"type": "hackathon-past",
|
||||||
"link": "https://xrpl-hackathon-2021.devpost.com/project-gallery",
|
"link": "https://xrpl-hackathon-2021.devpost.com/project-gallery",
|
||||||
"location": "Virtual",
|
"location": "Virtual",
|
||||||
"date": "September 13–October 6, 2021",
|
"date": "September 13-October 6, 2021",
|
||||||
"image": "event-hack-2021.svg"},
|
"image": "event-hack-2021.svg"},
|
||||||
|
|
||||||
{ "name": "XRPL Community Meetup: San Diego",
|
{ "name": "XRPL Community Meetup: San Diego",
|
||||||
@@ -200,15 +218,6 @@
|
|||||||
"date": "Saturday, December 18, 2021",
|
"date": "Saturday, December 18, 2021",
|
||||||
"image": "event-meetup-nashville@2x.jpg"},
|
"image": "event-meetup-nashville@2x.jpg"},
|
||||||
|
|
||||||
{ "name": "XRPL Hackathon: New Year, New NFT",
|
|
||||||
"id": "upcoming-xrpl-hackathon-new-year",
|
|
||||||
"description": "Build functional NFTs on the XRPL that span across a full range of use cases and showcase your project in this hackathon. Submissions have a chance to win prizes from a total prize pool of $50,000 in XRP.",
|
|
||||||
"type": "meetup-past",
|
|
||||||
"link": "https://xrplnft.devpost.com/",
|
|
||||||
"location": "Virtual",
|
|
||||||
"date": "January 31 - March 14, 2022",
|
|
||||||
"image": "event-hack-new-year.svg"},
|
|
||||||
|
|
||||||
{ "name": "NYC Meetup/Hackathon XRPL Celebration",
|
{ "name": "NYC Meetup/Hackathon XRPL Celebration",
|
||||||
"id": "upcoming-xrpl-new-york",
|
"id": "upcoming-xrpl-new-york",
|
||||||
"description": "The NYC/XRP community and Dev Null Productions cordially invites you to attend our 10th meetup, being held in celebration of the on-going XRPL Hackathon, at the unique and artistic TALS studio in Midtown Manhattan.",
|
"description": "The NYC/XRP community and Dev Null Productions cordially invites you to attend our 10th meetup, being held in celebration of the on-going XRPL Hackathon, at the unique and artistic TALS studio in Midtown Manhattan.",
|
||||||
@@ -262,6 +271,23 @@
|
|||||||
"location": "The LAB Miami, FL",
|
"location": "The LAB Miami, FL",
|
||||||
"date": "April 6th 2022",
|
"date": "April 6th 2022",
|
||||||
"image": "event-meetup-miami@2x.jpg"},
|
"image": "event-meetup-miami@2x.jpg"},
|
||||||
|
|
||||||
|
{ "name": "XRPL Hackathon: Creating Real World Impact",
|
||||||
|
"description": "Build apps to improve lives in the real world using any of the SDKs and APIs for the XRP Ledger",
|
||||||
|
"type": "hackathon-past",
|
||||||
|
"link": "https://xrplimpact.devpost.com/",
|
||||||
|
"location": "Virtual",
|
||||||
|
"date": "May 26 - July 11",
|
||||||
|
"image": "event-hack-impact@2x.png"},
|
||||||
|
|
||||||
|
{ "name": "Conference Apex 2021",
|
||||||
|
"description": "Build apps to improve lives in the real world using any of the SDKs and APIs for the XRP Ledger",
|
||||||
|
"type": "conference-past",
|
||||||
|
"link": "http://apexdevsummit.com",
|
||||||
|
"location": "Las Vegas, Tallinn",
|
||||||
|
"date": "September 29-30, 2021",
|
||||||
|
"image": "event-conference-apex-2021.svg"},
|
||||||
|
|
||||||
] %}
|
] %}
|
||||||
<div class="row row-cols-1 row-cols-lg-3 card-deck mb-0 mt-2 ">
|
<div class="row row-cols-1 row-cols-lg-3 card-deck mb-0 mt-2 ">
|
||||||
{% for event in past|reverse %}
|
{% for event in past|reverse %}
|
||||||
@@ -279,13 +305,26 @@
|
|||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Button to show more. -->
|
||||||
|
<!-- -->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
let showing = 3
|
||||||
|
function showMore() {
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#conference-upcoming').change(function () {
|
||||||
|
if ($('#conference-upcoming').is(':checked')) {
|
||||||
|
$('.conference-upcoming').show();
|
||||||
|
} else {
|
||||||
|
$('.conference-upcoming').hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
$('#meetup-upcoming').change(function () {
|
$('#meetup-upcoming').change(function () {
|
||||||
if ($('#meetup-upcoming').is(':checked')) {
|
if ($('#meetup-upcoming').is(':checked')) {
|
||||||
$('.meetup-upcoming').show();
|
$('.meetup-upcoming').show();
|
||||||
@@ -301,6 +340,13 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#conference-past').change(function () {
|
||||||
|
if ($('#conference-past').is(':checked')) {
|
||||||
|
$('.conference-past').show();
|
||||||
|
} else {
|
||||||
|
$('.conference-past').hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
$('#meetup-past').change(function () {
|
$('#meetup-past').change(function () {
|
||||||
if ($('#meetup-past').is(':checked')) {
|
if ($('#meetup-past').is(':checked')) {
|
||||||
$('.meetup-past').show();
|
$('.meetup-past').show();
|
||||||
|
|||||||
Reference in New Issue
Block a user