chore: add cside

This commit is contained in:
cnrad
2025-02-03 02:18:43 -05:00
parent 7b768a6231
commit 91aad0b673
3 changed files with 17 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
}, },
"packageManager": "pnpm@9.11.0", "packageManager": "pnpm@9.11.0",
"dependencies": { "dependencies": {
"@c-side/next": "^1.0.0",
"@next/third-parties": "^15.1.6", "@next/third-parties": "^15.1.6",
"@radix-ui/react-popover": "^1.1.2", "@radix-ui/react-popover": "^1.1.2",
"@types/escape-html": "^1.0.4", "@types/escape-html": "^1.0.4",

14
pnpm-lock.yaml generated
View File

@@ -8,6 +8,9 @@ importers:
.: .:
dependencies: dependencies:
'@c-side/next':
specifier: ^1.0.0
version: 1.0.0(next@15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)
'@next/third-parties': '@next/third-parties':
specifier: ^15.1.6 specifier: ^15.1.6
version: 15.1.6(next@15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) version: 15.1.6(next@15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)
@@ -98,6 +101,12 @@ packages:
resolution: {integrity: sha512-4zpTHZ9Cm6L9L+uIqghQX8ZXg8HKFcjYO3qHoO8zTmRm6HQUJ8SSJ+KRvbMBZn0EGVlT4DRYeQ/6hjlyXBh+Kg==} resolution: {integrity: sha512-4zpTHZ9Cm6L9L+uIqghQX8ZXg8HKFcjYO3qHoO8zTmRm6HQUJ8SSJ+KRvbMBZn0EGVlT4DRYeQ/6hjlyXBh+Kg==}
engines: {node: '>=6.9.0'} engines: {node: '>=6.9.0'}
'@c-side/next@1.0.0':
resolution: {integrity: sha512-JpfGqj4k80GOmD/ZaMjll2SSGgyNvxvn8ImhK36pOD+Kay11MhEO3XQJWRvgy06/Sqcvo0hP67c+Iifo2OAK2g==}
peerDependencies:
next: '>=11.0.0'
react: '>=16.0.0'
'@emnapi/runtime@1.3.1': '@emnapi/runtime@1.3.1':
resolution: {integrity: sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==} resolution: {integrity: sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==}
@@ -2351,6 +2360,11 @@ snapshots:
dependencies: dependencies:
regenerator-runtime: 0.14.1 regenerator-runtime: 0.14.1
'@c-side/next@1.0.0(next@15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)':
dependencies:
next: 15.0.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
react: 18.3.1
'@emnapi/runtime@1.3.1': '@emnapi/runtime@1.3.1':
dependencies: dependencies:
tslib: 2.8.0 tslib: 2.8.0

View File

@@ -1,7 +1,7 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { GoogleAnalytics } from "@next/third-parties/google"; import { GoogleAnalytics } from "@next/third-parties/google";
import "./globals.css"; import "./globals.css";
import { CSideScript } from "@c-side/next";
import { Poppins } from "next/font/google"; import { Poppins } from "next/font/google";
const poppins = Poppins({ const poppins = Poppins({
@@ -26,6 +26,7 @@ export default function RootLayout({
}>) { }>) {
return ( return (
<html lang="en"> <html lang="en">
<CSideScript />
<body className={`${poppins.className} antialiased`}>{children}</body> <body className={`${poppins.className} antialiased`}>{children}</body>
<GoogleAnalytics gaId="G-89E40D5N6D" /> <GoogleAnalytics gaId="G-89E40D5N6D" />
</html> </html>