Skip to content

Commit

Permalink
Close #73: add playground links
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed May 16, 2024
1 parent 85c45c7 commit 282c83b
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 9 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ If you wanna use `TGrid` in `NestJS`, read `Nestia` guide documents, too.
## Playground
You can quickly experience `TGrid` on the playground websites:
- [Remote Function Call](https://stackblitz.com/~/github.com/samchon/tgrid.example.remote-function-call?file=src/client.ts&view=editor)
- [Remote Object Call](https://stackblitz.com/~/github.com/samchon/tgrid.example.remote-object-call?file=src/client.ts&view=editor)
- [Object Oriented Network](https://stackblitz.com/~/github.com/samchon/tgrid.example.object-oriented-network?file=src/composite.ts&view=editor)
- [WebSocket Protocool](https://stackblitz.com/~/github.com/samchon/tgrid.example.websocket?file=src/client.ts&view=editor)
- [Worker Protocol](https://stackblitz.com/~/github.com/samchon/tgrid.example.worker?file=src/client.ts&view=editor)
- [NestJS WebSocket](https://stackblitz.com/~/github.com/samchon/tgrid.example.nestjs?file=src/calculate.test.ts&view=editor)
## Guide Documents
Check out the document in the [website](https://tgrid.com/docs):
Expand Down
1 change: 1 addition & 0 deletions website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const withNextra = require("nextra")({
/** @type {import('next').NextConfig} */
const config = {
...withNextra(),
output: "export",
exportTrailingSlash: true,
images: {
unoptimized: true,
Expand Down
4 changes: 2 additions & 2 deletions website/package-lock.json

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

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Typia Guide Documents",
"private": true,
"scripts": {
"build": "rimraf .next && rimraf out && typedoc && next build && next export && next-sitemap",
"build": "rimraf .next && rimraf out && typedoc && next build && next-sitemap",
"deploy": "node build/deploy",
"dev": "next dev",
"prepare": "typedoc"
Expand Down
34 changes: 33 additions & 1 deletion website/pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,38 @@
},
"playground": {
"title": "💻 Playground",
"type": "page"
"type": "menu",
"items": {
"remote-function-call": {
"title": "Remote Function Call",
"href": "https://stackblitz.com/~/github.com/samchon/tgrid.example.remote-function-call?file=src/client.ts&view=editor",
"newWindow": true
},
"remote-object-call": {
"title": "Remote Object Call",
"href": "https://stackblitz.com/~/github.com/samchon/tgrid.example.remote-object-call?file=src/client.ts&view=editor",
"newWindow": true
},
"object-oriented-network": {
"title": "Object Oriented Network",
"href": "https://stackblitz.com/~/github.com/samchon/tgrid.example.object-oriented-network?file=src/composite.ts&view=editor",
"newWindow": true
},
"websocket": {
"title": "WebSocket Protocol",
"href": "https://stackblitz.com/~/github.com/samchon/tgrid.example.websocket?file=src/client.ts&view=editor",
"newWindow": true
},
"worker": {
"title": "Worker Protocol",
"href": "https://stackblitz.com/~/github.com/samchon/tgrid.example.worker?file=src/client.ts&view=editor",
"newWindow": true
},
"nestjs": {
"title": "NestJS WebSocket",
"href": "https://stackblitz.com/~/github.com/samchon/tgrid.example.nestjs?file=src/calculate.test.ts&view=editor",
"newWindow": true
}
}
}
}
4 changes: 2 additions & 2 deletions website/src/movies/home/HomeHeroMovie.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ const HomeHeroMovie = () => (
>
<React.Fragment>
<span style={{ color: PURPLE }}>{"await "}</span>
<span style={{ color: CYAN }}>driver</span>
<span style={{ color: CYAN }}>remote</span>
<span style={{ color: "gray" }}>{"."}</span>
<span style={{ color: YELLOW }}>{"method("}</span>
<span style={{ color: YELLOW }}>{"function("}</span>
<span style={{ color: "gray" }}>{"...params"}</span>
<span style={{ color: YELLOW }}>{")"}</span>
</React.Fragment>
Expand Down
6 changes: 3 additions & 3 deletions website/src/movies/home/HomeStrengthMovie.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const sections: HomeStrengthSectionMovie.Props[] = [
subTitle: (
<React.Fragment>
<span style={{ color: PURPLE }}>{"await "}</span>
<span style={{ color: CYAN }}>driver</span>
<span style={{ color: CYAN }}>remote</span>
<span style={{ color: "gray" }}>{"."}</span>
<span style={{ color: YELLOW }}>{"method("}</span>
<span style={{ color: YELLOW }}>{"function("}</span>
<span style={{ color: "gray" }}>{"...params"}</span>
<span style={{ color: YELLOW }}>{")"}</span>
</React.Fragment>
Expand Down Expand Up @@ -67,7 +67,7 @@ const sections: HomeStrengthSectionMovie.Props[] = [
{" "}
<span style={{ color: CYAN }}>remote</span>
<span style={{ color: "gray" }}>{"."}</span>
<span style={{ color: YELLOW }}>{"method("}</span>
<span style={{ color: YELLOW }}>{"function("}</span>
<span style={{ color: "gray" }}>{"...params"}</span>
<span style={{ color: YELLOW }}>{")"}</span>
</p>
Expand Down

0 comments on commit 282c83b

Please sign in to comment.