diff --git a/dailyjs/live-fitness/.babelrc b/dailyjs/live-fitness/.babelrc
deleted file mode 100644
index a6f4434..0000000
--- a/dailyjs/live-fitness/.babelrc
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "presets": ["next/babel"],
- "plugins": ["inline-react-svg"]
-}
diff --git a/dailyjs/live-fitness/README.md b/dailyjs/live-fitness/README.md
deleted file mode 100644
index ed0d0e2..0000000
--- a/dailyjs/live-fitness/README.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Live Fitness
-
-Brings together
-
-- Live streaming
-- Recording
-- Flying emojis
-- Pagination / track management
-- Text chat
diff --git a/dailyjs/live-fitness/components/App/App.js b/dailyjs/live-fitness/components/App/App.js
deleted file mode 100644
index c7fecb6..0000000
--- a/dailyjs/live-fitness/components/App/App.js
+++ /dev/null
@@ -1,32 +0,0 @@
-import React from 'react';
-
-import App from '@dailyjs/basic-call/components/App';
-import FlyingEmojiOverlay from '@dailyjs/flying-emojis/components/FlyingEmojis';
-import { LiveStreamingProvider } from '@dailyjs/live-streaming/contexts/LiveStreamingProvider';
-import { RecordingProvider } from '@dailyjs/recording/contexts/RecordingProvider';
-import { ChatProvider } from '@dailyjs/text-chat/contexts/ChatProvider';
-import { ClassStateProvider } from '../../context/ClassStateProvider';
-import Room from '../Room';
-
-/**
- * We'll pass through our own custom Room for this example
- * as the layout logic changes considerably for the basic demo
- */
-export const LiveFitnessApp = () => (
-
-
-
-
-
- ,
- }}
- />
-
-
-
-
-);
-
-export default LiveFitnessApp;
diff --git a/dailyjs/live-fitness/components/App/index.js b/dailyjs/live-fitness/components/App/index.js
deleted file mode 100644
index 63c0538..0000000
--- a/dailyjs/live-fitness/components/App/index.js
+++ /dev/null
@@ -1 +0,0 @@
-export { LiveFitnessApp as default } from './App';
diff --git a/dailyjs/live-fitness/components/Room/Header.js b/dailyjs/live-fitness/components/Room/Header.js
deleted file mode 100644
index 1d14da8..0000000
--- a/dailyjs/live-fitness/components/Room/Header.js
+++ /dev/null
@@ -1,44 +0,0 @@
-import React, { useMemo } from 'react';
-import Button from '@dailyjs/shared/components/Button';
-import HeaderCapsule from '@dailyjs/shared/components/HeaderCapsule';
-import { useParticipants } from '@dailyjs/shared/contexts/ParticipantsProvider';
-
-export const Header = () => {
- const { participantCount } = useParticipants();
-
- return useMemo(
- () => (
-
-
-
-
- {`${participantCount} ${
- participantCount === 1 ? 'participant' : 'participants'
- }`}
-
-
-
-
-
- ),
- [participantCount]
- );
-};
-
-export default Header;
diff --git a/dailyjs/live-fitness/components/Room/Room.js b/dailyjs/live-fitness/components/Room/Room.js
deleted file mode 100644
index f6aa109..0000000
--- a/dailyjs/live-fitness/components/Room/Room.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import React from 'react';
-
-import { RoomContainer } from '@dailyjs/basic-call/components/Room/RoomContainer';
-import { VideoContainer } from '@dailyjs/shared/components/VideoContainer';
-import { Header } from './Header';
-
-export const Room = () => (
-
-
- Hello
-
-);
-
-export default RoomContainer;
diff --git a/dailyjs/live-fitness/components/Room/index.js b/dailyjs/live-fitness/components/Room/index.js
deleted file mode 100644
index ebab667..0000000
--- a/dailyjs/live-fitness/components/Room/index.js
+++ /dev/null
@@ -1 +0,0 @@
-export { Room as default } from './Room';
diff --git a/dailyjs/live-fitness/components/Splash/Splash.js b/dailyjs/live-fitness/components/Splash/Splash.js
deleted file mode 100644
index 93068e8..0000000
--- a/dailyjs/live-fitness/components/Splash/Splash.js
+++ /dev/null
@@ -1,221 +0,0 @@
-import React, { useState } from 'react';
-
-import Button from '@dailyjs/shared/components/Button';
-import Loader from '@dailyjs/shared/components/Loader';
-import { Well } from '@dailyjs/shared/components/Well';
-import PropTypes from 'prop-types';
-
-/**
- * Splash
- * ---
- * - Checks our app is configured properly
- * - Creates a new Daily room for this session
- * - Calls the onJoin method with the room name and instructor (owner) status
- */
-export const Splash = ({ onJoin, isConfigured }) => {
- const [fetching, setFetching] = useState(false);
- const [error, setError] = useState(false);
-
- async function createRoom(asInstructor) {
- // Create a new room for this class
- setError(false);
- setFetching(true);
-
- console.log(`🚪 Creating new demo room...`);
-
- // Create a room server side (using Next JS serverless)
- const res = await fetch('/api/createRoom', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- body: JSON.stringify({
- privacy: 'private',
- expiryMinutes: 10,
- }),
- });
-
- const resJson = await res.json();
-
- if (resJson.name) {
- onJoin(resJson.name, asInstructor);
- return;
- }
-
- setError(resJson.error || 'An unknown error occured');
- setFetching(false);
- }
-
- return (
-
-
-
-
-
-
-
- {(() => {
- // Application is not yet configured (there are missing globals, such as domain and dev key)
- if (!isConfigured)
- return (
- <>
-
Not configured
-
- Please ensure you have set both the{' '}
- DAILY_API_KEY and DAILY_DOMAIN{' '}
- environmental variables. An example can be found in the
- provided env.example file.
-
-
- If you do not yet have a Daily developer account, please{' '}
-
- create one now
- {' '}
- . You can find your Daily API key on the{' '}
-
- developer page
-
- of the dashboard.
-
- >
- );
-
- // There was an error creating the room
- if (error)
- return (
-
- {error}
- An error occured when trying to create a demo room. Please
- check that your environmental variables are correct and try
- again.
-
- );
-
- // Loader whilst we create the room
- if (fetching)
- return (
- <>
-
- This example demonstrates how to use Daily JS to create a live
- class experience. Please be sure to reference the project
- readme first.
-
-
- Note: all rooms created with this demo will have a 5 minute
- expiry time. If you would like to create a longer running
- room, please set the DAILY_ROOM environmental
- variable to use your own custom room.
-