Skip to content

Commit

Permalink
fix: Fix alignment for desktop footer (#2)
Browse files Browse the repository at this point in the history
* docs: Update to the new vscode settings

* fix: Fix aligment of desktop footer

* style: Remove unecessary css properties
  • Loading branch information
ValentinVignal authored Mar 4, 2024
1 parent cb93945 commit 85d3668
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
}
}
15 changes: 7 additions & 8 deletions src/global-components/footer/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
white-space: pre-wrap;
display: flex;
justify-content: center;
a {
font-family: 'Proxima Nova';
font-style: normal;
font-weight: 700;
font-size: 18px;
line-height: 18px;
color: #DCE6EA;
}

a {
font-family: 'Proxima Nova';
font-weight: 700;
font-size: 18px;
color: #DCE6EA;
}
}
9 changes: 5 additions & 4 deletions src/global-components/footer/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import './footer.scss'

const footerLinkAbout = <a href="https://pyronear.org/" target="_blank" rel="noopener noreferrer">à propos de Pyronear</a>
const footerLinkAbout = <a href="https://pyronear.org/" target="_blank" rel="noopener noreferrer">À propos de Pyronear</a>
const footerLinkWebsite = <a href="https://pyronear.org/" target="_blank" rel="noopener noreferrer">Site web</a>
const footerLinkLegalMentions = <a href="https://pyronear.org/" target="_blank" rel="noopener noreferrer">mentions légales</a>
const separator = <p> - </p>
const footerLinkLegalMentions = <a href="https://pyronear.org/" target="_blank" rel="noopener noreferrer">Mentions légales</a>
const separator = ' - '

export const Footer = (): JSX.Element =>
<div id="footer">{footerLinkAbout}{separator}{footerLinkWebsite}{separator}{footerLinkLegalMentions}</div>
<div id="footer">
<p>{footerLinkAbout}{separator}{footerLinkWebsite}{separator}{footerLinkLegalMentions}</p></div>

0 comments on commit 85d3668

Please sign in to comment.