- 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 <suzanned@spotify.com>
This commit is contained in:
Suzanne Daniels
2022-03-23 16:42:39 +01:00
parent aaacf44834
commit b6178776a8
7 changed files with 27 additions and 8 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ const Background = props => {
<br />
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.
</Block.Paragraph>
+2 -2
View File
@@ -36,7 +36,7 @@ const Background = props => {
<iframe
width="1280"
height="720"
src="https://www.youtube.com/embed/OmXi6iwq5qo"
src="https://www.youtube.com/embed/mFi_X58igzk"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
@@ -45,7 +45,7 @@ const Background = props => {
</Block.Paragraph>
<Block.TextBox>
<iframe
src="https://www.youtube.com/live_chat?v=OmXi6iwq5qo&embed_domain=localhost&dark_theme=1"
src="https://www.youtube.com/live_chat?v=mFi_X58igzk&embed_domain=backstage.io&dark_theme=1"
width="400px"
height="680px"
></iframe>
+3 -2
View File
@@ -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;