mirror of
https://github.com/maciejpedzich/six-degs-of-f1.git
synced 2024-11-28 00:05:46 +01:00
Add analytics script
This commit is contained in:
parent
77c401ac0e
commit
94e3386774
@ -2,7 +2,8 @@
|
|||||||
import '@picocss/pico/css/pico.blue.min.css';
|
import '@picocss/pico/css/pico.blue.min.css';
|
||||||
|
|
||||||
const title = 'Six Degrees of Formula 1';
|
const title = 'Six Degrees of Formula 1';
|
||||||
const description = 'Get all the shortest paths between two F1 drivers';
|
const description =
|
||||||
|
'Get all the shortest paths between two F1 drivers and their teammates';
|
||||||
---
|
---
|
||||||
|
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
@ -21,6 +22,15 @@ const description = 'Get all the shortest paths between two F1 drivers';
|
|||||||
<meta property="twitter:url" content={Astro.url.href} />
|
<meta property="twitter:url" content={Astro.url.href} />
|
||||||
<meta property="twitter:title" content={title} />
|
<meta property="twitter:title" content={title} />
|
||||||
<meta property="twitter:description" content={description} />
|
<meta property="twitter:description" content={description} />
|
||||||
|
{
|
||||||
|
import.meta.env.PROD && (
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
src="https://analytics.maciejpedzi.ch/script.js"
|
||||||
|
data-website-id="22dd2b40-ed52-4e16-ba31-6cef599e4a24"
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
}
|
||||||
</head>
|
</head>
|
||||||
<body class="container">
|
<body class="container">
|
||||||
<header>
|
<header>
|
||||||
@ -35,7 +45,9 @@ const description = 'Get all the shortest paths between two F1 drivers';
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a href="/about">About</a></li>
|
<li><a href="/about">About</a></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/maciejpedzich/sixdegs">Source Code</a>
|
<a href="https://github.com/maciejpedzich/six-degs-of-f1">
|
||||||
|
Source Code
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
Loading…
Reference in New Issue
Block a user