X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/bd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6..58f7d52150456713d3132408668a92d0f6f3d084:/src/routes/%24layout.svelte

diff --git a/src/routes/$layout.svelte b/src/routes/$layout.svelte
index a848a59..49ceb49 100644
--- a/src/routes/$layout.svelte
+++ b/src/routes/$layout.svelte
@@ -1,39 +1,19 @@
 <script>
-  import '$config/i18n';
-  import { isLoading, waitLocale } from 'svelte-i18n';
-
-  export const load = function load() {
-
-    return waitLocale;
-  };
-
-  import ForumList from '$components/forum_list/forum_list.svelte';
-  import Header from '$components/header/header.svelte';
-  import Footer from '$components/footer/footer.svelte';
+	import '$/config/i18n';
+	import { isLoading } from 'svelte-i18n';
+	import ForumList from '$/components/forum_list/forum_list.svelte';
+	import Header from '$/components/header/header.svelte';
+	import Loader from '$/components/loader/loader.svelte';
+	import Footer from '$/components/footer/footer.svelte';
 </script>
 
 {#if $isLoading}
-  <h1>Loading.</h1>
-  <p>Please wait.</p>
+	<Loader />
 {:else}
-  <Header />
-  <main>
-    <slot></slot>
-  </main>
-  <ForumList />
-  <Footer />
+	<Header />
+	<main>
+		<slot />
+	</main>
+	<ForumList />
+	<Footer />
 {/if}
-
-<style>
-  main {
-    grid-column: col-start 2 / span 11;
-  }
-
-  :global(#forum) {
-    display: grid;
-    font-family : 'ãã©ã®ãææ ProN' , 'Hiragino Mincho ProN' , 'æ¸¸ææ','æ¸¸ææä½',YuMincho,'Yu Mincho' , 'ï¼­ï¼³ ææ' , 'MS Mincho' , HiraMinProN-W3 , 'TakaoExææ' , TakaoExMincho , 'MotoyaLCedar' , 'Droid Sans Japanese' , serif;
-    grid-template-columns: repeat(12, [col-start] 1fr);
-    grid-gap: 20px;
-    grid-auto-rows: minmax(24px, auto);
-  }
-</style>
