x
This commit is contained in:
1 parent
cb51c0faeb
commit
8f466f8d31
8 files changed
+89
-14
No files matched your search
@@ -11,7 +11,7 @@ export default function Footer({ categories = [] }: FooterProps) {
|
||||
const [exploreMenu, setExploreMenu] = useState<MenuItem[]>([])
|
||||
const [supportMenu, setSupportMenu] = useState<MenuItem[]>([])
|
||||
const [settings, setSettings] = useState<StoreSettings | null>(null)
|
||||
const brandName = settings?.brandName || 'HomAroma'
|
||||
const brandName = settings?.brandName || ''
|
||||
|
||||
const translateMenuLabel = (item: MenuItem) => {
|
||||
const lang = localStorage.getItem('homaroma_lang') || 'en'
|
||||
|
||||
@@ -144,7 +144,7 @@ export default function Navbar({ topOffsetClassName = 'top-0' }: NavbarProps) {
|
||||
: (hasAnnouncement ? 'top-[32px] md:top-[40px]' : 'top-0')
|
||||
|
||||
const finalTopClassName = scrolled ? 'top-0' : computedOffset
|
||||
const brandName = settings?.brandName || 'HomAroma'
|
||||
const brandName = settings?.brandName || ''
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in new issue
Block a user