From a5343431beb462e70cd732406518b6ebbc5a727b Mon Sep 17 00:00:00 2001 From: Jeremy Meiss Date: Wed, 6 Mar 2024 08:35:58 -0600 Subject: [PATCH] Move new landing page + meet the team (#5) * add `get-a-drink` redirect * use correct syntax * update branch deploy build command * add landingPage layout + meet up page (#3) * layout for landing pages * meetup with team page * adjust content * setup description * fix wording on page * update redirect * change file name for meeting the team * redo meet page / template (#4) * update data files and templates * meet page styling and data file * fix styling of text, events, and spacing between hr, h2, div row * add calendly link generation * add links for local meetups --- content/meet-the-team.md | 28 ++++++ data/en/meet.yml | 166 ++++++++++++++++++++++++++++++++ layouts/page/landingPage.html | 26 +++++ layouts/page/meet-the-team.html | 77 +++++++++++++++ netlify.toml | 7 +- 5 files changed, 303 insertions(+), 1 deletion(-) create mode 100644 content/meet-the-team.md create mode 100644 data/en/meet.yml create mode 100644 layouts/page/landingPage.html create mode 100644 layouts/page/meet-the-team.html diff --git a/content/meet-the-team.md b/content/meet-the-team.md new file mode 100644 index 0000000..b74c93d --- /dev/null +++ b/content/meet-the-team.md @@ -0,0 +1,28 @@ ++++ +title = 'Meet the Team' +date = 2024-03-03T13:05:17-06:00 +draft = true +type = "page" +layout = "meet-the-team" +description = "" ++++ + +We would love to meet up with you, have a drink (coffee, tea, boba, wine, beer, etc.), and talk about your experiences using different tools and ways that we can be a resource for you. We have the following activities and events coming up, and would also be happy to meet up somewhere close to where you are. + +## Events + +- March 14-15, 2024: **Monki Gras 2024**, London, England +- March 14-17, 2024: **SCaLE 21x / DevOpsDays LA**, Los Angeles, CA +- March 19-22, 2024: **KubeCon Europe 2024**, Paris, France + - Happy Hour (LINK to event page) + - Meet up anytime (LINK to Calendly) +- April 9-12, 2024: **DevNexus 2024**, Atlanta, GA +- April 15-19, 2024: **Open Source Summit North America 2024**, Seattle, WA +- April 22-24, 2024: **Infobip Shift Miami**, Miami, FL +- April 29-30, 2024: **DevOps Denver Meetup**, Denver, CO + +## Chat with us locally + +- London, England (LINK to Calendly) +- Kansas City Metro Area (LINK to Calendly) + diff --git a/data/en/meet.yml b/data/en/meet.yml new file mode 100644 index 0000000..37c36f2 --- /dev/null +++ b/data/en/meet.yml @@ -0,0 +1,166 @@ +############################# Meet the Team ################################### +### in meet-the-team.html +###

{{ (time .startdate).Format "January 2" }}-{{ (time .enddate).Format "2, 2006" }}: {{ .title }}, {{ .location }}

+### + +meet: + enable : true + title : 'Meet the Team' +# about_item : + content : "We would love to meet up with you, have a drink (coffee, tea, boba, wine, beer, etc.), and talk about your experiences using different tools and ways that we can be a resource for you. We have the following activities and events coming up, and would also be happy to meet up somewhere close to where you are." + + title_events : Upcoming Events + title_chats : Chat with us locally + event_item : +# # event item loop +# - title : +# short_name : +# icon : # themify icon pack : https://themify.me/themify-icons +# startdate : "YYYY-MM-DD" +# enddate : "YYYY-MM-DD" +# location : +# happy_hour : false +# happy_hour_link : +# happy_hour_text : +# calendly : false +# calendly_link : https://calendly.com/devex-institute/conference-meet-up?&location=1 +# calendly_text : Let's meet up + + # event item loop + - title : Monki Gras 2024 + short_name : MonkiGras + icon : # themify icon pack : https://themify.me/themify-icons + conf_dates : "March 14-15, 2024" + startdate : 03-14-2024 + enddate : 03-15-2024 + location : London, England + happy_hour : false + happy_hour_link : + happy_hour_text : + calendly : true + calendly_link : https://calendly.com/devex-institute/conference-meet-up?&location=1 + calendly_text : Let's meet up + + # event item loop + - title : SCaLE 21x / DevOpsDays LA + short_name : SCaLE21x + icon : # themify icon pack : https://themify.me/themify-icons + conf_dates : "March 14-17, 2024" + startdate : 03-14-2024 + enddate : 03-17-2024 + location : Los Angeles, CA + happy_hour : false + happy_hour_link : + happy_hour_text : + calendly : true + calendly_link : https://calendly.com/devex-institute/conference-meet-up?&location=1 + calendly_text : Let's meet up + + # event item loop + - title : KubeCon Europe 2024 + short_name : KubeCon-EU + icon : # themify icon pack : https://themify.me/themify-icons + conf_dates : "March 19-22, 2024" + startdate : 03-19-2024 + enddate : 03-22-2024 + location : Paris, France + happy_hour : true + happy_hour_link : + happy_hour_text : Happy Hour + calendly : true + calendly_link : https://calendly.com/devex-institute/conference-meet-up?&location=1 + calendly_text : Let's meet up + + # event item loop + - title : DevNexus 2024 + short_name : DevNexus + icon : # themify icon pack : https://themify.me/themify-icons + conf_dates : "April 9-12, 2024" + startdate : 04-09-2024 + enddate : 04-12-2024 + location : Atlanta, GA + happy_hour : false + happy_hour_link : + happy_hour_text : + calendly : true + calendly_link : https://calendly.com/devex-institute/conference-meet-up?&location=1 + calendly_text : Let's meet up + + # event item loop + - title : Open Source Summit North America 2024 + short_name : OSSummit-NA + icon : # themify icon pack : https://themify.me/themify-icons + conf_dates : "April 15-19, 2024" + startdate : 04-15-2024 + enddate : 04-19-2024 + location : Seattle, WA + happy_hour : false + happy_hour_link : + happy_hour_text : + calendly : true + calendly_link : https://calendly.com/devex-institute/conference-meet-up?&location=1 + calendly_text : Let's meet up + + # event item loop + - title : Infobip Shift Miami + short_name : InfobipShift + icon : # themify icon pack : https://themify.me/themify-icons + conf_dates : "April 22-24, 2024" + startdate : 04-22-2024 + enddate : 04-24-2024 + location : Miami, FL + happy_hour : false + happy_hour_link : + happy_hour_text : + calendly : true + calendly_link : https://calendly.com/devex-institute/conference-meet-up?&location=1 + calendly_text : Let's meet up + + # event item loop + - title : DevOps Denver Meetup + short_name : DenverDevOps + icon : # themify icon pack : https://themify.me/themify-icons + conf_dates : "April 29-30, 2024" + startdate : 04-29-2024 + enddate : 04-30-2024 + location : Denver, CO + happy_hour : false + happy_hour_link : + happy_hour_text : + calendly : true + calendly_link : https://calendly.com/devex-institute/conference-meet-up?&location=1 + calendly_text : Let's meet up + + local_chat_item : +# # local chat item loop +# - title : +# icon : # themify icon pack : https://themify.me/themify-icons +# location : +# happy_hour : true +# happy_hour_link : +# happy_hour_text : +# calendly : true +# calendly_link : +# calendly_text : + + # local chat item loop + - title : London Area + icon : # themify icon pack : https://themify.me/themify-icons + location : + happy_hour : false + happy_hour_link : + happy_hour_text : + calendly : true + calendly_link : https://calendly.com/devex-institute/meet-up-in-london + calendly_text : Meet up anytime + + # local chat item loop + - title : Kansas City Metro Area + icon : # themify icon pack : https://themify.me/themify-icons + location : + happy_hour : false + happy_hour_link : + happy_hour_text : + calendly : true + calendly_link : https://calendly.com/devex-institute/meet-up-in-kansascity + calendly_text : Meet up anytime diff --git a/layouts/page/landingPage.html b/layouts/page/landingPage.html new file mode 100644 index 0000000..e390ae1 --- /dev/null +++ b/layouts/page/landingPage.html @@ -0,0 +1,26 @@ +{{ define "main" }} + +{{ partial "navigation.html" . }} + +{{ $filename := .File.ContentBaseName }} +{{ $data := index site.Data site.Language.Lang $filename }} +{{ $name := $data $filename.name }} +{{ if $name.enable }} +asdf +
+
+
+
+

asdf{{ .title_events }}

+
+
+
+ {{ .Content }} +
+
+
+
+
+ + {{ end }} + {{ end }} \ No newline at end of file diff --git a/layouts/page/meet-the-team.html b/layouts/page/meet-the-team.html new file mode 100644 index 0000000..e0e825a --- /dev/null +++ b/layouts/page/meet-the-team.html @@ -0,0 +1,77 @@ +{{ define "main" }} +{{ $data := index site.Data site.Language.Lang }} + +{{ partial "navigation.html" . }} + + {{ if $data.meet.meet.enable}} + {{ with $data.meet.meet }} +
+
+
+
+

{{ .title }}

+
+
+
+

{{ .content }}

+
+
+
+ +
+ +
+
+

{{ .title_events }}

+
+
+ {{ $events := .event_item }} + {{ range $events }} +
+
+
+

{{ .conf_dates }}: {{ .title }}, {{ .location }}

+

+ {{ if .happy_hour }} + {{ .happy_hour_text }} + {{ end }} + {{ if .calendly }} + {{ .calendly_text }} + {{ end }} +

+

+
+
+ {{ end }} + +
+ +
+
+

{{ .title_chats }}

+
+
+ {{ $local := .local_chat_item }} + {{ range $local }} +
+
+
+

{{ .title }}

+

+ {{ if .happy_hour }} + {{ .happy_hour_text }} + {{ end }} + {{ if .calendly }} + {{ .calendly_text }} + {{ end }} +

+
+
+
+ {{ end }} + +
+
+ {{ end }} + {{ end }} +{{ end }} \ No newline at end of file diff --git a/netlify.toml b/netlify.toml index 3f29f27..ca56556 100644 --- a/netlify.toml +++ b/netlify.toml @@ -19,7 +19,7 @@ command = "hugo --gc --buildFuture -b $DEPLOY_PRIME_URL" [context.branch-deploy] - command = "hugo --gc -b $DEPLOY_PRIME_URL" + command = "hugo --cleanDestinationDir --gc --buildFuture -b $DEPLOY_PRIME_URL" [context.next.environment] HUGO_ENABLEGITINFO = "true" @@ -27,4 +27,9 @@ [[redirects]] from = "/chat-with-team" to = "https://calendly.com/devex-institute/60min-chat-with-the-team" + status = 302 + +[[redirects]] + from = "/get-a-drink" + to = "/meet-the-team" status = 302 \ No newline at end of file