From b6178776a833de193fef1de72a0e41dced873fff Mon Sep 17 00:00:00 2001 From: Suzanne Daniels Date: Wed, 23 Mar 2022 16:42:39 +0100 Subject: [PATCH] - adding upcoming meetups - changing sort to sort the readdirfilesync - preparing /live page for adopters meetup - changing embed of livepage to correct domain - fix small typos - removing . . in recording 20211118 Signed-off-by: Suzanne Daniels --- microsite/data/on-demand/20211118-01.yaml | 2 +- microsite/data/on-demand/20220323.yaml | 2 +- microsite/data/on-demand/20220420-1.yaml | 9 +++++++++ microsite/data/on-demand/20220427-1.yaml | 9 +++++++++ microsite/pages/en/community.js | 4 ++-- microsite/pages/en/live.js | 4 ++-- microsite/pages/en/on-demand.js | 5 +++-- 7 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 microsite/data/on-demand/20220420-1.yaml create mode 100644 microsite/data/on-demand/20220427-1.yaml diff --git a/microsite/data/on-demand/20211118-01.yaml b/microsite/data/on-demand/20211118-01.yaml index 645e375757..754344a62e 100644 --- a/microsite/data/on-demand/20211118-01.yaml +++ b/microsite/data/on-demand/20211118-01.yaml @@ -2,6 +2,6 @@ title: Community Sessions date: November 18, 2021 category: Meetup -description: In the contributors track for this month’s community session, hear about upcoming deprecations, the fruits of Hacktoberfest, the future of both the Kubernetes plugin and the Tech Insights plugin, tips on contributing, and more. . +description: In the contributors track for this month’s community session, hear about upcoming deprecations, the fruits of Hacktoberfest, the future of both the Kubernetes plugin and the Tech Insights plugin, tips on contributing, and more. youtubeUrl: https://youtu.be/n1OWGwYAOiI youtubeImgUrl: https://i1.ytimg.com/vi/n1OWGwYAOiI/mqdefault.jpg diff --git a/microsite/data/on-demand/20220323.yaml b/microsite/data/on-demand/20220323.yaml index d18c795bf1..4306eaefdf 100644 --- a/microsite/data/on-demand/20220323.yaml +++ b/microsite/data/on-demand/20220323.yaml @@ -4,6 +4,6 @@ date: March 23, 2022 category: Upcoming description: Join the maintainers and contributors for the Contributor Community Sessions youtubeUrl: https://youtu.be/evf_LV0KzIk -youtubeImgUrl: http://localhost:3000/img/b-sessions.png +youtubeImgUrl: https://backstage.io/img/b-sessions.png rsvpUrl: https://calendar.google.com/calendar/embed?src=c_qup9gbhn9sqpuao6trttd8mk5s@group.calendar.google.com eventUrl: https://github.com/backstage/community/issues diff --git a/microsite/data/on-demand/20220420-1.yaml b/microsite/data/on-demand/20220420-1.yaml new file mode 100644 index 0000000000..a32402aa68 --- /dev/null +++ b/microsite/data/on-demand/20220420-1.yaml @@ -0,0 +1,9 @@ +--- +title: Adopters Community Sessions +date: April 20, 2022 +category: Upcoming +description: Adopters Community Session ✨. It's the monthly meetup where we all come together to listen to the latest maintainer updates, learn from each other about adopting, share exciting new demos or discuss any relevant topic like developer effectiveness, developer experience, developer portals, etc. +youtubeUrl: https://youtu.be/mFi_X58igzk +youtubeImgUrl: https://backstage.io/img/b-sessions.png +rsvpUrl: https://calendar.google.com/calendar/embed?src=c_qup9gbhn9sqpuao6trttd8mk5s@group.calendar.google.com +eventUrl: https://github.com/backstage/community/issues diff --git a/microsite/data/on-demand/20220427-1.yaml b/microsite/data/on-demand/20220427-1.yaml new file mode 100644 index 0000000000..f6b8873bb8 --- /dev/null +++ b/microsite/data/on-demand/20220427-1.yaml @@ -0,0 +1,9 @@ +--- +title: Contributor Community Sessions +date: April 27, 2022 +category: Upcoming +description: Join the maintainers and contributors for the Contributor Community Sessions +youtubeUrl: https://youtu.be/evf_LV0KzIk +youtubeImgUrl: https://backstage.io/img/b-sessions.png +rsvpUrl: https://calendar.google.com/calendar/embed?src=c_qup9gbhn9sqpuao6trttd8mk5s@group.calendar.google.com +eventUrl: https://github.com/backstage/community/issues diff --git a/microsite/pages/en/community.js b/microsite/pages/en/community.js index e5a15d1bd2..a6795e2c24 100644 --- a/microsite/pages/en/community.js +++ b/microsite/pages/en/community.js @@ -62,8 +62,8 @@ const Background = props => {
Backstage Community Sessions is the monthly meetup where we all come together to listen to the latest maintainer updates, learn - from eachother about adopting, share exciting new demos or discuss - any relevat topic like developer effectiveness, developer + from each other about adopting, share exciting new demos or + discuss any relevant topic like developer effectiveness, developer experience, developer portals, etc. diff --git a/microsite/pages/en/live.js b/microsite/pages/en/live.js index 583ba5af10..0cde700697 100644 --- a/microsite/pages/en/live.js +++ b/microsite/pages/en/live.js @@ -36,7 +36,7 @@ const Background = props => { diff --git a/microsite/pages/en/on-demand.js b/microsite/pages/en/on-demand.js index 9fa58fa902..41a730205b 100644 --- a/microsite/pages/en/on-demand.js +++ b/microsite/pages/en/on-demand.js @@ -16,8 +16,9 @@ const { const ondemandDirectory = require('path').join(process.cwd(), 'data/on-demand'); const ondemandMetadata = fs .readdirSync(ondemandDirectory) - .map(file => yaml.load(fs.readFileSync(`./data/on-demand/${file}`, 'utf8'))) - .reverse(); + .sort() + .reverse() + .map(file => yaml.load(fs.readFileSync(`./data/on-demand/${file}`, 'utf8'))); const truncate = text => text.length > 170 ? text.substr(0, 170) + '...' : text;