Skip to content

Commit

Permalink
perf: add speed insights plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
gatteo committed Mar 21, 2024
1 parent c61faba commit 74de3a7
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 38 deletions.
70 changes: 35 additions & 35 deletions .contentlayer/generated/BlogPost/_index.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .contentlayer/generated/BlogPost/_index.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// NOTE This file is auto-generated by Contentlayer

import blog__guidaPerLanciareUnProdottoDigitaleMdx from './blog__guida-per-lanciare-un-prodotto-digitale.mdx.json' assert { type: 'json' }
import blog__tecnologieEssenzialiSitoWeb_2024Mdx from './blog__tecnologie-essenziali-sito-web-2024.mdx.json' assert { type: 'json' }
import blog__testMdx from './blog__test.mdx.json' assert { type: 'json' }
import blog__validareUnIdeaDiBusinessMdx from './blog__validare-un-idea-di-business.mdx.json' assert { type: 'json' }
import blog__tecnologieEssenzialiSitoWeb_2024Mdx from './blog__tecnologie-essenziali-sito-web-2024.mdx.json' assert { type: 'json' }

export const allBlogPosts = [blog__guidaPerLanciareUnProdottoDigitaleMdx, blog__testMdx, blog__validareUnIdeaDiBusinessMdx, blog__tecnologieEssenzialiSitoWeb_2024Mdx]
export const allBlogPosts = [blog__guidaPerLanciareUnProdottoDigitaleMdx, blog__tecnologieEssenzialiSitoWeb_2024Mdx, blog__testMdx, blog__validareUnIdeaDiBusinessMdx]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The app will be available at `localhost:3000`.

## ❤️ Credits

This project has been has been heavly inspired by [@tszhong0411 personal website](https://github.com/tszhong0411/honghong.me)
This project has been has been heavly inspired by [@tszhong0411](https://github.com/tszhong0411) personal website.

## 🪪 License

Expand Down
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import localFont from 'next/font/local'

import '../styles/globals.css'

import { SpeedInsights } from '@vercel/speed-insights/next'
import { Toaster } from 'sonner'

import { site, siteBaseMetadata } from '@/config/site'
Expand Down Expand Up @@ -68,6 +69,7 @@ export default function RootLayout({
return (
<html lang='it-IT'>
<body className={cn(inter.className, biotif.className)}>
<SpeedInsights />
<GTM />
<ThemeProvider attribute='class' defaultTheme='dark' enableSystem={false}>
<ProgressProvider>
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@tailwindcss/typography": "^0.5.10",
"@tszhong0411/ui": "^0.0.7",
"@types/unist": "^3.0.2",
"@vercel/speed-insights": "^1.0.10",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"colord": "^2.9.3",
Expand Down
31 changes: 31 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74de3a7

Please sign in to comment.