diff --git a/src/components/NavBar/Navbar.SocialMediaKit.tsx b/src/components/NavBar/Navbar.SocialMediaKit.tsx index 6e130be..49578b8 100644 --- a/src/components/NavBar/Navbar.SocialMediaKit.tsx +++ b/src/components/NavBar/Navbar.SocialMediaKit.tsx @@ -9,6 +9,7 @@ import { LPEFooterGroup } from '@/types/ui.types' const socialLinks = FooterLinksItems.about.find( (item) => item.key === 'social', ) as LPEFooterGroup + export const SocialMediaKit = () => { return ( @@ -29,16 +30,18 @@ export const SocialMediaKit = () => { Icon = null } return ( - - - {Icon && } - - + Icon && ( + + + + + + ) ) })} @@ -56,13 +59,16 @@ const Container = styled.div` ` const LinkContainer = styled.div` - width: fit-content; - display: flex; - &:not(:last-child) { - &:after { - content: ''; - margin-left: 16px; - border-right: 1px solid rgb(var(--lsd-border-primary)); + @media (max-width: ${({ theme }) => theme.breakpoints.sm.width}px) { + width: fit-content; + display: flex; + + &:not(:last-child) { + &:after { + content: ''; + margin-left: 16px; + border-right: 1px solid rgb(var(--lsd-border-primary)); + } } } ` diff --git a/src/configs/data.configs.ts b/src/configs/data.configs.ts index 5109cc6..ba041c8 100644 --- a/src/configs/data.configs.ts +++ b/src/configs/data.configs.ts @@ -1,7 +1,4 @@ import { LPEFooterGroup } from '@/types/ui.types' -import { DiscordIcon } from '@/components/Icons/DiscordIcon' -import { YoutubeIcon } from '@/components/Icons/YTIcon' -import { XIcon } from '@/components/Icons/XIcon' export const ArticleBlocksOrders = { title: 0, @@ -61,12 +58,12 @@ export const FooterLinksItems: { title: null, key: 'social', links: [ - { label: 'X', href: 'https://twitter.com/Logos_state', key: 'x' }, { label: 'Discord', href: 'https://discord.gg/logos-state', key: 'discord', }, + { label: 'X', href: 'https://twitter.com/Logos_state', key: 'x' }, { label: 'Github', href: 'https://github.com/acid-info',