Fix lint errors.
This commit is contained in:
@ -10,7 +10,7 @@ const GAScript = () => {
|
|||||||
src={`https://www.googletagmanager.com/gtag/js?id=${siteMetadata.analytics.googleAnalyticsId}`}
|
src={`https://www.googletagmanager.com/gtag/js?id=${siteMetadata.analytics.googleAnalyticsId}`}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Script strategy="lazyOnload">
|
<Script id="GoogleAnalytics" strategy="lazyOnload">
|
||||||
{`
|
{`
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
|||||||
@ -10,7 +10,7 @@ const PlausibleScript = () => {
|
|||||||
data-domain={siteMetadata.analytics.plausibleDataDomain}
|
data-domain={siteMetadata.analytics.plausibleDataDomain}
|
||||||
src="https://plausible.io/js/plausible.js"
|
src="https://plausible.io/js/plausible.js"
|
||||||
/>
|
/>
|
||||||
<Script strategy="lazyOnload">
|
<Script id="PlausibleAnalytics" strategy="lazyOnload">
|
||||||
{`
|
{`
|
||||||
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
|
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
|
||||||
`}
|
`}
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import Script from 'next/script'
|
|||||||
const SimpleAnalyticsScript = () => {
|
const SimpleAnalyticsScript = () => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Script strategy="lazyOnload">
|
<Script id="SimpleAnalytics" strategy="lazyOnload">
|
||||||
{`
|
{`
|
||||||
window.sa_event=window.sa_event||function(){var a=[].slice.call(arguments);window.sa_event.q?window.sa_event.q.push(a):window.sa_event.q=[a]};
|
window.sa_event=window.sa_event||function(){var a=[].slice.call(arguments);window.sa_event.q?window.sa_event.q.push(a):window.sa_event.q=[a]};
|
||||||
`}
|
`}
|
||||||
|
|||||||
@ -10,7 +10,7 @@ export default function FourZeroFour() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="max-w-md">
|
<div className="max-w-md">
|
||||||
<p className="mb-4 text-xl font-bold leading-normal md:text-2xl">
|
<p className="mb-4 text-xl font-bold leading-normal md:text-2xl">
|
||||||
Sorry we couldn't find this page.
|
Sorry we couldn't find this page.
|
||||||
</p>
|
</p>
|
||||||
<p className="mb-8">But dont worry, you can find plenty of other things on our homepage.</p>
|
<p className="mb-8">But dont worry, you can find plenty of other things on our homepage.</p>
|
||||||
<Link href="/">
|
<Link href="/">
|
||||||
|
|||||||
Reference in New Issue
Block a user