Skip to content

Biandito patch 1 #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 60 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
e2262c9
Delete public directory
GuiSSant Aug 4, 2024
020d8ee
Delete src directory
GuiSSant Aug 4, 2024
7b58515
Delete package-lock.json
GuiSSant Aug 4, 2024
7287507
Delete package.json
GuiSSant Aug 4, 2024
1d64282
Adicionando arquivos modificados
GuiSSant Aug 4, 2024
b77f540
Add files via upload
GuiSSant Aug 4, 2024
5103765
Adicionando resto das imagens
GuiSSant Aug 4, 2024
a98c2e1
Adição página de Perfil
GuiSSant Aug 5, 2024
e5af72f
Página inicial e Atualização do carrinho
GuiSSant Aug 6, 2024
fa375cd
Imagens dos produtos
GuiSSant Aug 6, 2024
722397d
Delete vite.config.js
GuiSSant Aug 7, 2024
0c042db
Rename index.html to public/index.html
GuiSSant Aug 7, 2024
d84d358
packages
GuiSSant Aug 7, 2024
9243aba
Add files via upload
GuiSSant Aug 8, 2024
f50c89f
Rename public/index.html to index.html
GuiSSant Aug 8, 2024
23f2c7e
Update index.html
GuiSSant Aug 8, 2024
74e7227
Atualização public
GuiSSant Aug 8, 2024
57a8bc0
Update src
GuiSSant Aug 8, 2024
93e1f70
Update Login.jsx
GuiSSant Aug 8, 2024
8aa7cc5
Update Profile.jsx
GuiSSant Aug 8, 2024
6cd590d
Update Registrar.jsx
GuiSSant Aug 8, 2024
0932d83
Update package.json
GuiSSant Aug 8, 2024
8b971da
Update package.json
GuiSSant Aug 8, 2024
cab7920
Update App.jsx
GuiSSant Aug 8, 2024
b5ce3f6
Update App.jsx
GuiSSant Aug 8, 2024
0240f46
Update index.html
GuiSSant Aug 8, 2024
6174f05
Update App.jsx ROUTER
GuiSSant Aug 8, 2024
a44be90
Limpeza da home
GuiSSant Aug 8, 2024
bd6e9d1
Update FazVendas src
GuiSSant Aug 8, 2024
f0c3527
Update FazVendas public
GuiSSant Aug 8, 2024
b8194a6
Update Sdata.js
GuiSSant Aug 8, 2024
5c342c3
Update Sdata.js
GuiSSant Aug 8, 2024
45a9254
Delete vite.config.js
GuiSSant Aug 20, 2024
a1d52f6
Páginas individuais de produtos e completar compra
GuiSSant Aug 20, 2024
b2eaf92
Delete src directory
GuiSSant Aug 20, 2024
69e9560
Voltando src
GuiSSant Aug 20, 2024
010cde8
import auth
GuiSSant Aug 20, 2024
36da7e4
import app.jsx
GuiSSant Aug 20, 2024
c6aaf34
import Produto
GuiSSant Aug 20, 2024
ab2ccd6
import pedido
GuiSSant Aug 20, 2024
13ebdfc
removendo arquivos
GuiSSant Aug 20, 2024
5b53151
Categoria correção
GuiSSant Aug 20, 2024
668a7f4
Update Pages.jsx
GuiSSant Aug 20, 2024
80fe314
Atualizando componentes
GuiSSant Aug 20, 2024
36ac629
atualizando header
GuiSSant Aug 20, 2024
11923bd
Update Search.jsx
GuiSSant Aug 20, 2024
f2030fd
Update Search.jsx
GuiSSant Aug 20, 2024
09e4daf
Update Search.jsx
GuiSSant Aug 20, 2024
f37108d
tirando tudo
GuiSSant Aug 20, 2024
7f73150
Update Search.jsx
GuiSSant Aug 20, 2024
e3caea4
Update Header.jsx
GuiSSant Aug 20, 2024
97671cf
socorro
GuiSSant Aug 20, 2024
e38c265
Tirando list
GuiSSant Aug 20, 2024
6313f0f
Update Search.jsx
GuiSSant Aug 20, 2024
320cfbd
lista corrigida
GuiSSant Aug 20, 2024
244bd65
cart update
GuiSSant Aug 20, 2024
0ed1b04
corrigindo links
GuiSSant Aug 20, 2024
4e32bfb
Update Pedido.jsx
GuiSSant Aug 20, 2024
510ea38
Correções Produtos, Carrinho e Flash
GuiSSant Aug 27, 2024
439b058
Update Login.jsx
biandito Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.png" />
<link rel="icon" href="./public/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<meta name="description" content="Loja de Agricultura" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.0.0/css/all.css" integrity="sha384-3B6NwesSXE7YJlcLI9RpRqGf2p/EgVH8BgoKTaUrmKNDkHPStTQ3EyoYjCGXaOTS" crossorigin="anonymous" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>React Js Ecommerce Template</title>
<link rel="manifest" href="/manifest.json" />
<title>FazVendas</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<noscript>Habilite o JavaScript para utilizar a loja</noscript>
<div id="root"></div>
<script type="module" src="./src/main.jsx"></script>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
Expand Down
31,238 changes: 3,656 additions & 27,582 deletions package-lock.json

Large diffs are not rendered by default.

70 changes: 31 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,38 @@
{
"name": "bonik-shop",
"version": "0.1.0",
"name": "socorro",
"private": true,
"dependencies": {
"@emotion/react": "^11.8.1",
"@emotion/styled": "^11.8.1",
"@mui/material": "^5.4.4",
"@mui/styled-engine-sc": "^5.4.2",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^5.3.0",
"react-scripts": "5.0.0",
"react-slick": "^0.28.1",
"slick-carousel": "^1.8.1",
"styled-components": "^5.3.3",
"web-vitals": "^2.1.4"
},
"version": "0.1.0",
"type": "module",
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"dev": "vite",
"build": "vite build",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
"dependencies": {
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^5.16.6",
"@mui/material": "^5.16.6",
"@mui/styled-engine": "^5.16.6",
"@mui/system": "^5.16.7",
"@types/react-router-dom": "^5.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.0",
"react-slick": "^0.30.2",
"react-toastify": "^10.0.5",
"slick-carousel": "^1.8.1",
"styled-components": "^6.1.12"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"vite": "^5.3.4"
}
}
Binary file modified public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/abobrinha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/alface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/alface2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/aspersor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/berinjela.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/botão gotejador.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/dosador1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/fertilizante1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/fertilizante2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/fertilizante3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/fertilizante4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/filtro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/melancia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/pulverizador1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/pulverizador2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/repolho.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/rocadeira1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/rocadeira2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/soprovarredor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/tomate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/agricultura/tubo gotejador.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/flash/rocadeira1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 27 additions & 11 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ button {
box-shadow: rgb(43 52 69 / 10%) 0px 4px 16px;
background-color: #fff;
width: 23%;
height: 510px;
min-height: 10%;
padding: 15px 0;
border-radius: 5px;
margin-top: 5px;
Expand All @@ -97,13 +97,14 @@ button {
padding: 0 20px;
}
.category .box:hover {
background-color: #ffe1e6;
background-color: #f9cc95
;
cursor: pointer;
}

/*---------category----------*/
.btn-primary {
background: #e94560;
background: #f49728 ;
padding: 13px 40px;
font-weight: bold;
color: #fff;
Expand All @@ -116,14 +117,14 @@ button {
margin-top: 40px;
}
.heading i {
color: #e94560;
color: #f49728 ;
margin: 10px;
}
.discount {
position: absolute;
top: 0;
left: 0;
background: #e94560;
background: #f49728 ;
padding: 3px 10px;
font-size: 12px;
border-radius: 50px;
Expand All @@ -148,14 +149,21 @@ button {
color: #ffcd4e;
margin: 5px 5px 5px 0;
}
.product .old{
display: flex;
justify-content: space-between;
color: #656565;
}

.product .price {
display: flex;
justify-content: space-between;
color: #e94560;
color: #f49728
;
}
.price button {
background: none;
color: #e94560;
color: #f49728 ;
font-size: 20px;
transition: 0.5s;
border: 1px solid rgb(3 0 71 / 9%);
Expand All @@ -165,7 +173,8 @@ button {
}
.price button:hover {
cursor: pointer;
background-color: #e94560;
background-color: #f49728
;
color: #fff;
}
.product-like {
Expand All @@ -177,7 +186,7 @@ button {
transition: 0.5s;
}
.product-like label {
background-color: #0f3460;
background-color: #007744;
padding: 1px 10px;
font-size: 12px;
color: white;
Expand All @@ -190,6 +199,13 @@ button {
.product:hover .product-like {
opacity: 1;
}
.compra{
min-height: 450px;
}

.product img{
aspect-ratio: 1/1;
}
/*---------product-----------*/
/*----- control btn -------*/
.control-btn .next,
Expand All @@ -199,7 +215,7 @@ button {
width: 50px;
height: 50px;
line-height: 60px;
background: #0f3460;
background: #007744;
border-radius: 50%;
transform: 0.5s;
z-index: 5;
Expand All @@ -218,7 +234,7 @@ button {
}
.control-btn .prev:hover,
.control-btn .next:hover {
background: #e94560;
background: #f49728;
color: white;
cursor: pointer;
}
Expand Down
Loading