From 010b144b6dc34b8f39cce034c0846aa50e8a0ad9 Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Wed, 24 Jan 2024 14:12:33 +0100 Subject: [PATCH] Remove outdated initiatives Signed-off-by: Philipp Hugenroth --- microsite/docusaurus.config.js | 2 +- microsite/src/pages/community/index.tsx | 65 +------------------ microsite/src/pages/nominate/index.tsx | 27 -------- .../src/pages/nominate/nominate.module.scss | 32 --------- 4 files changed, 2 insertions(+), 124 deletions(-) delete mode 100644 microsite/src/pages/nominate/index.tsx delete mode 100644 microsite/src/pages/nominate/nominate.module.scss diff --git a/microsite/docusaurus.config.js b/microsite/docusaurus.config.js index f07f9da6af..df2833b3e2 100644 --- a/microsite/docusaurus.config.js +++ b/microsite/docusaurus.config.js @@ -277,7 +277,7 @@ module.exports = { to: 'https://developer.spotify.com/', }, { - label: 'Github', + label: 'GitHub', to: 'https://github.com/backstage/', }, ], diff --git a/microsite/src/pages/community/index.tsx b/microsite/src/pages/community/index.tsx index 9b10183ea4..dbc2c4b5e1 100644 --- a/microsite/src/pages/community/index.tsx +++ b/microsite/src/pages/community/index.tsx @@ -36,11 +36,6 @@ const Community = () => { label: 'Community newsletter', link: 'https://info.backstage.spotify.com/newsletter_subscribe', }, - { - content: 'Join the', - label: 'Twitter community', - link: 'https://twitter.com/i/communities/1494019781716062215', - }, ]; const officialInitiatives: ICollectionItem[] = [ @@ -58,45 +53,11 @@ const Community = () => { link: 'https://info.backstage.spotify.com/newsletter_subscribe', label: 'Subscribe', }, - { - title: 'Contributor Spotlight', - content: - "A recognition for valuable community work. Nominate contributing members for their efforts! We'll put them in the spotlight ❤️", - link: '/nominate', - label: 'Nominate now', - }, - ]; - - const communityInitiatives: ICollectionItem[] = [ - { - title: 'Open Mic Meetup', - content: ( - <> - A casual get together of Backstage users sharing their experiences and - helping each other. Hosted by{' '} - Roadie.io and{' '} - Frontside Software. - - ), - link: 'https://backstage-openmic.com/', - label: 'Learn more', - }, - { - title: 'Backstage Weekly Newsletter', - content: ( - <> - A weekly newsletter with news, updates and things community from your - friends at Roadie.io. - - ), - link: 'https://roadie.io/backstage-weekly/', - label: 'Learn more', - }, ]; const trainingNCertifications: ICollectionItem[] = [ { - title: 'Open Mic Meetup', + title: 'Introduction to Backstage: Developer Portals Made Easy (LFS142x)', content: 'This is a course produced and curated by the Linux Foundation. This course introduces you to Backstage and how to get started with the project.', link: 'https://training.linuxfoundation.org/training/introduction-to-backstage-developer-portals-made-easy-lfs142x/', @@ -204,30 +165,6 @@ const Community = () => { - - Community initiatives} - > - {communityInitiatives.map( - ({ title, content, link, label }, index) => ( - -

{content}

-
- ), - )} -
-
- { - return ( - -
- - Contributor Spotlight nomination}> - - - -
-
- ); -}; - -export default Nominate; diff --git a/microsite/src/pages/nominate/nominate.module.scss b/microsite/src/pages/nominate/nominate.module.scss deleted file mode 100644 index cdec103a8a..0000000000 --- a/microsite/src/pages/nominate/nominate.module.scss +++ /dev/null @@ -1,32 +0,0 @@ -.nominatePage { - font-size: 1.25rem; - - &, - & > section, - & > section > div { - flex: 1; - display: flex; - flex-direction: column; - } - - & > section > div > div { - flex: 1; - grid-template-rows: auto 1fr; - } - - h1 { - font-size: 54px; - line-height: 56px; - word-break: break-word; - } - - p { - text-align: justify; - } - - iframe { - width: 100%; - height: 100%; - min-height: 400px; - } -}