aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes/docs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-07-28 20:32:10 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-07-28 20:32:10 +0200
commitfd6664b8e7c49f620047714c4adc9b09fbbd2876 (patch)
tree7f92c59c860fc4bb0cbee3eabfa6b074c485a105 /web/pw-server/src/routes/docs
parent18aede91be332a122ab32ae049aaa7c217270dd1 (diff)
downloadplanetwars.dev-fd6664b8e7c49f620047714c4adc9b09fbbd2876.tar.xz
planetwars.dev-fd6664b8e7c49f620047714c4adc9b09fbbd2876.zip
set up docs route
Diffstat (limited to 'web/pw-server/src/routes/docs')
-rw-r--r--web/pw-server/src/routes/docs/doc.svelte10
-rw-r--r--web/pw-server/src/routes/docs/rules.md3
2 files changed, 13 insertions, 0 deletions
diff --git a/web/pw-server/src/routes/docs/doc.svelte b/web/pw-server/src/routes/docs/doc.svelte
new file mode 100644
index 0000000..ded3a6c
--- /dev/null
+++ b/web/pw-server/src/routes/docs/doc.svelte
@@ -0,0 +1,10 @@
+<div class="container">
+ <slot />
+</div>
+
+<style scoped lang="scss">
+ .container {
+ width: 800px;
+ margin: 0 auto;
+ }
+</style> \ No newline at end of file
diff --git a/web/pw-server/src/routes/docs/rules.md b/web/pw-server/src/routes/docs/rules.md
new file mode 100644
index 0000000..75d99a6
--- /dev/null
+++ b/web/pw-server/src/routes/docs/rules.md
@@ -0,0 +1,3 @@
+# Rules
+
+Hello welcome on the rules page \ No newline at end of file