diff --git a/src/components/Footer/_footer.scss b/src/components/Footer/_footer.scss index a60b886a..2959453b 100644 --- a/src/components/Footer/_footer.scss +++ b/src/components/Footer/_footer.scss @@ -26,6 +26,7 @@ position: relative; transition: transform 0.3s ease; /* Add transition for smooth scaling */ transform-origin: center center; /* Set scaling origin to center */ + cursor: pointer; &:hover { transform: scale(1.1); /* Scale the element on hover */ diff --git a/src/components/Navbar/Navbar.jsx b/src/components/Navbar/Navbar.jsx index 63f3f2fd..a707df74 100644 --- a/src/components/Navbar/Navbar.jsx +++ b/src/components/Navbar/Navbar.jsx @@ -38,9 +38,15 @@ function Navbar ({ useEffect(() => { setPage(window.history.state.url) - window.history.state.url == '/alpha' ? setMidButton('Albums') : null - window.history.state.url == '/gamma' ? setMidButton('Inventory') : null - }, []) + + setMidButton(t('collections')) + if (window.history.state.url.endsWith('/alpha')) { + setMidButton('Albums') + } else if (window.history.state.url.endsWith('/gamma')) { + setMidButton('Inventory') + } + console.log('page', page, page.endsWith('/alpha')) + }, [page]) const audioHandleClick = () => { @@ -75,9 +81,9 @@ function Navbar ({ > diff --git a/src/pages/admin.jsx b/src/pages/admin.jsx index 28f342e5..0a8e8669 100644 --- a/src/pages/admin.jsx +++ b/src/pages/admin.jsx @@ -1,3 +1,4 @@ +import Head from 'next/head' import React from 'react' import { adminAccounts } from '../config' import {serverSideTranslations} from 'next-i18next/serverSideTranslations' @@ -11,6 +12,11 @@ const Admin = React.forwardRef(() => { return (
+ + Number One Fan + + + {!walletAddress &&
} - - {walletAddress &&
{packIsOpen && { setOpenPackage={setOpenPackage} openPackage={openPackage} />} - - Number One Fan - - - -
{!mobile && inventory && - albums setInventory(false)} className='gammaAlbums' />