-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5dd548
commit 07863d0
Showing
8 changed files
with
482 additions
and
158 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
import React from 'react' | ||
import { NavLink } from 'react-router-dom' | ||
|
||
const CategoryNavbar = () => { | ||
return ( | ||
<nav> | ||
<ul className="grid grid-cols-4 md:grid-cols-8 gap-y-5 justify-between items-start font-roboto"> | ||
<NavLink to="/store/fruits"> | ||
<li className="flex flex-col items-center"> | ||
<img | ||
className="md:h-28 h-14 rounded-full hover:shadow-lg hover:cursor-pointer" | ||
src="/store-navbar/fruit.jpg" | ||
alt="fruit" | ||
/> | ||
<p>Fruits</p> | ||
</li> | ||
</NavLink> | ||
<NavLink to="/store/vegetables"> | ||
<li className="flex flex-col items-center"> | ||
<img | ||
className="md:h-28 h-14 rounded-full hover:shadow-lg hover:cursor-pointer" | ||
src="/store-navbar/vegetable.jpg" | ||
alt="fruit" | ||
/> | ||
<p>Vegetables</p> | ||
</li> | ||
</NavLink> | ||
<NavLink to="/store/coffee-&-tea"> | ||
<li className="flex flex-col items-center"> | ||
<img | ||
className="md:h-28 h-14 rounded-full hover:shadow-lg hover:cursor-pointer" | ||
src="/store-navbar/coffee.png" | ||
alt="fruit" | ||
/> | ||
<p>Coffee & Tea</p> | ||
</li> | ||
</NavLink> | ||
<NavLink to="/store/diary-&-eggs"> | ||
<li className="flex flex-col items-center"> | ||
<img | ||
className="md:h-28 h-14 rounded-full hover:shadow-lg hover:cursor-pointer" | ||
src="/store-navbar/milk.png" | ||
alt="fruit" | ||
/> | ||
<p>Diary & eggs</p> | ||
</li> | ||
</NavLink> | ||
<NavLink to="/store/meat"> | ||
<li className="flex flex-col items-center"> | ||
<img | ||
className="md:h-28 h-14 rounded-full hover:shadow-lg hover:cursor-pointer" | ||
src="/store-navbar/meat.png" | ||
alt="fruit" | ||
/> | ||
<p>Meat</p> | ||
</li> | ||
</NavLink> | ||
<NavLink to="/store/honey-&-bee-products"> | ||
<li className="flex flex-col items-center"> | ||
<img | ||
className="md:h-28 h-14 rounded-full hover:shadow-lg hover:cursor-pointer" | ||
src="/store-navbar/honey.png" | ||
alt="fruit" | ||
/> | ||
<p className="text-center">Honey & Bee Products</p> | ||
</li> | ||
</NavLink> | ||
<NavLink to="/store/flowers"> | ||
<li className="flex flex-col items-center"> | ||
<img | ||
className="md:h-28 h-14 rounded-full hover:shadow-lg hover:cursor-pointer" | ||
src="/store-navbar/flower.png" | ||
alt="fruit" | ||
/> | ||
<p>Flowers</p> | ||
</li> | ||
</NavLink> | ||
<NavLink to="/store/dried-fruits-&-nuts"> | ||
<li className="flex flex-col items-center"> | ||
<img | ||
className="md:h-28 h-14 rounded-full hover:shadow-lg hover:cursor-pointer" | ||
src="/store-navbar/dried-fruit.png" | ||
alt="fruit" | ||
/> | ||
<p>Dried Fruits & Nuts</p> | ||
</li> | ||
</NavLink> | ||
</ul> | ||
</nav> | ||
) | ||
} | ||
|
||
export default CategoryNavbar |
Oops, something went wrong.