Skip to content

Commit

Permalink
fixing footer issues and adoption en page links
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoude5 committed Sep 28, 2024
1 parent 6c655d4 commit d3091ae
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Footer = () => {

<footer>
<div className="container">
<div className="row">
<div className="row footer-wrapper">
<img className='footer-logo' src={logo} alt='logo' />

<ul className="footer-menu">
Expand Down
2 changes: 1 addition & 1 deletion src/components/fr/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Footer = () => {

<footer>
<div className="container">
<div className="row">
<div className="row footer--wrapper">
<img className='footer-logo' src={logo} alt='logo' />

<ul className="footer-menu">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/adoptions.en.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Adoptions = ({data, pageContext}) => {
<h1>Adoptions</h1>
{data.allContentfulAdoptions.nodes.map((item, index) => {
return (
<a className="adoptions--wrapper"href={item.urlPath}>
<a className="adoptions--wrapper" href={`/en/adoptions/${item.names}`}>

<div className="adoption card col-md-4">
<div className="adoption-teaser">
Expand Down
7 changes: 7 additions & 0 deletions src/sass/components/footer.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
footer {
margin-top: 40px;
.footer-wrapper {
display: block;
@media(min-width: 768px) {
display: flex;
}
}

@media(min-width: 1024px) {
margin-top: 100px;
}
Expand Down
6 changes: 3 additions & 3 deletions src/sass/components/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
}
}
.bm-burger-button {
width: 50px;
height: 50px;
width: 25px;
height: 25px;
position: absolute;
right: -34px;
right: -7px;
top: 28px;

@media(min-width: 992px) {
Expand Down

0 comments on commit d3091ae

Please sign in to comment.