Skip to content

Commit

Permalink
feat: update social logos to fit with each brand's guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Nov 13, 2024
1 parent ded1af8 commit 618628a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/assets/svg/linkedin-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/svg/x-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/svg/youtube-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/scss/components/footer/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@

.iati-footer__social {
display: flex;
gap: 0.5rem;
gap: 18px;
}
5 changes: 1 addition & 4 deletions src/scss/components/footer/footer.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ export const Footer: Story = {
>
${Youtube.render?.call({ ...args })}
</a>
<a
href="https://www.facebook.com/IATIaid/"
aria-label="Facebook"
>
<a href="https://www.facebook.com/IATIaid/" aria-label="Facebook">
${Facebook.render?.call({ ...args })}
</a>
</div>
Expand Down
13 changes: 5 additions & 8 deletions src/scss/components/icon/_icon.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
.iati-icon {
display: inline-block;
height: 45px;
width: 45px;
border-radius: 100%;
background-color: white;
height: 36px;
aspect-ratio: 1 / 1;
background-repeat: no-repeat;
background-size: 60%;
background-position: center;
background-size: 100%;

&--youtube {
background-image: url("/src/assets/svg/youtube-logo.svg");
aspect-ratio: 1.2 / 1;
}

&--x {
Expand All @@ -21,8 +20,6 @@
}

&--facebook {
background-image: url("/src/assets/svg/facebook-logo-white.svg");
background-color: transparent;
background-size: 100%;
background-image: url("/src/assets/svg/facebook-logo.svg");
}
}

0 comments on commit 618628a

Please sign in to comment.