Skip to content

Commit a627d1b

Browse files
second commit home
1 parent 5c8fbaa commit a627d1b

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

src/api/routes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ def handle_hello():
2020
}
2121

2222
return jsonify(response_body), 200
23+

src/front/js/component/card.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ import React, { Component } from "react";
22

33
export const Card = () => {
44
return (
5-
<div className="card m-2" style={{width:"18rem"}}>
6-
<img src="..." className="card-img-top" alt="..."/>
7-
<div className="card-body">
8-
<h5 className="card-title">Card title</h5>
5+
<div className="card m-2" style={{ width: "18rem" }}>
6+
<img
7+
src="https://static.zoomalia.com/prod_img/46527/la_53533e8075e9970de0cfea955afd4644bb21537446021.jpg"
8+
style={{ width: "150px", height: "200px" }}
9+
className="card-img-top mx-auto d-block mt-2"
10+
alt="..."
11+
/>
12+
<div className="card-body text-center">
13+
<h5 className="card-title">Título</h5>
914
<p className="card-text">Some quick example text to build on the card.</p>
1015
</div>
11-
<ul className="list-group list-group-flush">
12-
<li className="list-group-item">An item</li>
13-
<li className="list-group-item">A second item</li>
14-
</ul>
15-
{/* <div className="card-body">
16-
<a href="#" className="card-link">Card link</a>
17-
<a href="#" className="card-link">Another link</a>
18-
</div> */}
16+
<div className="mt-auto text-center">
17+
<button className="btn btn-primary m-2">Añadir carrito</button>
18+
</div>
1919
</div>
2020
);
2121
}

src/front/js/component/navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { CiSearch } from "react-icons/ci";
66

77
export const Navbar = () => {
88
return (
9-
<nav className="navbar navbar-expand-lg bg-body-tertiary">
9+
<nav className="navbar navbar-expand-lg bg-light">
1010
<div className="container-fluid">
1111
<a className="navbar-brand" href="#">Pupper Eats</a>
1212
<button className="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

src/front/js/pages/Producto.js

Whitespace-only changes.

0 commit comments

Comments
 (0)