-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
203 changed files
with
9,802 additions
and
8,167 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,18 +1,36 @@ | ||
# Updates! | ||
|
||
This new version contains an integration with redux-toolkit instead of redux and it's witch Typescript :) | ||
|
||
# Next.js Ecommerce | ||
|
||
This repo contains a work in progress Ecommerce responsive made with Next.js, Redux, Redux-persist, Hooks, SCSS and BEM. If you like it please give it a star :) | ||
|
||
## Available pages | ||
|
||
- Home page: / | ||
- Products page: /products | ||
- Product single page: /product/1 | ||
- Cart page: /cart | ||
- Login page: /login | ||
- Register page: /register | ||
- 404 page: /page-not-found | ||
- [ ] Use CSS variables instead of static colors | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. |
This file was deleted.
Oops, something went wrong.
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,83 @@ | ||
ul li{ | ||
list-style: none; | ||
} | ||
a{ | ||
text-decoration: none; | ||
} | ||
.font-weight-500 { | ||
font-weight: 500 !important; | ||
} | ||
.font-weight-600 { | ||
font-weight: 600 !important; | ||
} | ||
.yellowgreen-100 { | ||
color: var(--color-yellowgreen-100); | ||
} | ||
|
||
/* border radius */ | ||
.border-radius-5xl{ | ||
border-radius: var(--br-5xl); | ||
} | ||
.border-radius-5xs{ | ||
border-radius: var(--br-5xs); | ||
} | ||
|
||
.padding-sm{ | ||
padding: var(--padding-5xs) var(--padding-sm); | ||
} | ||
.padding-lg{ | ||
padding: var(--padding-3xs) var(--padding-lg); | ||
} | ||
|
||
/* text color */ | ||
.text-gray-600 { | ||
color: var(--gray-600); | ||
} | ||
.text-gray-7001{ | ||
color: var(--gray-7001); | ||
} | ||
|
||
/* font size */ | ||
.text-sm-semibold-size{ | ||
font-size: var(--text-sm-semibold-size); | ||
} | ||
.text-xs-semibold-size{ | ||
font-size: var(--display-xs-semibold-size); | ||
} | ||
|
||
.line-height-38{ | ||
line-height: 38px; | ||
} | ||
.line-height-20{ | ||
line-height: 20px; | ||
} | ||
@media (min-width: 1400px){ | ||
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { | ||
max-width: 1366px; | ||
} | ||
} | ||
.user-avatar:hover .submenu{ | ||
opacity: 1; | ||
visibility: visible; | ||
} | ||
.user-avatar .submenu { | ||
position: absolute; | ||
right: 0; | ||
top: 50px; | ||
background: #ffffff; | ||
width: 180px; | ||
z-index: 9; | ||
padding: 5px 0; | ||
-webkit-transition: all, 0.3s; | ||
-moz-transition: all, 0.3s; | ||
-ms-transition: all, 0.3s; | ||
-o-transition: all, 0.3s; | ||
transition: all, 0.3s; | ||
opacity: 0; | ||
visibility: hidden; | ||
border: 1px solid rgba(0, 71, 60, 0.20); | ||
} | ||
|
||
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) { | ||
cursor: pointer; | ||
} |
Oops, something went wrong.