Skip to content

Commit 0313354

Browse files
committed
Add SpeedInsights
1 parent 1b89dba commit 0313354

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

package-lock.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@fortawesome/react-fontawesome": "^0.2.2",
1717
"@headlessui/react": "^2.2.0",
1818
"@heroicons/react": "^2.2.0",
19+
"@vercel/speed-insights": "^1.1.0",
1920
"next": "^15.1.4",
2021
"react": "^19.0.0",
2122
"react-dom": "^19.0.0"

pages/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { GetStaticProps, NextPage } from 'next'
22
import { faApple, faLinux, faWindows } from '@fortawesome/free-brands-svg-icons'
33
import { faFileZipper } from '@fortawesome/free-solid-svg-icons'
4+
import { SpeedInsights } from "@vercel/speed-insights/next"
45
import Header from '../components/header'
56
import Gallery from '../components/gallery'
67
import Download from '../components/download'
@@ -28,6 +29,7 @@ const Home: NextPage<Props> = ({ release }) => {
2829

2930
<Footer className="w-full md:max-w-7xl md:flex justify-between items-center mx-auto px-4 sm:px-6 lg:px-8 pt-12 pb-6 space-y-4 md:space-y-0" />
3031

32+
<SpeedInsights />
3133
</div>
3234
)
3335
}

0 commit comments

Comments
 (0)