fix: public

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-10-30 19:36:21 +01:00
parent 931188a8ab
commit ebdf29e196
10 changed files with 14 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ import { cn } from 'fumadocs-ui/components/api';
import { GeistMono } from 'geist/font/mono';
import { GeistSans } from 'geist/font/sans';
import type { Metadata, Viewport } from 'next';
import Script from 'next/script';
import { url, baseUrl, siteName } from './layout.config';
export const viewport: Viewport = {
@@ -60,6 +61,11 @@ export default async function Layout({ children }: { children: ReactNode }) {
<RootProvider>
<TooltipProvider>{children}</TooltipProvider>
</RootProvider>
<Script
defer
src="http://localhost:3000/script.js"
data-website-id="44d65df1-e9cb-4c2c-917d-4bf1c7850948"
/>
<OpenPanelComponent
clientId="301c6dc1-424c-4bc3-9886-a8beab09b615"
trackAttributes

View File

@@ -1,3 +1,4 @@
'use client';
import {
BatteryFullIcon,
BatteryLowIcon,

View File

@@ -1,3 +1,4 @@
'use client';
import { AnimatePresence, motion } from 'framer-motion';
import { useEffect, useState } from 'react';

View File

@@ -1,3 +1,4 @@
'use client';
import { baseOptions } from '@/app/layout.config';
import { cn } from '@/lib/utils';
import { AnimatePresence, motion } from 'framer-motion';

View File

@@ -1,3 +1,4 @@
'use client';
import { AnimatePresence, motion } from 'framer-motion';
import {
BellIcon,

View File

@@ -1,3 +1,4 @@
'use client';
import { motion } from 'framer-motion';
import { useEffect, useState } from 'react';

View File

@@ -1,3 +1,4 @@
'use client';
import Image from 'next/image';
import { useEffect, useState } from 'react';

View File

@@ -1,3 +1,4 @@
'use client';
import { SimpleChart } from '@/components/simple-chart';
import { cn } from '@/lib/utils';
import NumberFlow from '@number-flow/react';

View File

@@ -1,3 +1,4 @@
'use client';
import DottedMap from 'dotted-map/without-countries';
import { useEffect, useMemo, useState } from 'react';
import { mapJsonString } from './world-map-string';