From 5800574560a232de64b6c344d1b3aa059a2daf80 Mon Sep 17 00:00:00 2001 From: satr14 Date: Sat, 25 Jul 2026 08:31:12 +0700 Subject: [PATCH] chess board --- src/routes/+layout.svelte | 5 +++-- src/routes/+page.svelte | 15 +++++++++++++-- src/routes/layout.css | 3 +++ 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 705a7a5..0806ab6 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -6,5 +6,6 @@ - -{@render children()} +
+ {@render children()} +
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index cc88df0..5a17237 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,2 +1,13 @@ -

Welcome to SvelteKit

-

Visit svelte.dev/docs/kit to read the documentation

+ + +
+ {#each board as info, index} +
+ {index} +
+ {/each} +
\ No newline at end of file diff --git a/src/routes/layout.css b/src/routes/layout.css index d4b5078..e9704fd 100644 --- a/src/routes/layout.css +++ b/src/routes/layout.css @@ -1 +1,4 @@ @import 'tailwindcss'; + +html, body { @apply h-full; } +body { @apply bg-gray-900 text-gray-100; }