Mobile menu updated
This commit is contained in:
parent
dedc65a9dc
commit
42c1f211f3
@ -35,7 +35,7 @@ const MobileMenu = ({ isSidebar, handleMobileMenu, handleSidebar }) => {
|
||||
<div className="menu-outer">
|
||||
<div className="collapse navbar-collapse show clearfix" id="navbarSupportedContent">
|
||||
<ul className="navigation">
|
||||
<li className={isActive.key == 1 ? "dropdown current" : "dropdown"}><Link href="/">Home</Link>
|
||||
{/* <li className={isActive.key == 1 ? "dropdown current" : "dropdown"}><Link href="/">Home</Link>
|
||||
<ul style={{ display: `${isActive.key == 1 ? "block" : "none"}` }}>
|
||||
<li><Link href="/">Home One</Link></li>
|
||||
<li><Link href="index-2">Home Two</Link></li>
|
||||
@ -43,26 +43,28 @@ const MobileMenu = ({ isSidebar, handleMobileMenu, handleSidebar }) => {
|
||||
<li><Link href="index-4">Home Four</Link></li>
|
||||
</ul>
|
||||
<div className={isActive.key == 1 ? "dropdown-btn open" : "dropdown-btn"} onClick={() => handleToggle(1)}><span className="fa fa-angle-right" /></div>
|
||||
</li>
|
||||
<li className={isActive.key == 2 ? "dropdown current" : "dropdown"}><Link href="/#">About</Link>
|
||||
<ul style={{ display: `${isActive.key == 2 ? "block" : "none"}` }}>
|
||||
</li> */}
|
||||
<li className={isActive.key == 2 ? "dropdown current" : "dropdown"}><Link href="/#about">About</Link>
|
||||
{/* <ul style={{ display: `${isActive.key == 2 ? "block" : "none"}` }}>
|
||||
<li><Link href="about">About</Link></li>
|
||||
<li><Link href="team">Team</Link></li>
|
||||
<li><Link href="restaurant">Restaurant</Link></li>
|
||||
</ul>
|
||||
<div className={isActive.key == 2 ? "dropdown-btn open" : "dropdown-btn"} onClick={() => handleToggle(2)}><span className="fa fa-angle-right" /></div>
|
||||
<div className={isActive.key == 2 ? "dropdown-btn open" : "dropdown-btn"} onClick={() => handleToggle(2)}><span className="fa fa-angle-right" /></div> */}
|
||||
</li>
|
||||
<li className={isActive.key == 3 ? "dropdown current" : "dropdown"}><Link href="/#">Menu</Link>
|
||||
<ul style={{ display: `${isActive.key == 3 ? "block" : "none"}` }}>
|
||||
<li><Link href="/#popular-dishes">Popular Dishes</Link></li>
|
||||
<li><Link href="/#sixty5-street-specials">Sixty5 Street Specials</Link></li>
|
||||
<li className={isActive.key == 3 ? "dropdown current" : "dropdown"}><Link href="/#menu">Menu</Link>
|
||||
{/* <ul style={{ display: `${isActive.key == 3 ? "block" : "none"}` }}>
|
||||
<li><Link href="menu">Menu</Link></li>
|
||||
<li><Link href="milkshake">Milk Shake</Link></li>
|
||||
<li><Link href="frappe">Frappe</Link></li>
|
||||
<li><Link href="boba-tea">Boba Tea</Link></li>
|
||||
<li><Link href="slushy">Slushy</Link></li>
|
||||
</ul>
|
||||
<div className={isActive.key == 3 ? "dropdown-btn open" : "dropdown-btn"} onClick={() => handleToggle(3)}><span className="fa fa-angle-right" /></div>
|
||||
<div className={isActive.key == 3 ? "dropdown-btn open" : "dropdown-btn"} onClick={() => handleToggle(3)}><span className="fa fa-angle-right" /></div> */}
|
||||
</li>
|
||||
<li className={isActive.key == 4 ? "dropdown current" : "dropdown"}><Link href="/#">Gallery</Link>
|
||||
{/* <li className={isActive.key == 4 ? "dropdown current" : "dropdown"}><Link href="/#">Gallery</Link>
|
||||
<ul style={{ display: `${isActive.key == 4 ? "block" : "none"}` }}>
|
||||
<li><Link href="gallery">Gallery</Link></li>
|
||||
<li><Link href="gallery-2">Gallery 02</Link></li>
|
||||
@ -78,7 +80,7 @@ const MobileMenu = ({ isSidebar, handleMobileMenu, handleSidebar }) => {
|
||||
</ul>
|
||||
<div className={isActive.key == 5 ? "dropdown-btn open" : "dropdown-btn"} onClick={() => handleToggle(5)}><span className="fa fa-angle-right" /></div>
|
||||
</li>
|
||||
<li><Link href="/contact">Contact</Link></li>
|
||||
<li><Link href="/contact">Contact</Link></li> */}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -8,7 +8,7 @@ export default function Juice() {
|
||||
|
||||
{/* Juice Section */}
|
||||
<section className="juice-section" id="about">
|
||||
<div className="section-text">Sixty5Street</div>
|
||||
{/* <div className="section-text">Sixty5Street</div> */}
|
||||
{/* <div className="pattern-layer" style={{ backgroundImage: 'url(assets/images/background/1.png)' }} ></div> */}
|
||||
<div className="pattern-layer-two" style={{ backgroundImage: 'url(assets/images/resource/juice-glass.png)' }} ></div>
|
||||
<div className="auto-container">
|
||||
|
||||
@ -19,7 +19,7 @@ export default function Menu2() {
|
||||
<img src="assets/images/icons/menu-1.png" alt="" />
|
||||
</div>
|
||||
<h6><Link href="#">Street Flavor</Link></h6>
|
||||
<div className="text">Spicy shawarmas, crispy dosas, saucy wings burst with bold, unforgettable flavor.</div>
|
||||
<div className="text">Spicy shawarmas, crispy dosas, saucy wings burst with bold, unforgettable street flavor.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -205,7 +205,7 @@
|
||||
|
||||
.main-header{
|
||||
position:relative;
|
||||
background-color:#222222;
|
||||
background-color:#e0766d;
|
||||
}
|
||||
|
||||
.main-header .nav-outer{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user