Skip to content

Commit

Permalink
vercel analytics追加
Browse files Browse the repository at this point in the history
  • Loading branch information
tegnike committed Aug 13, 2024
1 parent be445d7 commit 337fbbb
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ npm run dev
#### Related

- You can try it with the server app repository I created. [tegnike/aituber-server](https://github.com/tegnike/
aituber-server)
aituber-server)
- For detailed settings, please read "[Let's develop with a beautiful girl!! [Open Interpreter]](https://note.
com/nike_cha_n/n/nabcfeb7aaf3f)".
com/nike_cha_n/n/nabcfeb7aaf3f)".

### Slide Mode

Expand Down Expand Up @@ -280,4 +280,4 @@ const getVoiceLanguageCode = (selectLanguage: string) => {

#### Adding README

- Add a new language README (`README_fr.md`), logo usage terms (`logo_licence_fr.md`), and VRM model usage terms (`vrm_licence_fr.md`) to the `docs` directory.
- Add a new language README (`README_fr.md`), logo usage terms (`logo_licence_fr.md`), and VRM model usage terms (`vrm_licence_fr.md`) to the `docs` directory.
2 changes: 1 addition & 1 deletion docs/README_ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ npm run dev

- 라이선스는 [pixiv/ChatVRM](https://github.com/pixiv/ChatVRM)을 준수하며 MIT 라이선스를 사용합니다.
- [로고 이용 약관](./logo_licence_ko.md)
- [VRM 모델 이용 약관](./vrm_licence_ko.md)
- [VRM 모델 이용 약관](./vrm_licence_ko.md)
2 changes: 1 addition & 1 deletion docs/README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ npm run dev

- 許可證遵循[pixiv/ChatVRM](https://github.com/pixiv/ChatVRM),使用MIT許可證。
- [商標使用協議](./logo_licence_zh.md)
- [VRM模型使用協議](./vrm_licence_zh.md)
- [VRM模型使用協議](./vrm_licence_zh.md)
41 changes: 41 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@marp-team/marpit": "^3.0.0",
"@pixiv/three-vrm": "^3.0.0",
"@tailwindcss/line-clamp": "^0.4.4",
"@vercel/analytics": "^1.3.1",
"axios": "^1.6.8",
"groq-sdk": "^0.3.3",
"i18next": "^23.6.0",
Expand Down
8 changes: 7 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import '@charcoal-ui/icons'
import type { AppProps } from 'next/app'
import React, { useEffect } from 'react'
import { Analytics } from '@vercel/analytics/react'

import { isLanguageSupported } from '@/features/constants/settings'
import homeStore from '@/features/stores/home'
Expand Down Expand Up @@ -33,5 +34,10 @@ export default function App({ Component, pageProps }: AppProps) {
homeStore.setState({ userOnboarded: true })
}, [])

return <Component {...pageProps} />
return (
<>
<Component {...pageProps} />
<Analytics />
</>
)
}

0 comments on commit 337fbbb

Please sign in to comment.