Skip to content

Commit

Permalink
Merge pull request #8 from syncosaurus/diagrams
Browse files Browse the repository at this point in the history
Diagrams
  • Loading branch information
sklarfox authored Apr 23, 2024
2 parents ad2b677 + af112f5 commit 82ab0d2
Show file tree
Hide file tree
Showing 50 changed files with 1,542 additions and 240 deletions.
12 changes: 0 additions & 12 deletions blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions blog/2019-05-29-long-blog-post.md

This file was deleted.

20 changes: 0 additions & 20 deletions blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions blog/2021-08-26-welcome/index.md

This file was deleted.

17 changes: 0 additions & 17 deletions blog/authors.yml

This file was deleted.

1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
slug: /
title: Introduction
sidebar_position: 1
---

Expand Down
18 changes: 8 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
import 'dotenv/config'
import { themes as prismThemes } from 'prism-react-renderer'
import tailwindPlugin from './plugins/tailwind-config.cjs'
import remarkMath from 'remark-math'
import rehypeKatex from 'rehype-katex'

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Syncosaurus',
tagline:
'Syncosaurus is a React-and-Javascript-based framework for building real-time, collaborative React applications backed by the Cloudflare edge network of Workers and Durable Objects.',
"A performant, collaborative, real-time Javascript framework that enables developers to focus on their application's features and business logic, instead of the complexities of state synchronization and conflict resolution.",
favicon: 'img/favicon.ico',

// Set the production url of your site here
Expand Down Expand Up @@ -53,9 +51,7 @@ const config = {
sidebarPath: './sidebars.js',
sidebarCollapsed: false,
},
blog: {
showReadingTime: true,
},
blog: false,
theme: {
customCss: './src/css/custom.css',
},
Expand All @@ -66,8 +62,6 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'Syncosaurus',
logo: {
Expand All @@ -80,7 +74,7 @@ const config = {
{ type: 'doc', label: 'Docs', docId: 'index', position: 'right' },
{
to: 'https://github.com/syncosaurus',
label: 'GitHub',
label: 'Github',
position: 'right',
},
],
Expand All @@ -101,9 +95,13 @@ const config = {
to: '/case-study',
},
{
label: 'Team',
label: 'The Team',
to: '/team',
},
{
label: 'Docs',
to: '/docs',
},
{
label: 'GitHub',
to: 'https://github.com/syncosaurus',
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@babel/plugin-syntax-jsx": "^7.24.1",
"@docusaurus/core": "3.2.1",
"@docusaurus/preset-classic": "3.2.1",
"@emotion/styled": "^11.11.5",
Expand Down
33 changes: 33 additions & 0 deletions src/components/Diagrams/allDiagrams.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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 (
<>
<Websockets />
<AbsoluteUpdates />
<Centralized />
<ConflictEdits />
<CRDT />
<DeltaUpdate />
<LongPolling />
<NewClientConnection />
<ONMessaging />
<ON2Messaging />
<OptimisticUI />
<OT />
<P2P />
<RelativeUpdate />
<StateUpdates />
<SyncingModel1 />
<SyncingModel2 />
<SyncingModel3 />
<SyncingModel4 />
<TimeDrivenMessages />
<WhiteboardDemo />
<WhiteboardDemoLatency />
</>
)
}

export default AllDiagrams
Loading

0 comments on commit 82ab0d2

Please sign in to comment.