Skip to content

Commit bcc2ca4

Browse files
committed
fix: Update navbar
1 parent bd7c57a commit bcc2ca4

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/components/custom/TopSeller.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const TopSeller: React.FC = () => {
1717
>
1818
<SwiperSlide>
1919
<CardTopSeller
20-
img="/src/assets/images/Macbook.svg"
20+
img="/src/assets/images/Macboo.svg"
2121
name="Popular Products"
2222
description="iPad combines a magnificent 10.2-inch Retina display, incredible performance, multitasking and ease of use."
2323
url="/products/category/news"

src/components/custom/utils/NewsletterForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const NewsletterForm: React.FC = () => {
5656
minLength={5}
5757
maxLength={75}
5858
autoComplete="off"
59-
className="w-full max-w-[50rem] md:max-w-full px-2 md:px-4 py-1 md:py-2 border-none focus:border-none focus:outline-none focus-visible:outline-none focus-visible:border-none text-sm md:text-base placeholder:text-sm md:placeholder:text-base"
59+
className="w-full max-w-[50rem] md:max-w-full text-footer/95 px-2 md:px-4 py-1 md:py-2 border-none focus:border-none focus:outline-none focus-visible:outline-none focus-visible:border-none text-sm md:text-base placeholder:text-sm md:placeholder:text-base"
6060
{...field}
6161
/>
6262
</FormControl>

src/layouts/navbar/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import DownNavbar from './DownNavbar'
44

55
const Navbar: React.FC = () => {
66
return (
7-
<nav className='sticky top-0 left-0 z-50'>
7+
<nav className='sticky top-0 left-0 z-50 border-b border-foreground/50 md:border-none'>
88
<UpNavbar />
99
<DownNavbar />
1010
</nav>

src/layouts/navbar/UpNavbar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ const UpNavbar: React.FC = () => {
102102
</div>
103103

104104
{/* Menu button, for small screens */}
105-
<div className="block md:hidden">
106-
<Button className="w-auto h-auto shadow-none border-none text-xl p-3 hover:bg-foreground/10 rounded-full duration-200">
107-
<AiOutlineMenu />
105+
<div className="block md:hidden group">
106+
<Button className="w-auto h-auto shadow-none border-none p-2.5 rounded-lg bg-transparent group-hover:bg-foreground/15 text-foreground/95 group-hover:text-foreground duration-200">
107+
<AiOutlineMenu size={32}/>
108108
</Button>
109109
</div>
110110
</div>

src/pages/home/Home.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ const Home: React.FC = () => {
2323
{/* App Comoments */}
2424
<>
2525
<Hero />
26-
<BestProducts />
27-
<BrowseByCategory />
26+
<BestProducts />
27+
<BrowseByCategory />
2828
<SomeProducts />
2929
<TopSeller />
3030
<DiscountProduct />
3131
<HomeBanner />
3232
<Testimonies />
3333
<Newsletter />
34-
<Benefits/>
34+
<Benefits />
3535
</>
3636
</>
3737
)

0 commit comments

Comments
 (0)