Skip to content

Commit 030cccc

Browse files
authored
chore: visual rework (#188)
1 parent 5b45158 commit 030cccc

7 files changed

Lines changed: 41 additions & 15 deletions

File tree

apps/webinar/app/app.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default defineAppConfig({
1515
},
1616
color: {
1717
secondary: '!text-white disabled:!bg-inverted/25',
18+
orange: '!bg-[#f57e20] hover:!bg-orange-500 !text-white disabled:!bg-inverted/25',
1819
},
1920
},
2021
},

apps/webinar/app/components/Countdown.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="bg-accented">
2+
<div class="bg-elevated">
33
<UPageSection
44
title="Получить готовый план"
55
description="И ответы на все свои вопросы, от поиска помещения до первого заработка. Мероприятие будет доступно через:"
@@ -18,9 +18,13 @@
1818
<UButton
1919
to="https://t.me/SLFranchiseBot"
2020
variant="solid"
21+
color="orange"
2122
size="xl"
2223
label="Зарегистрироваться"
2324
icon="i-lucide-calendar-plus"
25+
:ui="{
26+
base: 'bg-[#f57e20] text-white',
27+
}"
2428
class="mt-12 w-full justify-center"
2529
/>
2630
<p class="px-6 mt-2 text-center text-sm">

apps/webinar/app/components/CountdownTimerItem.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
2-
<div class="px-2 md:px-5 py-4 min-w-18 md:min-w-24 bg-default rounded-lg flex flex-col items-center">
3-
<h3 class="text-3xl font-bold">
2+
<div class="px-2 md:px-5 py-4 min-w-18 md:min-w-24 bg-inverted rounded-lg flex flex-col items-center">
3+
<h3 class="text-3xl font-bold text-inverted">
44
{{ value }}
55
</h3>
6-
<span class="text-sm text-muted">
6+
<span class="text-sm text-dimmed">
77
{{ label }}
88
</span>
99
</div>

apps/webinar/app/components/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<UContainer class="mt-10 flex flex-col md:flex-row gap-y-6 items-center justify-between">
2+
<UContainer class="mt-4 md:mt-10 flex flex-row gap-2 items-center justify-between">
33
<Logo />
44
<SocialButtons />
55
</UContainer>
Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,30 @@
11
<template>
2-
<video
3-
controls
4-
class="max-h-180 w-auto mx-auto rounded-xl motion-preset-slide-left"
5-
>
6-
<source src="https://storage.yandexcloud.net/sushi-love-test/telegram/files/BAACAgIAAxkBAAOFaMwda7U9ddiws5ZJ4oIbaeSlw0YAAvWDAAJt32BKU94XDWZ9cCg2BA.mp4" type="video/mp4">
7-
Ваш браузер не поддерживает видео
8-
</video>
2+
<div class="w-full">
3+
<div
4+
v-if="!isVideoShown"
5+
class="shrink-0 w-full h-full bg-muted rounded-lg aspect-square flex flex-col items-center justify-center hover:scale-98 active:scale-95 duration-200 cursor-pointer motion-preset-slide-left"
6+
@click="isVideoShown = true"
7+
>
8+
<div class="py-4 px-6 flex flex-col gap-2 items-center justify-center text-muted bg-accented/25 rounded-lg">
9+
<UIcon name="i-lucide-play" class="size-18" />
10+
<h3 class="text-xl font-semibold">
11+
Посмотреть видео
12+
</h3>
13+
</div>
14+
</div>
15+
16+
<video
17+
v-else
18+
controls
19+
autoplay
20+
class="mx-auto max-h-140 rounded-xl motion-preset-slide-right"
21+
>
22+
<source src="https://storage.yandexcloud.net/sushi-love-test/telegram/files/BAACAgIAAxkBAAOFaMwda7U9ddiws5ZJ4oIbaeSlw0YAAvWDAAJt32BKU94XDWZ9cCg2BA.mp4" type="video/mp4">
23+
Ваш браузер не поддерживает видео
24+
</video>
25+
</div>
926
</template>
27+
28+
<script setup lang="ts">
29+
const isVideoShown = ref(false)
30+
</script>

apps/webinar/app/components/SpeakerCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
class="w-full"
77
> -->
88

9-
<div class="shrink-0 p-4 w-full h-auto text-muted bg-accented rounded-lg aspect-square">
9+
<div class="shrink-0 p-4 w-full h-auto text-muted bg-muted rounded-lg aspect-square">
1010
Фото?
1111
</div>
1212

apps/webinar/app/pages/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
:reverse="true"
1111
:features="firstSectionItems"
1212
>
13-
<div class="p-4 w-full h-full min-h-56 text-muted bg-accented rounded-lg motion-preset-slide-right">
13+
<div class="p-4 w-full h-full min-h-56 text-muted bg-muted rounded-lg motion-preset-slide-right">
1414
Тут фото?
1515
</div>
1616
</UPageSection>
@@ -21,7 +21,7 @@
2121
orientation="horizontal"
2222
:features="secondSectionItems"
2323
>
24-
<div class="p-4 w-full h-full min-h-56 text-muted bg-accented rounded-lg motion-preset-slide-left">
24+
<div class="p-4 w-full h-full min-h-56 text-muted bg-muted rounded-lg motion-preset-slide-left">
2525
Тут фото?
2626
</div>
2727
</UPageSection>

0 commit comments

Comments
 (0)