forked from Buzzpy/Dev-Encyclopedia
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.astro
More file actions
51 lines (43 loc) · 1.36 KB
/
index.astro
File metadata and controls
51 lines (43 loc) · 1.36 KB
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
---
import "bootstrap-icons/font/bootstrap-icons.css"
import BaseLayout from "../layouts/BaseLayout.astro"
import Hero from "../components/Hero.astro"
import CardList from "../components/CardList.astro"
import Modal from "../components/Modal.astro"
import Head from "../components/Head.astro"
import { getCollection } from "astro:content"
const terms = await getCollection("terms")
---
<head>
<meta
name="google-site-verification"
content="-QKN9sbp37vkvEPbvMv7pz_OtmphW72Qoz_KhnNC3MI"
/>
<Head />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-E51GWY7QV4"
></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag("js", new Date())
gtag("config", "G-E51GWY7QV4")
</script>
<title>Dev Encyclopedia | Encyclopedia for Developers</title>
<link
rel="icon"
type="image/x-icon"
href="https://ph-files.imgix.net/9669f231-c78f-4d66-889b-e4e3073c7f36.png?auto=compress&codec=mozjpeg&cs=strip&auto=format&w=72&h=72&fit=crop&dpr=2"
/>
</head>
<BaseLayout>
<Hero terms={terms} />
<CardList terms={terms} />
<Modal />
</BaseLayout>
<script src="../scripts/cards.ts"></script>
<script src="../scripts/modal.ts"></script>
<script src="../scripts/hero-action.ts"></script>
<script src="../scripts/paginate.ts"></script>