홈 배너
This commit is contained in:
@@ -88,7 +88,9 @@ main {
|
||||
.billing-label{
|
||||
width: 85px;
|
||||
}
|
||||
|
||||
.full-menu-container{
|
||||
padding-top: 234px;
|
||||
}
|
||||
.full-menu-header{
|
||||
position: fixed;
|
||||
z-index: 20;
|
||||
@@ -117,8 +119,8 @@ main {
|
||||
}
|
||||
|
||||
.full-menu-list{
|
||||
position: absolute;
|
||||
top: calc(234px + env(safe-area-inset-top));
|
||||
position: relative;
|
||||
top: calc(env(safe-area-inset-top));
|
||||
margin-top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ import { useStore } from '@/shared/model/store';
|
||||
import { FilterMotionDuration, FilterMotionStyle, FilterMotionVariants, MenuItems } from '@/entities/common/model/constant';
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
import { useLocation } from 'react-router';
|
||||
import { setHomeReloadKey } from '@/pages/home/home-page';
|
||||
|
||||
export interface MenuProps {
|
||||
menuOn: boolean;
|
||||
@@ -49,6 +50,9 @@ export const Menu = ({
|
||||
}
|
||||
else{
|
||||
setMenuOn(false);
|
||||
if(location.pathname === PATHS.home){
|
||||
setHomeReloadKey();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -86,6 +90,12 @@ export const Menu = ({
|
||||
useEffect(() => {
|
||||
shortBtnsSetting();
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if(favoriteEdit){
|
||||
setEditMode(favoriteEdit)
|
||||
}
|
||||
},[favoriteEdit]);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user