Skip to content

Commit f9e822f

Browse files
authored
feat(docs): added docs analytics drizzle ods (#1957)
* feat(docs): added docs analytics drizzle ods * fix build
1 parent 74202ce commit f9e822f

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

apps/docs/app/[lang]/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { Navbar } from '@/components/navbar/navbar'
1313
import { i18n } from '@/lib/i18n'
1414
import { source } from '@/lib/source'
1515
import '../global.css'
16-
import { Analytics } from '@vercel/analytics/next'
1716

1817
const inter = Inter({
1918
subsets: ['latin'],
@@ -94,6 +93,8 @@ export default async function Layout({ children, params }: LayoutProps) {
9493
type='application/ld+json'
9594
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
9695
/>
96+
{/* OneDollarStats Analytics - CDN script handles everything automatically */}
97+
<script defer src='https://assets.onedollarstats.com/stonks.js' />
9798
</head>
9899
<body className='flex min-h-screen flex-col font-sans'>
99100
<RootProvider i18n={provider(lang)}>
@@ -132,7 +133,6 @@ export default async function Layout({ children, params }: LayoutProps) {
132133
>
133134
{children}
134135
</DocsLayout>
135-
<Analytics />
136136
</RootProvider>
137137
</body>
138138
</html>

apps/docs/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
},
1313
"dependencies": {
1414
"@tabler/icons-react": "^3.31.0",
15-
"@vercel/analytics": "1.5.0",
1615
"@vercel/og": "^0.6.5",
1716
"clsx": "^2.1.1",
1817
"fumadocs-core": "15.8.2",

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components-new/settings-modal/components/shared/usage-header.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
'use client'
22

33
import type { ReactNode } from 'react'
4-
import { Badge, Progress } from '@/components/ui'
4+
import { Badge } from '@/components/emcn'
5+
import { Progress } from '@/components/ui'
56
import { cn } from '@/lib/utils'
67

78
const GRADIENT_BADGE_STYLES =

bun.lock

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

0 commit comments

Comments
 (0)