Skip to content

Commit

Permalink
Move new landing page + meet the team (#5)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jerdog committed Mar 6, 2024
1 parent 0e99015 commit a534343
Show file tree
Hide file tree
Showing 5 changed files with 303 additions and 1 deletion.
28 changes: 28 additions & 0 deletions 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)

166 changes: 166 additions & 0 deletions data/en/meet.yml
@@ -0,0 +1,166 @@
############################# Meet the Team ###################################
### in meet-the-team.html
### <p style="font-size: 1em; text-align: center;">{{ (time .startdate).Format "January 2" }}-{{ (time .enddate).Format "2, 2006" }}: <strong>{{ .title }}</strong>, {{ .location }}</p>
###

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
26 changes: 26 additions & 0 deletions 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
<section class="section">
<div class="container">
<div class="row">
<div class="col-lg-8 offset-lg-2 text-center">
<h1>asdf{{ .title_events }}</h1>
</div>
<div class="col-lg-8 offset-lg-2">
<div class="post-single-content">
{{ .Content }}
</div>
</div>
</div>
</div>
</section>

{{ end }}
{{ end }}
77 changes: 77 additions & 0 deletions 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 }}
<section class="section">
<div class="container">
<div class="row">
<div class="col-lg-8 offset-lg-2 text-center">
<h1>{{ .title }}</h1>
</div>
<div class="col-lg-8 offset-lg-2">
<div class="post-single-content" style="text-align: center;">
<p>{{ .content }}</p>
</div>
</div>
</div>

<hr style="border: 2px solid; margin-bottom: 2em;" />

<div class="row">
<div class="col-lg-8 offset-lg-2 text-center">
<h2 style="margin-bottom: 1em;">{{ .title_events }}</h2>
</div>
</div>
{{ $events := .event_item }}
{{ range $events }}
<div class="row" style="margin-bottom: 2em;">
<div class="col-lg-8 offset-lg-2">
<div class="post-single-content" style="text-align: center;">
<h4 style="color: #f8f9fa;">{{ .conf_dates }}: <strong>{{ .title }}</strong>, {{ .location }}<h4>
<p>
{{ if .happy_hour }}
<a href="{{ .happy_hour_link | safeURL }}" class="btn btn-main page-scroll">{{ .happy_hour_text }}</a>
{{ end }}
{{ if .calendly }}
<a href="{{ .calendly_link | safeURL }}&a2={{ .short_name }}&date={{ .startdate }}" class="btn btn-main page-scroll">{{ .calendly_text }}</a>
{{ end }}
</p>
</div>
</div>
</div>
{{ end }}

<hr style="border: 2px solid; margin-bottom: 2em;" />

<div class="row">
<div class="col-lg-8 offset-lg-2 text-center">
<h2 style="margin-bottom: 1em;">{{ .title_chats }}</h2>
</div>
</div>
{{ $local := .local_chat_item }}
{{ range $local }}
<div class="row" style="margin-bottom: 2em;">
<div class="col-lg-8 offset-lg-2">
<div class="post-single-content" style="text-align: center;">
<h4 style="color: #f8f9fa;">{{ .title }}</h4>
<p>
{{ if .happy_hour }}
<a href="{{ .happy_hour_link | safeURL }}" class="btn btn-main page-scroll">{{ .happy_hour_text }}</a>
{{ end }}
{{ if .calendly }}
<a href="{{ .calendly_link | safeURL }}" class="btn btn-main page-scroll">{{ .calendly_text }}</a>
{{ end }}
</p>
</div>
</div>
</div>
{{ end }}

</div>
</section>
{{ end }}
{{ end }}
{{ end }}
7 changes: 6 additions & 1 deletion netlify.toml
Expand Up @@ -19,12 +19,17 @@
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"

[[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

0 comments on commit a534343

Please sign in to comment.