diff options
Diffstat (limited to 'src/pages/boards.astro')
-rw-r--r-- | src/pages/boards.astro | 27 |
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> |