Skip to content

Commit

Permalink
remove old allDiagrams test file
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Margetis <[email protected]>
Co-authored-by: Joseph Liang <[email protected]>
  • Loading branch information
3 people committed Apr 25, 2024
1 parent 13fbc2a commit 3fa6c41
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 61 deletions.
33 changes: 0 additions & 33 deletions src/components/Diagrams/allDiagrams.js

This file was deleted.

36 changes: 10 additions & 26 deletions src/components/Diagrams/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,42 +347,26 @@ export const DashboardArchitecture = () => {

export const CRDT = () => {
return (
<figure>
<object
type="image/svg+xml"
data="/img/diagrams/diag-CRDT.svg"
className="w-96"
></object>
className="w-8/12"
></object>
<figcaption></figcaption>
</figure>
)
}

export const OT = () => {
return (
<object
type="image/svg+xml"
data="/img/diagrams/diag-OT.svg"
className="w-96"
></object>
)
}

export const SyncingModel2 = () => {
return (
<div className="flex justify-center mt-24">
<figure>
<object
type="image/svg+xml"
data="/img/diagrams/diag-syncingModel-2.svg"
className="h-64"
data="/img/diagrams/diag-OT.svg"
className="w-8/12"
></object>
</div>
)
}

export const Template = () => {
return (
<object
type="image/svg+xml"
data="/img/diagrams/diag-Template.svg"
className="w-96"
></object>
<figcaption></figcaption>
</figure>
)
}
2 changes: 0 additions & 2 deletions src/pages/case-study.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -26,7 +25,6 @@ import {
RelativeUpdate,
StateUpdates,
SyncingModel1,
SyncingModel2,
SyncingModel3,
SyncingModel4,
TimeDrivenMessages,
Expand Down

0 comments on commit 3fa6c41

Please sign in to comment.