add hero-banner
All checks were successful
Deploy Application / deploy (push) Successful in 5s

This commit is contained in:
2025-06-13 00:31:27 +04:00
parent 943d201a84
commit 416c384f19
7 changed files with 26 additions and 7 deletions

View File

@ -6,4 +6,5 @@
<script setup lang="ts"> <script setup lang="ts">
import UiLayout from './layout/UiLayout.vue' import UiLayout from './layout/UiLayout.vue'
import { RouterView } from 'vue-router'
</script> </script>

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 KiB

View File

@ -13,7 +13,7 @@
</a></UiParagraph </a></UiParagraph
> >
</div> </div>
<div class="flex items-end"> <div v-if="route.path === '/'" class="flex items-end">
<UiParagraph tag="span" size="300" class="[&]:text-secondary" <UiParagraph tag="span" size="300" class="[&]:text-secondary"
><a href="https://www.litres.ru/" target="_blank"> ><a href="https://www.litres.ru/" target="_blank">
Реферальная ссылка на ЛитРес Реферальная ссылка на ЛитРес
@ -29,4 +29,7 @@
import UiParagraph from '@/components/Typography/UiParagraph.vue' import UiParagraph from '@/components/Typography/UiParagraph.vue'
import UiNav from '@/components/UiNav/UiNav.vue' import UiNav from '@/components/UiNav/UiNav.vue'
import { footerNavigation } from '@/layout/UiFooter/_data' import { footerNavigation } from '@/layout/UiFooter/_data'
import { useRoute } from 'vue-router'
const route = useRoute()
</script> </script>

View File

@ -4,11 +4,15 @@
> >
<div <div
class="relative z-10 after:content-[''] after:absolute after:top-0 after:right-0 after:w-[820px] after:h-[535px] after:bg-[url(/src/assets/img/webp/gradient.webp)] after:bg-no-repeat after:bg-[right_top] after:bg-contain after:pointer-events-none" class="relative z-10 after:content-[''] after:absolute after:top-0 after:right-0 after:w-[820px] after:h-[535px] after:bg-[url(/src/assets/img/webp/gradient.webp)] after:bg-no-repeat after:bg-[right_top] after:bg-contain after:pointer-events-none"
> />
<UiHeader /> <div
<UiMain class="!min-h-[800px]" /> class="relative z-20 after:content-[''] after:absolute after:top-0 after:right-0 after:w-[820px] after:h-[535px] after:bg-[url(/src/assets/img/webp/group-flowers.webp)] after:bg-no-repeat after:bg-[right_top] after:bg-contain after:pointer-events-none"
<UiFooter /> />
</div> <UiHeader />
<UiMain class="!min-h-[800px] text-primary">
<slot />
</UiMain>
<UiFooter />
</div> </div>
</template> </template>

View File

@ -0,0 +1,6 @@
<template>
<section>
<img src="/src/assets/img/webp/hero-banner-content.webp" alt="Книги" />
</section>
</template>
<script setup lang="ts"></script>

View File

@ -1,3 +1,8 @@
<template> <template>
<div>main</div> <section>
<HeroBanner />
</section>
</template> </template>
<script setup lang="ts">
import HeroBanner from './_ui/heroBanner.vue'
</script>