Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions apps/webinar/app/components/About.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
<template>
<UPageSection
title="Франшиза Суши Love"
orientation="vertical"
:ui="{
container: 'lg:pt-0',
}"
>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 md:gap-10">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6 md:gap-10">
<div
v-for="item in lastSectionItems"
:key="item.title"
class="px-6 py-6 w-full h-full flex flex-col gap-2.5 items-center text-center bg-muted rounded-lg motion-preset-slide-right"
class="px-6 py-12 w-full h-full flex flex-col gap-2.5 items-center text-center bg-muted rounded-lg motion-preset-slide-right"
>
<UIcon
v-if="item.icon"
:name="item.icon"
class="size-12 text-secondary"
/>
<Logo v-else />

Comment on lines 14 to +20
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify Logo component is available.

The conditional rendering displays a <Logo /> component when item.icon is falsy. Ensure the Logo component is properly imported or globally registered.

Run the following script to check for the Logo component:


🏁 Script executed:

#!/bin/bash
# Description: Find Logo component definition

echo "Searching for Logo component..."
fd -t f -e vue "^Logo\.vue$" apps/webinar

Length of output: 68


🏁 Script executed:

#!/bin/bash
echo "Checking import of Logo in About.vue..."
rg -n "import\s+Logo" apps/webinar/app/components/About.vue || true

echo
echo "Checking components registration block in About.vue..."
rg -nP "components\s*:\s*\{[\s\S]*?Logo" -C2 apps/webinar/app/components/About.vue || true

Length of output: 95


Import Logo in About.vue
Add import Logo from './Logo.vue' at the top of About.vue and include Logo in the components option to ensure the <Logo /> tag resolves correctly.

🤖 Prompt for AI Agents
In apps/webinar/app/components/About.vue around lines 14 to 20, the <Logo /> tag
is used but Logo is not imported or registered; add an import statement for Logo
(import Logo from './Logo.vue') at the top of the file and add Logo to the
component's components option so the component resolves correctly when v-else
renders.

<h4 class="text-2xl/7 font-bold">
{{ item.title }}
</h4>
Expand All @@ -24,6 +28,9 @@

<script lang="ts" setup>
const lastSectionItems = [
{
title: 'Франшиза Суши Love',
},
{
title: '12 лет на рынке',
icon: 'i-lucide-calendar-heart',
Expand Down
11 changes: 6 additions & 5 deletions apps/webinar/app/components/Countdown.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="bg-elevated">
<div class="bg-elevated bg-cover" style="background-image: url('/countdown-background.jpg');">
<UPageSection
title="Получить готовый план"
description="И ответы на все свои вопросы, от поиска помещения до первого заработка. Мероприятие будет доступно через:"
Expand All @@ -9,10 +9,11 @@
title: 'text-center',
description: 'text-center',
headline: 'py-2 px-4 mx-auto w-fit bg-secondary text-white rounded-md motion-preset-oscillate-sm',
wrapper: 'bg-default px-6 py-5 rounded-xl',
}"
>
<template #body>
<div class="flex flex-col items-center">
<div class="md:px-4 flex flex-col items-center">
<CountdownTimer />

<UButton
Expand All @@ -23,11 +24,11 @@
label="Зарегистрироваться"
icon="i-lucide-calendar-plus"
:ui="{
base: 'bg-[#f57e20] text-white',
base: 'bg-[#f57e20] text-white text-xl font-bold',
}"
class="mt-12 w-full justify-center"
class="mt-8 w-full justify-center"
/>
<p class="px-6 mt-2 text-center text-sm">
<p class="px-6 mt-2 text-center text-base/5">
И сразу получить подарок: гайд по документообороту по открытию заведения в сфере общепита
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/webinar/app/components/CountdownTimer.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex flex-row gap-2">
<div class="w-full grid grid-cols-4 gap-2">
<CountdownTimerItem :value="state.days" label="Дней" />
<CountdownTimerItem :value="state.hours" label="Часов" />
<CountdownTimerItem :value="state.minutes" label="Минут" />
Expand Down
6 changes: 3 additions & 3 deletions apps/webinar/app/components/CountdownTimerItem.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<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">
<h3 class="text-3xl font-bold text-inverted">
<div class="px-2 md:px-5 py-4 min-w-18 md:min-w-24 w-full bg-accented/50 rounded-lg flex flex-col items-center">
<h3 class="text-3xl font-bold text-primary">
{{ value }}
</h3>
<span class="text-sm text-dimmed">
<span class="text-sm text-muted">
{{ label }}
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/webinar/app/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
size="xl"
color="neutral"
variant="soft"
icon="i-lucide-briefcase"
:icon="item.icon"
:label="item.label"
block
/>
Expand Down
8 changes: 4 additions & 4 deletions apps/webinar/app/components/Speakers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ const speakers = ref([
name: 'Лидия Трошина',
caption: 'Директор по маркетингу франшизы «Суши Love»',
description: 'Покажет стратегии по привлечению гостей работающие в 2025 году',
image: 'https://avatar.nextorders.ru/377188?emotion=8&gender=female&clothing=teal',
image: '/speaker-1.jpg',
},
{
name: 'Татьяна Панасевич',
caption: 'Основатель сети суши-баров «Суши Love»',
description: 'Ответит на все вопросы по работе с франшизой',
image: 'https://avatar.nextorders.ru/797837?emotion=6&gender=female&clothing=violet',
description: 'Открыла более 100 заведений, ответит на все ваши вопросы',
image: '/speaker-2.jpg',
},
{
name: 'Анна Михалко',
caption: 'Наставник партнеров и эксперт по открытию новых точек франшизы',
description: 'Даст пошаговый план открытия, который используют все наши партнеры',
image: 'https://avatar.nextorders.ru/887463?emotion=7&gender=female&clothing=pink',
image: '/speaker-3.jpg',
},
])
</script>
2 changes: 1 addition & 1 deletion apps/webinar/app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

<Countdown />
<Speakers />
<Results />
<About />
<Results />
<Questions />

<Footer />
Expand Down
Binary file added apps/webinar/public/countdown-background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/webinar/public/speaker-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/webinar/public/speaker-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/webinar/public/speaker-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.