Skip to content

Commit

Permalink
Add qr code to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
AccessiT3ch committed Jan 23, 2025
1 parent ccda67b commit 0a0142a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
Binary file added public/assets/qr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 24 additions & 1 deletion src/App/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function App() {
<Col>
<h2>To the agent</h2>
</Col>
<Col style={{ width: '100%'}}>
<Col style={{ width: "100%" }}>
<Nav variant="pills" className="justify-content-end">
<Nav.Item>
<Nav.Link eventKey="translated">Translated</Nav.Link>
Expand Down Expand Up @@ -128,6 +128,29 @@ function App() {
</Button>
</Col>
</Row>
<Row>
<Col
xs={{ span: 8, offset: 2 }}
sm={{ span: 6, offset: 3 }}
md={{ span: 4, offset: 4 }}
lg={{ span: 2, offset: 5 }}
>
<a
href="/"
target="_self"
rel="noopener noreferrer"
className="qr-link"
style={{ textAlign: "center" }}
>
<img
style={{ maxWidth: "100%", marginBottom: "0.5rem" }}
src="/assets/qr.png"
alt="QR code to this website"
/>
<p>Scan to Share</p>
</a>
</Col>
</Row>
</footer>
</Container>
);
Expand Down
2 changes: 1 addition & 1 deletion src/App/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ footer {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 1rem;
margin-bottom: 2rem;
font-weight: bold;
border-radius: 1rem;
color: $body-bg;
Expand Down

0 comments on commit 0a0142a

Please sign in to comment.