css refactor

This commit is contained in:
2026-02-19 18:24:36 +03:00
parent d5a5c3b902
commit db47e4ce55
45 changed files with 1798 additions and 1857 deletions

View File

@@ -7,25 +7,22 @@
@RELATION: BINDS_TO -> i18n.locale
-->
<script lang="ts">
<script>
// [SECTION: IMPORTS]
import { locale } from '$lib/i18n';
import Select from './Select.svelte';
import { locale } from "$lib/i18n";
import Select from "./Select.svelte";
// [/SECTION: IMPORTS]
const options = [
{ value: 'ru', label: 'Русский' },
{ value: 'en', label: 'English' }
{ value: "ru", label: "Русский" },
{ value: "en", label: "English" },
];
</script>
<!-- [SECTION: TEMPLATE] -->
<div class="w-32">
<Select
bind:value={$locale}
{options}
/>
<Select bind:value={$locale} {options} />
</div>
<!-- [/SECTION: TEMPLATE] -->
<!-- [/DEF:LanguageSwitcher:Component] -->
<!-- [/DEF:LanguageSwitcher:Component] -->