Build out components #45
5 changed files with 3 additions and 5 deletions
1
src/lib/components/Feedback/index.ts
Normal file
1
src/lib/components/Feedback/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
export { default as Loader } from './Loader.svelte';
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
import Loader from './Loader.svelte';
|
|
||||||
|
|
||||||
export default Loader;
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { goto } from '$app/navigation';
|
import { goto } from '$app/navigation';
|
||||||
import Loader from '$lib/components/common/Loader';
|
import { Loader } from '$lib/components/Feedback';
|
||||||
import { fade } from 'svelte/transition';
|
import { fade } from 'svelte/transition';
|
||||||
|
|
||||||
$effect(() => {
|
$effect(() => {
|
||||||
|
|
@ -19,4 +19,4 @@
|
||||||
.site-loader {
|
.site-loader {
|
||||||
@apply flex h-screen w-screen flex-col items-center justify-center gap-6;
|
@apply flex h-screen w-screen flex-col items-center justify-center gap-6;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Add table
Reference in a new issue