Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the Vercel logo in the footer #412

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions public/images/powered-by-vercel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2488,7 +2488,8 @@ div.zabuto_calendar tr.calendar-dow td {
margin-bottom: 3rem;
}
.footer .footer-menu {
text-align: right;
display: flex;
justify-content: center;
}
.footer .footer-menu li {
border-right: 1px solid var(--element-4);
Expand Down
10 changes: 4 additions & 6 deletions src/components/Footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ function Footer() {
<footer id="footer" className="section footer">
<div className="container">
<div className="row">
<div className="col-md-6 col-sm-6">
<p className="copyright">
<div className="col-md-3 col-sm-6">
<p className="copyright footer-menu">
<FaRegCopyright color="#fff" />
{new Date().getFullYear()}
<span>
Expand All @@ -178,17 +178,15 @@ function Footer() {
</li>
</ul>
</div>
</div>
<div className="row">
<div className="d-inline-flex p-2">
<div className="col-md-3 col-sm-6">
<a
className="footer-menu"
target="_blank"
rel="noopener noreferrer"
aria-label="Vercel Link"
href="https://vercel.com?utm_source=vetswhocode.io&utm_campaign=oss"
>
<Image
className="justify-center"
src="/images/powered-by-vercel.svg"
alt="vercel banner"
height={48}
Expand Down
12 changes: 4 additions & 8 deletions tests/components/__snapshots__/Footer.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,10 @@ exports[`<Footer /> should render correctly 1`] = `
class="row"
>
<div
class="col-md-6 col-sm-6"
class="col-md-3 col-sm-6"
>
<p
class="copyright"
class="copyright footer-menu"
>
<svg
color="#fff"
Expand Down Expand Up @@ -502,22 +502,18 @@ exports[`<Footer /> should render correctly 1`] = `
</li>
</ul>
</div>
</div>
<div
class="row"
>
<div
class="d-inline-flex p-2"
class="col-md-3 col-sm-6"
>
<a
aria-label="Vercel Link"
class="footer-menu"
href="https://vercel.com?utm_source=vetswhocode.io&utm_campaign=oss"
rel="noopener noreferrer"
target="_blank"
>
<img
alt="vercel banner"
class="justify-center"
height="48"
src="/images/powered-by-vercel.svg"
width="196"
Expand Down
12 changes: 4 additions & 8 deletions tests/components/__snapshots__/Layout.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -762,10 +762,10 @@ exports[`<Layout /> should render correctly 1`] = `
class="row"
>
<div
class="col-md-6 col-sm-6"
class="col-md-3 col-sm-6"
>
<p
class="copyright"
class="copyright footer-menu"
>
<svg
color="#fff"
Expand Down Expand Up @@ -855,22 +855,18 @@ exports[`<Layout /> should render correctly 1`] = `
</li>
</ul>
</div>
</div>
<div
class="row"
>
<div
class="d-inline-flex p-2"
class="col-md-3 col-sm-6"
>
<a
aria-label="Vercel Link"
class="footer-menu"
href="https://vercel.com?utm_source=vetswhocode.io&utm_campaign=oss"
rel="noopener noreferrer"
target="_blank"
>
<img
alt="vercel banner"
class="justify-center"
height="48"
src="/images/powered-by-vercel.svg"
width="196"
Expand Down