Skip to content

Commit

Permalink
fix: favicon color issue (#1967)
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 authored Oct 23, 2023
1 parent a6fb271 commit 115836b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion webapp/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 13 additions & 7 deletions webapp/src/component/layout/CompactFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,20 @@ const StyledSocial = styled(Box)`
`;

const StyledLink = styled(Link)`
display: inline-flex;
display: grid;
gap: 8px;
align-items: center;
color: ${({ theme }) => theme.palette.text.secondary};
transition: color 50ms ease-in-out;
&:hover {
color: ${({ theme }) => theme.palette.text.primary};
}
grid-template-columns: 25px auto;
justify-items: center;
`;

const StyledSocialText = styled('span')`
justify-self: start;
`;

export const CompactFooter = () => {
Expand All @@ -47,7 +53,7 @@ export const CompactFooter = () => {
rel="noopener noreferrer"
>
<TwitterLogo />
<span>Twitter</span>
<StyledSocialText>Twitter</StyledSocialText>
</StyledLink>
</StyledSocial>
<StyledSocial>
Expand All @@ -57,7 +63,7 @@ export const CompactFooter = () => {
rel="noopener noreferrer"
>
<FacebookLogo />
<span>Facebook</span>
<StyledSocialText>Facebook</StyledSocialText>
</StyledLink>
</StyledSocial>
<StyledSocial>
Expand All @@ -67,7 +73,7 @@ export const CompactFooter = () => {
rel="noopener noreferrer"
>
<GitHubLogo />
<span>GitHub</span>
<StyledSocialText>GitHub</StyledSocialText>
</StyledLink>
</StyledSocial>
<StyledSocial>
Expand All @@ -77,7 +83,7 @@ export const CompactFooter = () => {
rel="noopener noreferrer"
>
<LinkedInLogo />
<span>LinkedIn</span>
<StyledSocialText>LinkedIn</StyledSocialText>
</StyledLink>
</StyledSocial>
<StyledSocial>
Expand All @@ -87,7 +93,7 @@ export const CompactFooter = () => {
rel="noopener noreferrer"
>
<SlackLogo />
<span>Slack</span>
<StyledSocialText>Slack</StyledSocialText>
</StyledLink>
</StyledSocial>
<StyledSocial>
Expand All @@ -97,7 +103,7 @@ export const CompactFooter = () => {
rel="noopener noreferrer"
>
<DiscussionsLogo />
<span>Discussions</span>
<StyledSocialText>Discussions</StyledSocialText>
</StyledLink>
</StyledSocial>
</StyledContent>
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/component/layout/CompactView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const CompactView: React.FC<Props> = ({
<GlobalStyles
styles={(theme) => ({
body: {
backgroundColor: theme.palette.emphasis[100] + ' !important',
backgroundColor: theme.palette.emphasis[50] + ' !important',
},
})}
/>
Expand Down

0 comments on commit 115836b

Please sign in to comment.