Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sohanemon/easy-fashion
https://github.com/sohanemon/easy-fashion
codemon react react-router tailwindcss
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sohanemon/easy-fashion
- Owner: sohanemon
- Created: 2022-10-14T05:35:23.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-15T04:55:47.000Z (about 2 years ago)
- Last Synced: 2023-04-05T06:28:05.721Z (over 1 year ago)
- Topics: codemon, react, react-router, tailwindcss
- Language: JavaScript
- Homepage: https://easy-fashion.netlify.app/
- Size: 70.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Navlink
consider data as `const data = ["home", "products", "contact", "about"];`
## to style the navlink
```
pathname ===`/${el}` || (pathname === "/" && el === "home") ? "border-b-2" : ""
```## link home route as '/' instead of '/home'
```
to={el === "home" ? "" : el}
```## sometimes height requires in sticky element
```
style={{ position: "sticky", top: "0px" , height: '100vh'}}
```> sticky may rarely on grid items