File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export default defineAppConfig({
2727 } ,
2828 button : {
2929 slots : {
30- base : 'font-semibold' ,
30+ base : 'font-semibold font-headers ' ,
3131 } ,
3232 variants : {
3333 size : {
@@ -58,7 +58,9 @@ export default defineAppConfig({
5858 } ,
5959 drawer : {
6060 slots : {
61- content : '!max-h-10/12 ring-default' ,
61+ header : 'text-xl/6 font-bold font-headers' ,
62+ body : 'mb-12 hide-scroll' ,
63+ content : '!max-h-10/12 ring-default hide-scroll' ,
6264 } ,
6365 } ,
6466 navigationMenu : {
Original file line number Diff line number Diff line change @@ -128,3 +128,7 @@ body::-webkit-scrollbar {
128128 display : none;
129129 width : 0 ;
130130}
131+
132+ h1 , h2 , h3 , h4 , h5 , h6 {
133+ font-family : var (--font-headers );
134+ }
Original file line number Diff line number Diff line change 88 >
99 <template #content >
1010 <div class =" p-4 pb-20 flex flex-col gap-3 overflow-y-auto hide-scroll" >
11- <h3 class =" text-lg font-semibold " >
11+ <h3 class =" text-lg font-bold " >
1212 Выберите город
1313 </h3 >
1414
Original file line number Diff line number Diff line change 5353 <UDrawer v-model:open =" isDrawerOpened" >
5454 <template #content >
5555 <div class =" p-4 pb-20 flex flex-col gap-5 overflow-y-auto hide-scroll" >
56- <h2 class =" text-xl/6 font-semibold " >
56+ <h2 class =" text-xl/6 font-bold " >
5757 Увеличим чек?
5858 </h2 >
5959
Original file line number Diff line number Diff line change 2020 />
2121 </div >
2222
23- <UDrawer v-model:open =" isDrawerOpened" >
24- <template #content >
25- <div class =" p-4 pb-20 flex flex-col gap-5 overflow-y-auto hide-scroll" >
26- <h2 class =" text-xl/6 font-semibold" >
27- Категории
28- </h2 >
29-
30- <div class =" flex flex-col gap-0" >
31- <UButton
32- v-for =" category in menuStore.menu?.categories"
33- :key =" category.id"
34- variant =" ghost"
35- color =" neutral"
36- size =" xl"
37- class =" -ml-2 px-2 py-1.5 font-medium motion-preset-slide-left"
38- :class =" [
39- visibleCategory === category.slug
40- ? 'font-semibold text-primary'
41- : '',
42- ]"
43- :label =" category.name"
44- @click =" handleScroll(category.slug)"
45- />
46- </div >
23+ <UDrawer v-model:open =" isDrawerOpened" title =" Категории" >
24+ <template #body >
25+ <div class =" -ml-2 flex flex-col gap-0" >
26+ <UButton
27+ v-for =" category in menuStore.menu?.categories"
28+ :key =" category.id"
29+ variant =" ghost"
30+ color =" neutral"
31+ size =" xl"
32+ class =" px-2 py-1.5 font-medium motion-preset-slide-left"
33+ :class =" [
34+ visibleCategory === category.slug
35+ ? 'font-semibold text-primary'
36+ : '',
37+ ]"
38+ :label =" category.name"
39+ @click =" handleScroll(category.slug)"
40+ />
4741 </div >
4842 </template >
4943 </UDrawer >
Original file line number Diff line number Diff line change 33 ref =" target"
44 class =" flex flex-col gap-3 mb-10"
55 >
6- <h2 :id =" category?.slug" class =" scroll-mt-36 text-2xl/5 font-semibold tracking-tight" >
6+ <h2 :id =" category?.slug" class =" scroll-mt-36 text-2xl/5 font-bold tracking-tight" >
77 {{ category?.name }}
88 </h2 >
99
Original file line number Diff line number Diff line change 88 <UIcon name =" i-lucide-moon" class =" size-12 motion-preset-oscillate-sm motion-preset-seesaw motion-duration-3000" />
99
1010 <div class =" flex flex-col" >
11- <h3 class =" text-lg font-semibold " >
11+ <h3 class =" text-lg font-bold " >
1212 Мы сейчас закрыты
1313 </h3 >
1414 <p >Работаем с 10:00 до 22:00</p >
Original file line number Diff line number Diff line change 1010 </div >
1111
1212 <div class =" px-3 py-1 flex-1 flex flex-col gap-1" >
13- <p class =" text-sm/4 font-semibold " >
13+ <p class =" text-sm/4 font-bold " >
1414 {{ product?.name }}
1515 </p >
1616
3535 <div class =" text-base font-medium" >
3636 <span v-if =" !withSingleVariant" class =" pr-1 lowercase" >{{ $t('app.cart.from') }}</span >
3737 <span >{{ price }}</span >
38- <span class =" pl-1 text-lg " >{{ channelStore.currencySign }}</span >
38+ <span class =" pl-1" >{{ channelStore.currencySign }}</span >
3939 </div >
4040 </UButton >
4141 </div >
Original file line number Diff line number Diff line change 2626 >
2727 <template #content >
2828 <div class =" p-4 pb-20 flex flex-col gap-5 overflow-y-auto" >
29- <h2 class =" text-xl/6 font-semibold " >
29+ <h2 class =" text-xl/6 font-bold " >
3030 Регистрация в программе лояльности
3131 </h2 >
3232
Original file line number Diff line number Diff line change 2121 Клиент {{ clientStore.level.level }} уровня
2222 </div >
2323 <div class =" flex flex-row gap-1.5 items-center" >
24- <p class =" text-4xl/6 font-semibold " >
24+ <h3 class =" text-4xl/8 font-bold " >
2525 {{ clientStore.points }}
26- </p >
27- <UIcon name =" fluent:heart-circle-24-filled" class =" size-7 " />
26+ </h3 >
27+ <UIcon name =" fluent:heart-circle-24-filled" class =" size-6 " />
2828 </div >
2929 </div >
3030
4141 {{ clientStore.level.cashback }}%
4242 </div >
4343
44- <div class =" tg-text-inverted" >
44+ <p class =" tg-text-inverted font-medium " >
4545 Ваш кешбэк
46- </div >
46+ </p >
4747 </div >
4848
4949 <UIcon name =" i-lucide-info" class =" size-6 tg-text-inverted" />
6262 >
6363 <template #content >
6464 <div class =" p-4 pb-20 flex flex-col gap-5 overflow-y-auto" >
65- <h2 class =" text-xl/6 font-semibold " >
65+ <h2 class =" text-xl/6 font-bold " >
6666 У вас есть {{ clientStore.points }} «Лавчиков»
6767 </h2 >
6868
You can’t perform that action at this time.
0 commit comments