From 3fa6c411d7a7393b5e562c3d60f2a0ff96972b6b Mon Sep 17 00:00:00 2001 From: Alex Sklar Date: Wed, 24 Apr 2024 21:57:35 -0700 Subject: [PATCH] remove old allDiagrams test file Co-authored-by: Erik Margetis Co-authored-by: Joseph Liang --- src/components/Diagrams/allDiagrams.js | 33 ----------------------- src/components/Diagrams/index.js | 36 +++++++------------------- src/pages/case-study.mdx | 2 -- 3 files changed, 10 insertions(+), 61 deletions(-) delete mode 100644 src/components/Diagrams/allDiagrams.js diff --git a/src/components/Diagrams/allDiagrams.js b/src/components/Diagrams/allDiagrams.js deleted file mode 100644 index f0d5ccc..0000000 --- a/src/components/Diagrams/allDiagrams.js +++ /dev/null @@ -1,33 +0,0 @@ -import {Websockets, AbsoluteUpdates, Centralized, ConflictEdits, CRDT, DeltaUpdate, LongPolling, NewClientConnection, ONMessaging, ON2Messaging, OptimisticUI, OT, P2P, RelativeUpdate, StateUpdates, SyncingModel1, SyncingModel2, SyncingModel3, SyncingModel4, TimeDrivenMessages, WhiteboardDemo, WhiteboardDemoLatency } from '@site/src/components/Diagrams/index.js' - -const AllDiagrams = () => { - - return ( - <> - - - - - - - - - - - - - - - - - - - - - - - - ) -} - -export default AllDiagrams \ No newline at end of file diff --git a/src/components/Diagrams/index.js b/src/components/Diagrams/index.js index 3c3029b..daff8ae 100644 --- a/src/components/Diagrams/index.js +++ b/src/components/Diagrams/index.js @@ -347,42 +347,26 @@ export const DashboardArchitecture = () => { export const CRDT = () => { return ( +
+ className="w-8/12" + > +
+
) } export const OT = () => { return ( - - ) -} - -export const SyncingModel2 = () => { - return ( -
+
-
- ) -} - -export const Template = () => { - return ( - +
+ ) } diff --git a/src/pages/case-study.mdx b/src/pages/case-study.mdx index 848d78f..949ebeb 100644 --- a/src/pages/case-study.mdx +++ b/src/pages/case-study.mdx @@ -8,7 +8,6 @@ import LatencySlider from '@site/src/components/LatencySlider/LatencySlider' import TodoList from '@site/src/components/TodoList/TodoList' import Tabs from '@theme/Tabs' import TabItem from '@theme/TabItem' -import AllDiagrams from '@site/src/components/Diagrams/allDiagrams.js' import { Websockets, AbsoluteUpdates, @@ -26,7 +25,6 @@ import { RelativeUpdate, StateUpdates, SyncingModel1, - SyncingModel2, SyncingModel3, SyncingModel4, TimeDrivenMessages,