-
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.
Signed-off-by: mohin7 <mohin@appscode.com>
- Loading branch information
Showing
8 changed files
with
23,467 additions
and
4,315 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Events | AppsCode | ||
--- |
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,85 @@ | ||
[ | ||
{ | ||
"id":"1", | ||
"date": "AUG 01 - 04, 2024", | ||
"sort_date": "2024-08-01", | ||
"title": "1 AUG KubeCon | CloudNativeCon 2024", | ||
"description": "AUG The Cloud Native Computing Foundation’s flagship conference gathers adopters and technologists from leading open source and cloud native communities in Salt Lake City, Utah from November 12-15, 2024.", | ||
"meet_with_us": "#link1", | ||
"event_details": "#link2" | ||
}, | ||
{ | ||
"id":"2", | ||
"date": "SEP 01 - 04, 2024", | ||
"sort_date": "2024-09-01", | ||
"title": "2 KubeCon | CloudNativeCon 2024", | ||
"description": "The Cloud Native Computing Foundation’s flagship conference gathers adopters and technologists from leading open source and cloud native communities in Salt Lake City, Utah from November 12-15, 2024.", | ||
"meet_with_us": "#link1", | ||
"event_details": "#link2" | ||
}, | ||
{ | ||
"id":"3", | ||
"date": "OCT 02 - 04, 2024", | ||
"sort_date": "2024-10-02", | ||
"title": "3 ContainerDays Conference", | ||
"description": "The CDS family grows every year and you can't miss this fantastic learning experience...", | ||
"meet_with_us": "#link1", | ||
"event_details": "#link2" | ||
}, | ||
{ | ||
"id":"4", | ||
"date": "NOV 03 - 04, 2024", | ||
"sort_date": "2024-11-03", | ||
"title": "4 ContainerDays Conference", | ||
"description": "The CDS family grows every year and you can't miss this fantastic learning experience...", | ||
"meet_with_us": "#link1", | ||
"event_details": "#link2", | ||
"show": true | ||
}, | ||
{ | ||
"id":"5", | ||
"date": "DEC 03 - 04, 2024", | ||
"sort_date": "2024-12-03", | ||
"title": "5 ContainerDays Conference", | ||
"description": "The CDS family grows every year and you can't miss this fantastic learning experience...", | ||
"meet_with_us": "#link1", | ||
"event_details": "#link2" | ||
}, | ||
{ | ||
"id":"6", | ||
"date": "JAN 03 - 04, 2025", | ||
"sort_date": "2025-01-03", | ||
"title": "6 ContainerDays Conference", | ||
"description": "The CDS family grows every year and you can't miss this fantastic learning experience...", | ||
"meet_with_us": "#link1", | ||
"event_details": "#link2" | ||
}, | ||
{ | ||
"id":"6", | ||
"date": "FEB 03 - 04, 2025", | ||
"sort_date": "2025-02-03", | ||
"title": "7 ContainerDays Conference", | ||
"description": "The CDS family grows every year and you can't miss this fantastic learning experience...", | ||
"meet_with_us": "#link1", | ||
"event_details": "#link2" | ||
}, | ||
{ | ||
"id":"6", | ||
"date": "MAR 03 - 04, 2025", | ||
"sort_date": "2025-03-03", | ||
"title": "8 ContainerDays Conference", | ||
"description": "The CDS family grows every year and you can't miss this fantastic learning experience...", | ||
"meet_with_us": "#link1", | ||
"event_details": "#link2" | ||
}, | ||
{ | ||
"id":"6", | ||
"date": "APR 03 - 04, 2025", | ||
"sort_date": "2025-04-03", | ||
"title": "9 ContainerDays Conference", | ||
"description": "The CDS family grows every year and you can't miss this fantastic learning experience...", | ||
"meet_with_us": "#link1", | ||
"event_details": "#link2" | ||
} | ||
|
||
] |
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,77 @@ | ||
{{ define "header-bottom" }} | ||
<section></section> | ||
{{ end }} | ||
|
||
{{ define "main" }} | ||
|
||
<section class="events-page"> | ||
<div class="container"> | ||
<div class="columns is-multiline"> | ||
{{ $currentDate := now.Format "2006-01-02" }} <!-- Format current date --> | ||
|
||
<!-- Get the latest event --> | ||
{{ $sortedEvents := sort (where $.Site.Data.events "sort_date" "ge" $currentDate) "sort_date" "ase" }} | ||
{{ $lastEvent := first 1 $sortedEvents }} | ||
{{ range $event := $lastEvent }} | ||
<div class="column is-full-mobile is-6-tablet is-8-desktop"> | ||
<div class="single-event primary-gradient"> | ||
<div class="is-flex is-justify-content-space-between"> | ||
<span class="date">{{ $event.date }}</span> | ||
<span class="badge tag">UPCOMING</span> | ||
</div> | ||
<h2>{{ $event.title }}</h2> | ||
<p class="is-ellipsis-4">{{ $event.description }}</p> | ||
|
||
<div class="buttons is-gap-8"> | ||
<a href="{{ $event.meet_with_us }}" class="button ac-button is-primary">Join with us</a> | ||
<a href="{{ $event.event_details }}" class="button ac-button is-transparent has-text-white">Event Details</a> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
|
||
<!-- Display the rest of the events excluding the last one --> | ||
{{ $lastEventID := (index $sortedEvents 0).id }} | ||
{{ $restEvents := where $sortedEvents "id" "!=" $lastEventID }} | ||
|
||
{{ range $event := sort $restEvents "sort_date" "ase" }} | ||
<div class="column is-full-mobile is-6-tablet is-4-desktop"> | ||
<div class="single-event"> | ||
<div class="is-flex is-justify-content-space-between"> | ||
<span class="date">{{ $event.date }}</span> | ||
</div> | ||
<h2>{{ $event.title }}</h2> | ||
<p class="is-ellipsis-4">{{ $event.description }}</p> | ||
|
||
<div class="buttons is-gap-8"> | ||
<a href="{{ $event.meet_with_us }}" class="button ac-button is-outlined">Join with us</a> | ||
<a href="{{ $event.event_details }}" class="button ac-button is-transparent">Event Details</a> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
|
||
|
||
|
||
</div> | ||
<!-- <div class="columns is-centered"> | ||
<div class="column is-full-mobile is-2-desktop"> | ||
<button class="button ac-button is-outlined is-fullwidth">View More</button> | ||
</div> | ||
</div> --> | ||
</div> | ||
</section> | ||
|
||
{{ end }} | ||
|
||
{{ define "testimonial" }} | ||
<section></section> | ||
{{ end }} | ||
|
||
{{ define "customer-logos" }} | ||
<section></section> | ||
{{ end }} | ||
|
||
{{ define "cta-install" }} | ||
<section></section> | ||
{{ end }} |
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
Oops, something went wrong.