Skip to content

Commit

Permalink
docs(*): move other common texts into components/common-text (lattice…
Browse files Browse the repository at this point in the history
…xyz#2572)

Co-authored-by: Kevin Ingersoll <kingersoll@gmail.com>
  • Loading branch information
qbzzt and holic authored Apr 3, 2024
1 parent ae2051c commit f27f4d2
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 22 deletions.
File renamed without changes.
File renamed without changes
3 changes: 0 additions & 3 deletions docs/pages/templates/_meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ export default {
swift: "Swift",
svelte: "Svelte",
unity: "Unity",
disclaimer: {
display: "hidden",
},
};
4 changes: 2 additions & 2 deletions docs/pages/templates/godot.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Disclaimer from "./disclaimer.mdx";
import TemplateDisclaimer from "../../components/common-text/TemplateDisclaimer.mdx";

# Godot

[Godot](https://docs.godotengine.org/en/stable/) is a free open-source game engine.
[You can see the source code here](https://github.com/Digital-Avatars-and-Robotics/MUDxGodot).
If you have any questions, you can [open an issue in the repository](https://github.com/Digital-Avatars-and-Robotics/MUDxGodot/issues).

<Disclaimer />
<TemplateDisclaimer />
4 changes: 2 additions & 2 deletions docs/pages/templates/pwa.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Disclaimer from "./disclaimer.mdx";
import TemplateDisclaimer from "../../components/common-text/TemplateDisclaimer.mdx";

# Progressive web app (PWA) mobile client

Small Brain Games built a [PWA mobile client integration](https://github.com/smallbraingames/onchain-pwa-starter).
If you have any questions, you can ask them [as issues in github](https://github.com/smallbraingames/onchain-pwa-starter/issues).

<Disclaimer />
<TemplateDisclaimer />
4 changes: 2 additions & 2 deletions docs/pages/templates/svelte.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Disclaimer from "./disclaimer.mdx";
import TemplateDisclaimer from "../../components/common-text/TemplateDisclaimer.mdx";

# Svelte

[Svelte](https://svelte.dev/) is an open source web application framework.
0xMugen built a [Svelte/MUD integration](https://github.com/0xMugen/Mud-Svelte-template).
If you have any questions, you can ask them [as issues in github](https://github.com/0xMugen/Mud-Svelte-template/issues).

<Disclaimer />
<TemplateDisclaimer />
4 changes: 2 additions & 2 deletions docs/pages/templates/swift.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Disclaimer from "./disclaimer.mdx";
import TemplateDisclaimer from "../../components/common-text/TemplateDisclaimer.mdx";

# Swift

[Swift](https://developer.apple.com/swift/) is a programming language used mainly on Apple platforms (MacOS and iOS).
[See here for the Swift integration source code](https://github.com/Geo-Web-Project/mud-world-base).
If you have any questions, you can ask them [in the Geo Web Discord](https://discord.com/invite/reXgPru7ck).

<Disclaimer />
<TemplateDisclaimer />
4 changes: 2 additions & 2 deletions docs/pages/templates/typescript/vue.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Disclaimer from "../disclaimer.mdx";
import TemplateDisclaimer from "../../../components/common-text/TemplateDisclaimer.mdx";

# Vue

[Vue](https://vuejs.org/) is a framework for building web user interfaces.
[You can see the MUD integration here](https://github.com/LidamaoHub/MUD-Template-VUE/tree/master).

<Disclaimer />
<TemplateDisclaimer />
4 changes: 2 additions & 2 deletions docs/pages/templates/unity.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Disclaimer from "./disclaimer.mdx";
import TemplateDisclaimer from "../../components/common-text/TemplateDisclaimer.mdx";

# Unity

Expand All @@ -18,4 +18,4 @@ Watch this tutorial to learn more:
allowfullscreen
></iframe>

<Disclaimer />
<TemplateDisclaimer />
3 changes: 0 additions & 3 deletions docs/pages/world/_meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ export default {
"batch-calls": "Batch Calls",
modules: "Modules",
reference: "Reference",
"world-table-illustration": {
display: "hidden",
},
};
4 changes: 2 additions & 2 deletions docs/pages/world/systems.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Illustration from "./world-table-illustration.mdx";
import TableInWorld from "../../components/common-text/TableInWorld.mdx";
import { CollapseCode } from "../../components/CollapseCode";

# Systems
Expand All @@ -11,7 +11,7 @@ The business logic is implemented in stateless `System` contracts.

<summary>Detailed illustration</summary>

<Illustration />
<TableInWorld />

</details>

Expand Down
4 changes: 2 additions & 2 deletions docs/pages/world/tables.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CollapseCode } from "../../components/CollapseCode";
import Illustration from "./world-table-illustration.mdx";
import TableInWorld from "../../components/common-text/TableInWorld.mdx";
import TableImmutable from "../../components/common-text/TableImmutable.mdx";

# Tables
Expand All @@ -19,7 +19,7 @@ When a `System` reads or writes storage via [table libraries](/store/table-libra
By default a `System` has access to its own namespace and therefore to all the tables inside it.
Additional [access can be granted](./namespaces-access-control) by the namespace owner.

<Illustration />
<TableInWorld />

<TableImmutable />

Expand Down

0 comments on commit f27f4d2

Please sign in to comment.