Skip to content

Commit 8f774a8

Browse files
committed
correcciones css, no me acuerdo que mas, reviews fake en detail page terminado y carousel
1 parent 63d5163 commit 8f774a8

File tree

17 files changed

+346
-71
lines changed

17 files changed

+346
-71
lines changed

migrations/versions/7dfa1f8691ff_.py renamed to migrations/versions/bac56bdb0f3e_.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
"""empty message
22
3-
Revision ID: 7dfa1f8691ff
3+
Revision ID: bac56bdb0f3e
44
Revises:
5-
Create Date: 2021-09-14 07:33:46.611897
5+
Create Date: 2021-09-14 09:48:00.362327
66
77
"""
88
from alembic import op
99
import sqlalchemy as sa
1010

1111

1212
# revision identifiers, used by Alembic.
13-
revision = '7dfa1f8691ff'
13+
revision = 'bac56bdb0f3e'
1414
down_revision = None
1515
branch_labels = None
1616
depends_on = None

package-lock.json

Lines changed: 148 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,15 @@
7979
"dependencies": {
8080
"@material-ui/core": "^4.12.3",
8181
"@material-ui/icons": "^4.11.2",
82-
"bootstrap": "^4.6.0",
82+
"bootstrap": "^5.1.0",
8383
"jsonwebtoken": "^8.5.1",
8484
"jwt-decode": "^3.1.2",
8585
"leaflet": "^1.7.1",
8686
"material-ui-image": "^3.3.2",
8787
"material-ui-password-field": "^2.1.2",
8888
"prop-types": "^15.7.2",
8989
"react": "^16.14.0",
90+
"react-bootstrap": "^2.0.0-beta.6",
9091
"react-dom": "^16.14.0",
9192
"react-hook-form": "^7.14.2",
9293
"react-leaflet": "^2.8.0",

src/front/js/component/card.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const Card = props => {
88
const linkToBuserviceId = "/buservices/".concat(props.i);
99
return (
1010
<div className="card_container">
11-
<Link to={linkToBuserviceId}>
11+
<Link className="link-card-search" to={linkToBuserviceId}>
1212
<div className="card_image" />
1313
<div className="card_container_text">
1414
<span className="card_category">{props.category}</span>

src/front/js/component/footer.jsx

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ const Footer = () => (
1111
</div>
1212
<div>
1313
<div className="footer_text">
14-
<Link to="/about">About us</Link>
14+
<Link className="a-footer" to="/about">
15+
About us
16+
</Link>
1517
</div>
1618
<div>
17-
<Link to="/contact">Contact</Link>
19+
<Link className="a-footer" to="/contact">
20+
Contact
21+
</Link>
1822
</div>
1923
</div>
2024
</div>
@@ -26,8 +30,18 @@ const Footer = () => (
2630
<div className="footer_terms">
2731
<div className="footer_terms_divider" />
2832
<span className="footer_terms_text">
29-
2021© <Link to="/terms">Terms & Conditions</Link><Link to="/privacy">Privacy Policy</Link>{" "}
30-
<Link to="/cookies">Cookies</Link>
33+
2021©{" "}
34+
<Link className="a-footer" to="/terms">
35+
Terms & Conditions
36+
</Link>{" "}
37+
{" "}
38+
<Link className="a-footer" to="/privacy">
39+
Privacy Policy
40+
</Link>{" "}
41+
{" "}
42+
<Link className="a-footer" to="/cookies">
43+
Cookies
44+
</Link>
3145
</span>
3246
</div>
3347
</div>

src/front/js/component/gallery.jsx

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
import React, { Fragment } from "react";
2+
import Carousel from "react-bootstrap/Carousel";
3+
import "../../styles/gallery.scss";
4+
5+
const Gallery = () => {
6+
return (
7+
<Fragment>
8+
<Carousel fade>
9+
<Carousel.Item>
10+
<img
11+
className="d-block w-100 img-carousel"
12+
src="https://i.ibb.co/pZ6169w/2.png"
13+
alt="First slide"
14+
/>
15+
<Carousel.Caption>
16+
{/* <h3>First slide label</h3>
17+
<p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p> */}
18+
</Carousel.Caption>
19+
</Carousel.Item>
20+
<Carousel.Item>
21+
<img
22+
className="d-block w-100 img-carousel"
23+
src="https://i.ibb.co/5cV4YqK/1.png"
24+
alt="Second slide"
25+
/>
26+
27+
<Carousel.Caption>
28+
{/* <h3>Second slide label</h3>
29+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> */}
30+
</Carousel.Caption>
31+
</Carousel.Item>
32+
<Carousel.Item>
33+
<img
34+
className="d-block w-100 img-carousel"
35+
src="https://i.ibb.co/V3h15xt/3.png"
36+
alt="Third slide"
37+
/>
38+
39+
<Carousel.Caption>
40+
{/* <h3>Third slide label</h3>
41+
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.</p> */}
42+
</Carousel.Caption>
43+
</Carousel.Item>
44+
</Carousel>
45+
</Fragment>
46+
);
47+
};
48+
49+
export default Gallery;

src/front/js/component/review.jsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ const Review = props => {
77
return (
88
<div className="review_container">
99
<div className="header_review">
10-
<div className="review_profile_image" />
10+
<div className="review_profile_image">
11+
<img className="review_new_image" src={props.image}></img>
12+
</div>
1113
<div className="review_profile_text">
1214
<span className="review_name">{props.name}</span>
13-
<span className="review_chat">
15+
{/* <span className="review_chat">
1416
<i className="fas fa-comment-dots" /> Send a message
15-
</span>
17+
</span> */}
1618
</div>
1719
</div>
1820
<span className="review_date">{props.date}</span>
@@ -25,6 +27,7 @@ const Review = props => {
2527
};
2628

2729
Review.propTypes = {
30+
image: PropTypes.string.isRequired,
2831
name: PropTypes.string.isRequired,
2932
date: PropTypes.string.isRequired,
3033
text: PropTypes.string.isRequired

0 commit comments

Comments
 (0)