Skip to content

Commit

Permalink
Fixed typo and testing display of actual image on a imagecontainer
Browse files Browse the repository at this point in the history
That's about it.
  • Loading branch information
RA-Salles committed Aug 10, 2024
1 parent 7039aa0 commit 39ea501
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/pages/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class RepublicImage extends React.Component {
return(
<div className="images">
<p className="republicName">{ this.props.text}</p>
<a href="Republica.html">
<a href="Republica">
<img className="repsImages" src={this.props.imageSrc} alt={this.props.imgAlt} />
</a>
</div>
Expand Down Expand Up @@ -109,7 +109,7 @@ class home extends React.Component {
<div className="FamousReps">
<label htmlFor="">Repúblicas Populares</label>
<div className="ContainerRepublicas" style={{ display: "flex" }}>
<RepublicImage text="Nome da República" imageSrc="images/image1.jpg" imgAlt="placeholder"/>
<RepublicImage text="Nome da República" imageSrc="https://cloudfront-us-east-1.images.arcpublishing.com/eluniversal/MWZOUNQNXFH2TEH5J5EXOLQRKA.jpg" imgAlt="placeholder"/>
<RepublicImage text="Nome da República" imageSrc="images/image1.jpg" imgAlt="placeholder"/>
<RepublicImage text="Nome da República" imageSrc="images/image1.jpg" imgAlt="placeholder"/>
<RepublicImage text="Nome da República" imageSrc="images/image1.jpg" imgAlt="placeholder"/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/republica.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function republica() {
/>
<div className="col colunaCima">
<h1 className="titulo">UniRep</h1>
<a href="home.html" className="logo">
<a href="/" className="logo">
<svg
xmlns="http://www.w3.org/2000/svg"
x="0px"
Expand Down

0 comments on commit 39ea501

Please sign in to comment.