aboutsummaryrefslogtreecommitdiff
path: root/src/pages/boards.astro
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-10-26 18:03:58 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-10-26 18:03:58 +0300
commit9ad43ed4d41906af8ae33160b30d6cd6a6ae9bc0 (patch)
tree65c17129709d70b34fc1f7ac5b48d9d479468ee8 /src/pages/boards.astro
parent921421f2e2f44178333f8ef3011c43bc4eb6e39e (diff)
prod version
Diffstat (limited to 'src/pages/boards.astro')
-rw-r--r--src/pages/boards.astro27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/pages/boards.astro b/src/pages/boards.astro
deleted file mode 100644
index 8120bd2..0000000
--- a/src/pages/boards.astro
+++ /dev/null
@@ -1,27 +0,0 @@
----
-import '../styles/blackbox.css'
-import Default from '../layouts/Default.astro';
-import { api } from '../lib/api.ts';
-
-const data = await api('get', 'boards');
-const boards: string[] = await data.json();
----
-
-<Default title="Boards">
- <h1>Boards</h1>
-
- <div class="blackbox">
- <ul>
- {boards.map((board) => (
- <li><a href=`/board/${board}`>{board}</a></li>
- ))}
- </ul>
- </div>
-</Default>
-
-<style is:inline>
- :root {
- --wdt: 300px;
- --ml: 0px;
- }
-</style>