aboutsummaryrefslogtreecommitdiffstats
path: root/apps/kit/src/routes/book/buttons
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-09-27 18:21:37 +0200
committerivarlovlie <git@ivarlovlie.no>2022-09-27 18:21:37 +0200
commit2b58ff029107b23617d8c4b246de77876b3bf053 (patch)
tree6fc1fe6dd325e0a9d2af211bd3801dc136bc26f9 /apps/kit/src/routes/book/buttons
parentf8ae7740f4a79d1374e136aba58b4c75f09b1396 (diff)
downloadgreatoffice-2b58ff029107b23617d8c4b246de77876b3bf053.tar.xz
greatoffice-2b58ff029107b23617d8c4b246de77876b3bf053.zip
feat: Move frontend into layout group (main)
This enables /book to load without the usual layout (app layout)
Diffstat (limited to 'apps/kit/src/routes/book/buttons')
-rw-r--r--apps/kit/src/routes/book/buttons/+page.svelte24
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/kit/src/routes/book/buttons/+page.svelte b/apps/kit/src/routes/book/buttons/+page.svelte
new file mode 100644
index 0000000..c8e8c93
--- /dev/null
+++ b/apps/kit/src/routes/book/buttons/+page.svelte
@@ -0,0 +1,24 @@
+<script>
+ import Button from "$lib/components/button.svelte";
+</script>
+
+<h1>Buttons</h1>
+<section>
+ <h2>Primary</h2>
+ <div class="">
+ <Button kind="primary" text="Normal" />
+ <Button kind="primary" text="Large" size="lg" />
+ <Button kind="primary" text="Medium" size="md" />
+ <Button kind="primary" text="Small" size="sm" />
+ <Button kind="primary" text="Extra large" size="xl" />
+ <Button kind="primary" text="Extra small" size="xs" />
+ </div>
+</section>
+<section>
+ <h2>Secondary</h2>
+ <Button kind="secondary" text="Click me!" />
+</section>
+<section>
+ <h2>White</h2>
+ <Button kind="white" text="Click me!" />
+</section>