Skip to content

Commit

Permalink
fix: all rel links
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaburgio committed Feb 10, 2024
1 parent 0f5f811 commit f69b7f5
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 17 deletions.
40 changes: 32 additions & 8 deletions iconoir.com/components/AvailableFor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,30 @@ export function AvailableFor() {
<a
href={'https://github.com/iconoir-icons/iconoir#swift-package'}
target={'_blank'}
rel={'noreferrer'}
rel={'nofollow noreferrer'}
>
<AvailableForImage
src={'/logo-swift.svg'}
alt={'Swift Logo'}
title={'Swift'}
/>
</a>
<a href={LIBRARY_LINKS.Flutter} target={'_blank'} rel={'noreferrer'}>
<a
href={LIBRARY_LINKS.Flutter}
target={'_blank'}
rel={'nofollow noreferrer'}
>
<AvailableForImage
src={'/logo-flutter.svg'}
alt={'Flutter Logo'}
title={'Flutter'}
/>
</a>
<a href={LIBRARY_LINKS.Figma} target={'_blank'} rel={'noreferrer'}>
<a
href={LIBRARY_LINKS.Figma}
target={'_blank'}
rel={'nofollow noreferrer'}
>
<AvailableForImage
src={'/logo-figma.svg'}
alt={'Figma Logo'}
Expand All @@ -52,33 +60,49 @@ export function AvailableFor() {
<a
href={LIBRARY_LINKS.ReactNative}
target={'_blank'}
rel={'noreferrer'}
rel={'nofollow noreferrer'}
>
<AvailableForImage
src={'/logo-react-native.svg'}
alt={'React Native Logo'}
title={'React Native'}
/>
</a>
<a href={LIBRARY_LINKS.Vue} target={'_blank'} rel={'noreferrer'}>
<a
href={LIBRARY_LINKS.Vue}
target={'_blank'}
rel={'nofollow noreferrer'}
>
<AvailableForImage
src={'/logo-vue.svg'}
alt={'Vue Logo'}
title={'Vue'}
/>
</a>
<a href={LIBRARY_LINKS.Framer} target={'_blank'} rel={'noreferrer'}>
<a
href={LIBRARY_LINKS.Framer}
target={'_blank'}
rel={'nofollow noreferrer'}
>
<AvailableForImage
src={'/logo-framer.svg'}
alt={'Framer Logo'}
title={'Framer'}
/>
</a>
<AreYouUsing>
<a href={SUGGEST_LIBRARY_LINK} target={'_blank'} rel={'noreferrer'}>
<a
href={SUGGEST_LIBRARY_LINK}
target={'_blank'}
rel={'nofollow noreferrer'}
>
<Text14>More?</Text14>
</a>
<a href={FEEDBACK_LINK} target={'_blank'} rel={'noreferrer'}>
<a
href={FEEDBACK_LINK}
target={'_blank'}
rel={'nofollow noreferrer'}
>
<Text14>Are you using the library?</Text14>
</a>
</AreYouUsing>
Expand Down
4 changes: 2 additions & 2 deletions iconoir.com/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ export function Footer() {
<Text13 style={{ fontWeight: 400 }}>
Parts of this content are &copy;2020-2023 by individual Iconoir
contributors. Content available under a{' '}
<a href={LICENSE_LINK} target={'_blank'} rel={'noreferrer'}>
<a href={LICENSE_LINK} target={'_blank'} rel={'nofollow noreferrer'}>
MIT License
</a>
.
</Text13>
<Text13 style={{ fontWeight: 400 }}>
<a href={PRIVACY_LINK} target={'_blank'} rel={'noreferrer'}>
<a href={PRIVACY_LINK} target={'_blank'} rel={'nofollow noreferrer'}>
Privacy
</a>
</Text13>
Expand Down
2 changes: 1 addition & 1 deletion iconoir.com/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function Header({ currentVersion }: HeaderProps) {
<span>X (Twitter)</span>
</a>
</Share>
<a href={DISCORD_LINK}>
<a href={DISCORD_LINK} rel={'nofollow noreferrer'}>
<StyledDiscord $isMobile />
</a>
<MobileMenuButton onClick={() => setMenuVisible((v) => !v)}>
Expand Down
6 changes: 5 additions & 1 deletion iconoir.com/components/Streamline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import styled from 'styled-components';

export function Streamline() {
return (
<a href="https://bit.ly/3SNgpKo" style={{ textDecoration: 'none' }}>
<a
rel="sponsored"
href="https://bit.ly/3SNgpKo"
style={{ textDecoration: 'none' }}
>
<PromoContainer>
<PromoContent>
<PromoInfo>
Expand Down
10 changes: 5 additions & 5 deletions iconoir.com/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ const Home: NextPage<HomeProps> = ({
data-tooltip="Pierre Olivier Marec"
as={'a'}
href={'https://github.com/pomarec'}
rel="sponsored"
rel="noopener sponsored"
src={'https://avatars.githubusercontent.com/u/802933?v=4'}
/>
<Supporter
data-tooltip="Tuan Hiep"
as={'a'}
href={'https://opencollective.com/iconoir/contribute'}
rel="sponsored"
rel="noopener sponsored"
src={
'https://images.opencollective.com/tuan-hiep/17b1ef2/avatar.png?height=80'
}
Expand All @@ -113,7 +113,7 @@ const Home: NextPage<HomeProps> = ({
data-tooltip="Justin Kendrick"
as={'a'}
href={'https://opencollective.com/iconoir/contribute'}
rel="sponsored"
rel="noopener sponsored"
src={
'https://images.opencollective.com/guest-39c79745/avatar.png?height=80'
}
Expand All @@ -122,7 +122,7 @@ const Home: NextPage<HomeProps> = ({
data-tooltip="Anon"
as={'a'}
href={'https://opencollective.com/iconoir/contribute'}
rel="sponsored"
rel="noopener sponsored"
src={
'https://opencollective.com/static/images/default-guest-logo.svg'
}
Expand All @@ -131,7 +131,7 @@ const Home: NextPage<HomeProps> = ({
data-tooltip="Luca Burgio"
as={'a'}
href={'https://twitter.com/burgioluca'}
rel="sponsored"
rel="noopener sponsored"
src={'https://lucaburgio.com/images/profile2.png'}
/>
</Supporters>
Expand Down

0 comments on commit f69b7f5

Please sign in to comment.