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

Remove logo on copyright section #88

Merged
merged 2 commits into from
Jan 30, 2024
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
15 changes: 0 additions & 15 deletions src/components/About/AboutFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import styled from 'styled-components'
import { BREAKPOINTS } from 'theme'
import { ExternalLink, StyledRouterLink } from 'theme/components'
import { useIsDarkMode } from 'theme/components/ThemeToggle'

import { DiscordIcon, GithubIcon, TwitterIcon } from './Icons'
import darkHorsImgSrc from './images/horsEmbossDark.png'
import lightHorsImgSrc from './images/horsEmbossLight.png'

const Footer = styled.div`
display: flex;
Expand Down Expand Up @@ -41,16 +38,6 @@ const LogoSectionBottom = styled(LogoSection)`
}
`

const StyledLogo = styled.img`
width: 72px;
height: 72px;
display: none;

@media screen and (min-width: ${BREAKPOINTS.lg}px) {
display: block;
}
`

const SocialLinks = styled.div`
display: flex;
align-items: center;
Expand Down Expand Up @@ -102,10 +89,8 @@ const TextLink = styled(StyledRouterLink)`
`

const LogoSectionContent = () => {
const isDarkMode = useIsDarkMode()
return (
<>
<StyledLogo src={isDarkMode ? darkHorsImgSrc : lightHorsImgSrc} alt="Horswap Logo" />
<SocialLinks>
<SocialLink href="https://discord.com/invite/aCSKcvf5VW" target="_blank" rel="noopener noreferrer">
<DiscordIcon size={32} />
Expand Down
Binary file removed src/components/About/images/horsEmbossDark.png
Binary file not shown.
Binary file removed src/components/About/images/horsEmbossLight.png
Binary file not shown.
Loading