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

Add Netlify Logo #56

Merged
merged 3 commits into from
Aug 3, 2023
Merged
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
1 change: 1 addition & 0 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function Footer() {
</ul>
</nav>
<p>Copyright Free Code Camp Columbus 2023 - {new Date().getFullYear()}</p>
<a href="https://www.netlify.com" target="_blank" rel="noreferrer" className="image-wrapper"> <img src="https://www.netlify.com/v3/img/components/netlify-color-accent.svg" alt="Deploys by Netlify" /> </a>
</footer>
);
}
Expand Down
13 changes: 13 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ th {
}

footer {
display: flex;
flex-direction: column;
justify-content: space-around;
background-color: #97dad0;
padding: 1em 1em 2em 1em;
}
Expand All @@ -228,4 +231,14 @@ footer p {

footer p {
margin: 0;
}

footer .image-wrapper {
mmcbride2929 marked this conversation as resolved.
Show resolved Hide resolved
display: inline-block;
width: 90px;
margin: 1rem auto 0;
}

footer img {
max-width: 100%;
}
13 changes: 13 additions & 0 deletions src/test/__snapshots__/App.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,19 @@ exports[`App renders 1`] = `
Copyright Free Code Camp Columbus 2023 -
2023
</p>
<a
className="image-wrapper"
href="https://www.netlify.com"
rel="noreferrer"
target="_blank"
>

<img
alt="Deploys by Netlify"
src="https://www.netlify.com/v3/img/components/netlify-color-accent.svg"
/>

</a>
</footer>
</div>
`;
13 changes: 13 additions & 0 deletions src/test/components/__snapshots__/Footer.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,18 @@ exports[`Footer renders 1`] = `
Copyright Free Code Camp Columbus 2023 -
2023
</p>
<a
className="image-wrapper"
href="https://www.netlify.com"
rel="noreferrer"
target="_blank"
>

<img
alt="Deploys by Netlify"
src="https://www.netlify.com/v3/img/components/netlify-color-accent.svg"
/>

</a>
</footer>
`;