From aaacf4483419eb777d1e4691c6a3d70311e772d6 Mon Sep 17 00:00:00 2001 From: Suzanne Daniels Date: Wed, 23 Mar 2022 10:38:18 +0100 Subject: [PATCH] - Adding past community sessions - Updated upcoming session with better img - Fixing sort mechanism for on-demand - Improving text on /community - Updating instructions to reflect changes in sorting Signed-off-by: Suzanne Daniels --- docs/overview/support.md | 8 ++++---- microsite/data/on-demand/20211117-01.yaml | 7 +++++++ microsite/data/on-demand/20211118-01.yaml | 7 +++++++ microsite/data/on-demand/20211215-01.yaml | 7 +++++++ microsite/data/on-demand/20211216-01.yaml | 7 +++++++ microsite/data/on-demand/20220323.yaml | 2 +- microsite/pages/en/community.js | 4 ++-- microsite/pages/en/on-demand.js | 2 +- 8 files changed, 36 insertions(+), 8 deletions(-) create mode 100644 microsite/data/on-demand/20211117-01.yaml create mode 100644 microsite/data/on-demand/20211118-01.yaml create mode 100644 microsite/data/on-demand/20211215-01.yaml create mode 100644 microsite/data/on-demand/20211216-01.yaml diff --git a/docs/overview/support.md b/docs/overview/support.md index 9eb2700cc8..5122a1c9ff 100644 --- a/docs/overview/support.md +++ b/docs/overview/support.md @@ -28,12 +28,12 @@ Check out the Backstage.io [Backstage Community Hub](https://backstage.io/commun To add a new recording to the [meetup page](https://backstage.io/on-demand) create a file in [`microsite/data/on-demand`](https://github.com/backstage/backstage/tree/master/microsite/data/on-demand) -with your recording's information. Example: +with your recording's information. Filenames should be in the format `yyyymmdd-xx.yaml`. The page will sort using the filename. Example file content: ```yaml --- title: # name of the meetup -date: February 23, 2022 # date, format: Month day, year. This is the index field. +date: February 23, 2022 # date, format: Month day, year. category: Meetup # Can be Event, Meetup, Webinar description: # description, summary youtubeUrl: # Url to youtube video @@ -45,12 +45,12 @@ youtubeImgUrl: # Url to the preview image, for Youtube this is the format: https To add an upcoming meetup to the [meetup page](https://backstage.io/on-demand) create a file in [`microsite/data/on-demand`](https://github.com/backstage/backstage/tree/master/microsite/data/on-demand) -with your meetup's information. Example: +with your meetup's information. Filenames should be in the format `yyyymmdd-xx.yaml`, the page will sort using the filename. Example file content: ```yaml --- title: # name of the meetup -date: February 23, 2022 # date, format: Month day, year. This is the index field. +date: February 23, 2022 # date, format: Month day, year. category: Upcoming # Should be "Upcoming" description: # description, summary youtubeUrl: # Url to youtube video diff --git a/microsite/data/on-demand/20211117-01.yaml b/microsite/data/on-demand/20211117-01.yaml new file mode 100644 index 0000000000..21410fc85f --- /dev/null +++ b/microsite/data/on-demand/20211117-01.yaml @@ -0,0 +1,7 @@ +--- +title: Community Sessions +date: November 17, 2021 +category: Meetup +description: At this month’s adopters session, get the scoop on Spotify’s plan for paid plugins, a first look at Box’s DevPortal, and answers to big questions, like “How will I know if Backstage will work at a large company like mine?” +youtubeUrl: https://youtu.be/apCDT3_DmFk +youtubeImgUrl: https://i1.ytimg.com/vi/apCDT3_DmFk/mqdefault.jpg diff --git a/microsite/data/on-demand/20211118-01.yaml b/microsite/data/on-demand/20211118-01.yaml new file mode 100644 index 0000000000..645e375757 --- /dev/null +++ b/microsite/data/on-demand/20211118-01.yaml @@ -0,0 +1,7 @@ +--- +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. . +youtubeUrl: https://youtu.be/n1OWGwYAOiI +youtubeImgUrl: https://i1.ytimg.com/vi/n1OWGwYAOiI/mqdefault.jpg diff --git a/microsite/data/on-demand/20211215-01.yaml b/microsite/data/on-demand/20211215-01.yaml new file mode 100644 index 0000000000..ce51fe3a9c --- /dev/null +++ b/microsite/data/on-demand/20211215-01.yaml @@ -0,0 +1,7 @@ +--- +title: Community Sessions +date: December 15, 2021 +category: Meetup +description: At our final adopters session of 2021, the community received a grab bag of end-of-year treats, including eye-catching infographics, a presentation from finance startup Brex about their path to adopting Backstage, and tips on branding your Backstage portal. Plus, get your official Backstage Zoom background. But first up, a quick look back at the year that was. +youtubeUrl: https://youtu.be/0QMQYSTKAx0 +youtubeImgUrl: https://i1.ytimg.com/vi/0QMQYSTKAx0/mqdefault.jpg diff --git a/microsite/data/on-demand/20211216-01.yaml b/microsite/data/on-demand/20211216-01.yaml new file mode 100644 index 0000000000..9600a5f13b --- /dev/null +++ b/microsite/data/on-demand/20211216-01.yaml @@ -0,0 +1,7 @@ +--- +title: Community Sessions +date: December 16, 2021 +category: Meetup +description: At our final contributors session of 2021, see how the new Backstage Upgrade Helper works and enjoy smoother upgrades, hear updates from the maintainers, and meet our contributor of the month. As in the adopters session, first we celebrate the year’s milestones and share a few resources you can use to spread the word about Backstage. +youtubeUrl: https://youtu.be/nYjI2j-lWEM +youtubeImgUrl: https://i1.ytimg.com/vi/nYjI2j-lWEM/mqdefault.jpg diff --git a/microsite/data/on-demand/20220323.yaml b/microsite/data/on-demand/20220323.yaml index 4a55111c3e..d18c795bf1 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: https://i1.ytimg.com/vi/evf_LV0KzIk/mqdefault.jpg +youtubeImgUrl: http://localhost:3000/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 35eb6d766c..e5a15d1bd2 100644 --- a/microsite/pages/en/community.js +++ b/microsite/pages/en/community.js @@ -22,7 +22,7 @@ const Background = props => { What's the use of having fun if you can't share it? Exactly. Join the vibrant community around the Backstage project. Be it on GitHub, social media, Discord... You'll find a welcoming - environment, to ensure this we follow the{' '} + environment. To ensure this, we follow the{' '} {' '} CNCF Code of Conduct @@ -74,7 +74,7 @@ const Background = props => { Backstage (Backstage of Backstage? Backerstage?). An open discussion with maintainers and contributors of Backstage. - Watch now + Meetups yaml.load(fs.readFileSync(`./data/on-demand/${file}`, 'utf8'))) - .sort((b, a) => a.date.toLowerCase().localeCompare(b.date.toLowerCase())); + .reverse(); const truncate = text => text.length > 170 ? text.substr(0, 170) + '...' : text;