Improve project layout
All checks were successful
/ check-changes (push) Successful in 15s
/ build (push) Successful in 3m38s

This commit is contained in:
Djuri Baars 2024-12-20 18:19:01 +01:00
parent 20c81628f1
commit 23529dbd4b
8 changed files with 7 additions and 8 deletions

View file

@ -0,0 +1,5 @@
export { default as SettingsSwitch } from './SettingsSwitch.svelte';
export { default as SettingsInput } from './SettingsInput.svelte';
export { default as SettingsSelect } from './SettingsSelect.svelte';
export { default as ToggleHeader } from './ToggleHeader.svelte';
export { default as ColorSchemeSwitcher } from './ColorSchemeSwitcher.svelte';

View file

@ -16,7 +16,7 @@
import { page } from '$app/stores';
import { locale, locales, isLoading } from 'svelte-i18n';
import ColorSchemeSwitcher from '../components/ColorSchemeSwitcher.svelte';
import { ColorSchemeSwitcher } from '$lib/components';
export const setLocale = (lang: string) => () => {
locale.set(lang);

View file

@ -3,8 +3,6 @@
import { PUBLIC_BASE_URL } from '$lib/config';
import { uiSettings } from '$lib/uiSettings';
import { createEventDispatcher } from 'svelte';
import SettingsSwitch from '../components/SettingsSwitch.svelte';
import { _ } from 'svelte-i18n';
import {
Button,
@ -16,14 +14,10 @@
Form,
Row
} from '@sveltestrap/sveltestrap';
import EyeIcon from 'svelte-bootstrap-icons/lib/Eye.svelte';
import EyeSlashIcon from 'svelte-bootstrap-icons/lib/EyeSlash.svelte';
import { derived } from 'svelte/store';
import ToggleHeader from '../components/ToggleHeader.svelte';
import SettingsInput from '../components/SettingsInput.svelte';
import SettingsSelect from '../components/SettingsSelect.svelte';
import { SettingsSwitch, SettingsInput, SettingsSelect, ToggleHeader } from '$lib/components';
export let settings;