Compare commits
No commits in common. "49646c3a095e6408aff8b8290019eaf6f18942c6" and "84512c7a9b62e014d13c6c3ea1227bcbc016a940" have entirely different histories.
49646c3a09
...
84512c7a9b
6 changed files with 28 additions and 57 deletions
|
|
@ -1,18 +0,0 @@
|
||||||
<script lang="ts">
|
|
||||||
import Icon from '@iconify/svelte';
|
|
||||||
|
|
||||||
export let bgStrong: string;
|
|
||||||
export let bgBleak: string;
|
|
||||||
export let icon: string;
|
|
||||||
export let caption: string;
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<section class="flex flex-col sm:flex-row">
|
|
||||||
<div class="flex flex-row items-center gap-2 {bgStrong} p-2 text-slate-50">
|
|
||||||
<Icon width={32} height={32} {icon} color={'#f8fafc'} />
|
|
||||||
<span class="sm:hidden">{caption}</span>
|
|
||||||
</div>
|
|
||||||
<div class="{bgBleak} p-4 sm:grow">
|
|
||||||
<slot />
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import IconBlock from './IconBlock.svelte';
|
import Icon from '@iconify/svelte';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<IconBlock
|
<section class="flex flex-col sm:flex-row">
|
||||||
bgStrong="bg-blue-500"
|
<div class="flex flex-row items-center gap-2 bg-blue-500 p-2 text-slate-50">
|
||||||
bgBleak="bg-blue-50"
|
<Icon width={32} height={32} icon={'material-symbols:info'} color={'#f8fafc'} />
|
||||||
icon="material-symbols:info"
|
<span class="sm:hidden">Обратите внимание</span>
|
||||||
caption="Обратите внимание"
|
</div>
|
||||||
>
|
<div class="bg-blue-50 p-4 sm:grow">
|
||||||
<slot />
|
<slot />
|
||||||
</IconBlock>
|
</div>
|
||||||
|
</section>
|
||||||
|
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
<script lang="ts">
|
|
||||||
import IconBlock from './IconBlock.svelte';
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<IconBlock
|
|
||||||
bgStrong="bg-amber-500"
|
|
||||||
bgBleak="bg-amber-50"
|
|
||||||
icon="material-symbols:warning"
|
|
||||||
caption="Внимание"
|
|
||||||
>
|
|
||||||
<slot />
|
|
||||||
</IconBlock>
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import WarningBlock from '$lib/components/WarningBlock.svelte';
|
import SocialButton from '$lib/components/SocialButton.svelte';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="hero flex shrink-0 flex-col items-center justify-center gap-5 overflow-hidden p-4">
|
<section
|
||||||
|
class="flex shrink-0 flex-col items-center justify-center gap-5 overflow-hidden p-4 hero"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col flex-nowrap items-center justify-center gap-3 lg:flex-row lg:flex-nowrap"
|
class="flex flex-col flex-nowrap items-center justify-center gap-3 lg:flex-row lg:flex-nowrap"
|
||||||
>
|
>
|
||||||
|
|
@ -14,8 +16,6 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<WarningBlock>Страница находится в разработке!</WarningBlock>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@import '$src/app.css';
|
@import "$src/app.css";
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import WarningBlock from '$lib/components/WarningBlock.svelte';
|
import SocialButton from '$lib/components/SocialButton.svelte';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="hero flex shrink-0 flex-col items-center justify-center gap-5 overflow-hidden p-4">
|
<section
|
||||||
|
class="flex shrink-0 flex-col items-center justify-center gap-5 overflow-hidden p-4 hero"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col flex-nowrap items-center justify-center gap-3 lg:flex-row lg:flex-nowrap"
|
class="flex flex-col flex-nowrap items-center justify-center gap-3 lg:flex-row lg:flex-nowrap"
|
||||||
>
|
>
|
||||||
|
|
@ -14,8 +16,6 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<WarningBlock>Страница находится в разработке!</WarningBlock>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@import '$src/app.css';
|
@import "$src/app.css";
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import WarningBlock from '$lib/components/WarningBlock.svelte';
|
import SocialButton from '$lib/components/SocialButton.svelte';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<section class="hero flex shrink-0 flex-col items-center justify-center gap-5 overflow-hidden p-4">
|
<section
|
||||||
|
class="flex shrink-0 flex-col items-center justify-center gap-5 overflow-hidden p-4 hero"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col flex-nowrap items-center justify-center gap-3 lg:flex-row lg:flex-nowrap"
|
class="flex flex-col flex-nowrap items-center justify-center gap-3 lg:flex-row lg:flex-nowrap"
|
||||||
>
|
>
|
||||||
|
|
@ -14,8 +16,6 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<WarningBlock>Страница находится в разработке!</WarningBlock>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@import '$src/app.css';
|
@import "$src/app.css";
|
||||||
</style>
|
</style>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue