-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (64 loc) · 2.74 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@500;800&display=swap"
rel="stylesheet"
/>
<link rel="icon" type="image/svg+xml" href="/src/assets/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#4d4d4d" />
<title>React Sparkline</title>
<!--
<meta name="description" content={description} />
<meta name="contact" content={contact} />
<meta name="copyright" content={copyright} />
<meta name="keywords" content={keywords} />
<link rel="canonical" href={pageUrl} />
<meta name="og:url" content={pageUrl} />
<meta name="twitter:url" content={pageUrl} />
<meta name="og:title" content={pageTitle} />
<meta name="og:description" content={description} />
<meta name="og:type" content="website" />
<meta name="twitter:title" content={pageTitle} />
<meta name="twitter:description" content={description} />
<meta name="twitter:alt" content={pageTitle} />
<link rel="icon" href="/favicon.png" />
<meta name="color-scheme" content="dark light" />
<meta name="og:image" content={pageImage} />
<meta name="twitter:image" content={pageImage} />
<meta name="twitter:card" content={pageImage ? "summary_large_image" : "summary"/>
// test output https://search.google.com/test/rich-results
// https://schema.org/Article
const articleStructuredData = {
'@context': 'https://schema.org',
'@type': 'Article',
headline: 'Structured data for you',
description: 'This is an article that demonstrates structured data.',
image: 'https://upload.wikimedia.org/wikipedia/commons/4/40/JSON-LD.svg',
datePublished: new Date('2021-09-04T09:25:01.340Z').toISOString(),
author: {
'@type': 'Person',
name: 'John Reilly',
url: 'https://twitter.com/johnny_reilly',
},
};
<script type="application/ld+json">
{JSON.stringify(articleStructuredData)}
</script> -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>