Skip to content

Commit

Permalink
feat: DaTerra - fixing path error
Browse files Browse the repository at this point in the history
  • Loading branch information
welisten committed Nov 24, 2023
1 parent 9577312 commit adf8a75
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 109 deletions.
4 changes: 2 additions & 2 deletions src/pages/cart.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ <h5>Mangas tommy do Espirito Santo</h5>
<li class="list-group-item py-3">
<div class="text-end">
<h4 class="text-dark mb-3">Valor Total: R$ 63,84</h4>
<a href="./index.html" class="btn btn-outline-danger btn-lg me-2">Continuar Comprando</a>
<button class="btn btn-danger btn-lg" onclick="window.scrollTo(0, 0)" href="./pages/checkout_items.html" dt-href>Fechar Compra</button>
<a href="./index.html" class="btn btn-outline-success btn-lg me-2">Continuar Comprando</a>
<button class="btn btn-danger btn-lg" onclick="window.scrollTo(0, 0)" href="./pages/checkout_summary.html" dt-href>Fechar Compra</button>
</div>
</li>

Expand Down
51 changes: 51 additions & 0 deletions src/pages/checkout_address.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<div class="container">
<h1>Selecione o endereço de entrega</h1>
<h3 class="lead mb-4">
Selecione o endereço de entrega e clique em <b>Continuar</b> para prosseguir para a <b>seleção de forma de pagamento</b>.
</h3>
<div class="d-flex justify-content-around flex-wrap border rounded-top pt-4 px-3">
<div class="mb-4 mx-2 flex-even">
<input type="radio" class="btn-check" id="checkAddress1" name="address" autocomplete="off" >
<label for="checkAddress1" class="btn btn-outline-danger p-4 h-100 w-100">
<h3 class="text-dark">
<b>Minha Casa</b>
</h3>
<hr>
<b>Wesley Welisten</b><br>
Rua Vereador Armando Barboza, 176 <br>
Guapimirim/RJ <br>
<RJ>CEP 99.999-999</RJ>
</label>
</div>
<div class="mb-4 mx-2 flex-even">
<input type="radio" class="btn-check" id="checkAddress2" name="address" autocomplete="off" >
<label for="checkAddress2" class="btn btn-outline-danger p-4 h-100 w-100">
<h3 class="text-dark">
<b>Trabalho</b>
</h3>
<hr>
<b>Wesley Welisten</b><br>
Rua dos Alfeneiros, 4 <br>
Guapimirim/RJ <br>
<RJ>CEP 99.999-999</RJ>
</label>
</div>
<div class="mb-4 mx-2 flex-even">
<input type="radio" class="btn-check" id="checkAddress3" name="address" autocomplete="off" >
<label for="checkAddress3" class="btn btn-outline-danger p-4 h-100 w-100">
<h3 class="text-dark">
<b>Curso</b>
</h3>
<hr>
<b>Wesley Welisten</b><br>
Rua Alcindo Guanabara, 1556 <br>
Teresópolis/RJ <br>
<RJ>CEP 98.989-989</RJ>
</label>
</div>
</div>
<div class="text-end border border-top-0 rounded-bottom p-4 pb-0 mb-4">
<a href="./pages/checkout_summary.html" class="btn btn-outline-success btn-lg mb-3" dt-href>Voltar aos itens</a>
<a href="./pages/checkout_payment.html" class="btn btn-danger btn-lg ms-2 mt-xs-3 mb-3" onclick="window.scrollTo(0, 0)" dt-href>Continuar</a>
</div>
</div>
107 changes: 0 additions & 107 deletions src/pages/checkout_items.html

This file was deleted.

107 changes: 107 additions & 0 deletions src/pages/checkout_summary.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<div class="container">
<h1>Confira os item do carrinho de compra</h1>
<h3 class="lead">Confira os itens e clique em <b>Continuar</b> para prosseguir para a <b>seleção do endereço de entrega</b>.</h3>
<ul class="list-group mb-3">
<li class="list-group-item py-3">
<div class="row g-3">
<div class="col-4 col-md-3 col-lg-2">
<a href="">
<img src="../imgs/products/000014_coco_seco.webp " alt="coco_seco" class="img-thumbnail">
</a>
</div>
<div class="col-8 col-9 col-lg-7 col-xl-8 text-start align-self-center">
<h4>
<b>
<a href="" class="text-danger text-decoration-none">Coco Seco</a>
</b>
</h4>
<h5>
Coco seco da bahia e da melhor qualidade.
<br>
<b class="mt-4">
2 unidade(s) <br>
R$ 11,96
</b>
</h5>
</div>
</div>
</li>
<li class="list-group-item py-3">
<div class="row g-3">
<div class="col-4 col-md-3 col-lg-2">
<a href="">
<img src="../imgs/products/000058_pitaya_roxa.jpg" alt="coco_seco" class="img-thumbnail">
</a>
</div>
<div class="col-8 col-9 col-lg-7 col-xl-8 text-start align-self-center">
<h4>
<b>
<a href="" class="text-danger text-decoration-none">Pitaia Rocha</a>
</b>
</h4>
<h5>
Pitaia rocha suculenta e docinha.
<br>
<b class="mt-4">
2 unidade(s) <br>
R$ 11,96
</b>
</h5>
</div>
</div>
</li>
<li class="list-group-item py-3">
<div class="row g-3">
<div class="col-4 col-md-3 col-lg-2">
<a href="">
<img src="../imgs/products/000032_alho_poro.png" alt="alho poró" class="img-thumbnail">
</a>
</div>
<div class="col-8 col-9 col-lg-7 col-xl-8 text-start align-self-center">
<h4>
<b>
<a href="" class="text-danger text-decoration-none">Alho poró</a>
</b>
</h4>
<h5>
Talo de alho poró.
<br>
<b class="mt-4">
2 unidade(s) <br>
R$ 11,96
</b>
</h5>
</div>
</div>
</li>
<li class="list-group-item py-3">
<div class="row g-3">
<div class="col-4 col-md-3 col-lg-2">
<a href="">
<img src="../imgs/products/000059_manga.webp" alt="coco_seco" class="img-thumbnail">
</a>
</div>
<div class="col-8 col-9 col-lg-7 col-xl-8 text-start align-self-center">
<h4>
<b>
<a href="" class="text-danger text-decoration-none">Manga Tommy</a>
</b>
</h4>
<h5>
Mangas tommy do Espirito Santo
<br>
<b class="mt-4">
2 unidade(s) <br>
R$ 11,96
</b>
</h5>
</div>
</div>
</li>
<li class="list-group-item text-end pt-3 pb-0">
<h4 class="text-dark">Valor Total: R$ 63,84</h4>
<a href="./pages/cart.html" class="btn btn-outline-success btn-lg mb-3" dt-href>Voltar ao carrinho</a>
<a href="./pages/checkout_address.html" class="btn btn-danger btn-lg ms-2 mt-xs-3 mb-3" onclick="window.scrollTo(0, 0)" dt-href>Continuar</a>
</li>
</ul>
</div>

0 comments on commit adf8a75

Please sign in to comment.