diff --git a/microsite-next/src/components/simpleCard/simpleCard.tsx b/microsite-next/src/components/simpleCard/simpleCard.tsx
deleted file mode 100644
index 77be566f18..0000000000
--- a/microsite-next/src/components/simpleCard/simpleCard.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from 'react';
-
-export interface ICardData {
- header: React.ReactNode;
- body: React.ReactNode;
- footer: React.ReactNode;
-}
-
-export const SimpleCard = ({ header, body, footer }: ICardData) => (
-
-
{header}
-
-
{body}
-
-
{footer}
-
-);
diff --git a/microsite-next/src/pages/on-demand/_onDemandCard.tsx b/microsite-next/src/pages/on-demand/_onDemandCard.tsx
deleted file mode 100644
index e203c80f9a..0000000000
--- a/microsite-next/src/pages/on-demand/_onDemandCard.tsx
+++ /dev/null
@@ -1,66 +0,0 @@
-import Link from '@docusaurus/Link';
-import { SimpleCard } from '@site/src/components/simpleCard/simpleCard';
-import React from 'react';
-
-export interface IOnDemandData {
- title: string;
- category: string;
- description: string;
- date: string;
- youtubeUrl: string;
- youtubeImgUrl: string;
- rsvpUrl: string;
- eventUrl: string;
-}
-
-export const OnDemandCard = ({
- title,
- category,
- description,
- date,
- youtubeUrl,
- youtubeImgUrl,
- rsvpUrl,
- eventUrl,
-}: IOnDemandData) => (
-
- {title}
-
- on {date}
-
- {category}
-
-
- >
- }
- body={{description}
}
- footer={
- category.toLowerCase() === 'upcoming' ? (
- <>
-
- Event page
-
-
-
- Remind me
-
- >
- ) : (
-
- Watch on YouTube
-
- )
- }
- />
-);
diff --git a/microsite-next/src/pages/on-demand/index.tsx b/microsite-next/src/pages/on-demand/index.tsx
deleted file mode 100644
index 7262005f70..0000000000
--- a/microsite-next/src/pages/on-demand/index.tsx
+++ /dev/null
@@ -1,78 +0,0 @@
-import Layout from '@theme/Layout';
-import clsx from 'clsx';
-import React from 'react';
-
-import { IOnDemandData, OnDemandCard } from './_onDemandCard';
-import pluginsStyles from './onDemand.module.scss';
-import { truncateDescription } from '@site/src/util/truncateDescription';
-import Link from '@docusaurus/Link';
-
-//#region Plugin data import
-const onDemandContext = require.context(
- '../../../../microsite/data/on-demand',
- false,
- /\.ya?ml/,
-);
-
-const onDemandData = onDemandContext.keys().reduce(
- (acum, id) => {
- const pluginData: IOnDemandData = onDemandContext(id).default;
-
- acum[
- pluginData.category === 'Upcoming' ? 'upcomingEvents' : 'onDemandEvents'
- ].push(truncateDescription(pluginData));
-
- return acum;
- },
- {
- upcomingEvents: [] as IOnDemandData[],
- onDemandEvents: [] as IOnDemandData[],
- },
-);
-//#endregion
-
-const Plugins = () => (
-
-
-
-
-
Community sessions
-
-
- Upcoming events and recorded sessions about updates, demos and
- discussions.
-
-
-
-
- Add an event or recording
-
-
-
-
-
-
Upcoming live events
-
-
- {onDemandData.upcomingEvents.map(eventData => (
-
- ))}
-
-
-
Community on demand
-
-
- {onDemandData.onDemandEvents.map(eventData => (
-
- ))}
-
-
-
-);
-
-export default Plugins;
diff --git a/microsite-next/src/pages/on-demand/onDemand.module.scss b/microsite-next/src/pages/on-demand/onDemand.module.scss
deleted file mode 100644
index fba051ec97..0000000000
--- a/microsite-next/src/pages/on-demand/onDemand.module.scss
+++ /dev/null
@@ -1,44 +0,0 @@
-.onDemandPage {
- :global(.marketplaceBanner) {
- display: flex;
- align-items: center;
- }
-
- :global(.marketplaceContent) {
- flex: 1;
- }
-
- :global(.card) {
- max-width: 100%;
- }
-
- :global(.card .card__header) {
- display: grid;
- row-gap: 0.25rem;
- column-gap: 1rem;
- justify-items: start;
-
- > * {
- margin: 0;
- }
-
- :global(img) {
- width: 250px;
- max-width: 100%;
- justify-self: center;
- }
- }
-
- :global(.card .card__footer) {
- gap: 1rem;
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
- }
-
- :global(.cardsContainer) {
- gap: 1rem;
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
- justify-items: start;
- }
-}
diff --git a/microsite-next/src/util/truncateDescription.tsx b/microsite-next/src/util/truncateDescription.tsx
deleted file mode 100644
index dc661cbd49..0000000000
--- a/microsite-next/src/util/truncateDescription.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-export const maxDescLength = 160;
-
-export const truncateDescription = (
- itemData: T,
-) =>
- itemData.description.length > maxDescLength
- ? {
- ...itemData,
- description: itemData.description.slice(0, maxDescLength) + '...',
- }
- : itemData;