Fix linting issues

pull/1331/head
Kamran Ahmed 3 years ago
parent bc9e58c155
commit 3ee4d49d05
  1. 7
      .eslintrc
  2. 36
      components/custom-ad.tsx

@ -8,6 +8,11 @@
"@next/next/no-img-element": [ "@next/next/no-img-element": [
"off" "off"
], ],
"react/display-name": ["off"] "react/display-name": [
"off"
],
"react/jsx-no-target-blank": [
"off"
]
} }
} }

@ -1,37 +1,33 @@
export const CustomAd = () => { export const CustomAd = () => {
return ( return (
<div id="carbonads"> <div id='carbonads'>
<span> <span>
<span className="carbon-wrap"> <span className='carbon-wrap'>
<a <a
href="https://freemote.com/strategy?sl=roadmap" href='https://freemote.com/strategy?sl=roadmap'
className="carbon-img" className='carbon-img'
target="_blank" target='_blank'
rel="noopener sponsored"
> >
<img <img
src="/fm-img.png" src='/fm-img.png'
alt="FM Logo" alt='FM Logo'
border="0" height='100'
height="100" width='130'
width="130" style={{ maxWidth: '130px', border: 'none' }}
style={{ maxWidth: "130px" }}
/> />
</a> </a>
<a <a
href="https://freemote.com/strategy?sl=roadmap" href='https://freemote.com/strategy?sl=roadmap'
className="carbon-text" className='carbon-text'
target="_blank" target='_blank'
rel="noopener sponsored"
> >
He Went from ZERO TO $74,000 as a Full Time Developer in 7 Weeks He Went from ZERO TO $74,000 as a Full Time Developer in 7 Weeks
</a> </a>
</span> </span>
<a <a
href="https://github.com/sponsors/kamranahmedse" href='https://github.com/sponsors/kamranahmedse'
className="carbon-poweredby" className='carbon-poweredby'
target="_blank" target='_blank'
rel="noopener sponsored"
> >
Sponsored by Sponsored by
</a> </a>

Loading…
Cancel
Save