diff --git a/apps/public/components/hero-carousel.tsx b/apps/public/components/hero-carousel.tsx index e176fb7d..bbaac164 100644 --- a/apps/public/components/hero-carousel.tsx +++ b/apps/public/components/hero-carousel.tsx @@ -2,6 +2,7 @@ import { cn } from '@/lib/utils'; import { motion } from 'framer-motion'; +import NextImage from 'next/image'; import { useState } from 'react'; import { Button } from './ui/button'; @@ -28,15 +29,19 @@ function LivePreview() { function Image({ src }: { src: string }) { return (
- {`${src} - {`${src}
); diff --git a/apps/public/components/sections/features/profiles-feature.tsx b/apps/public/components/sections/features/profiles-feature.tsx index cac8a92e..d2433bc7 100644 --- a/apps/public/components/sections/features/profiles-feature.tsx +++ b/apps/public/components/sections/features/profiles-feature.tsx @@ -1,5 +1,6 @@ 'use client'; +import Image from 'next/image'; import { useEffect, useState } from 'react'; const PROFILES = [ @@ -74,7 +75,13 @@ export function ProfilesFeature() { className="w-full flex-shrink-0 p-8" >
- + {profile.name}
{profile.name}
diff --git a/apps/public/components/sections/features/web-analytics-feature.tsx b/apps/public/components/sections/features/web-analytics-feature.tsx index d2e06921..3cf5a03a 100644 --- a/apps/public/components/sections/features/web-analytics-feature.tsx +++ b/apps/public/components/sections/features/web-analytics-feature.tsx @@ -5,8 +5,8 @@ import { cn } from '@/lib/utils'; import NumberFlow from '@number-flow/react'; import { AnimatePresence, motion } from 'framer-motion'; import { ArrowUpIcon } from 'lucide-react'; +import Image from 'next/image'; import { useEffect, useState } from 'react'; - const TRAFFIC_SOURCES = [ { icon: 'https://api.openpanel.dev/misc/favicon?url=https%3A%2F%2Fgoogle.com', @@ -164,10 +164,12 @@ function BarCell({
{icon.startsWith('http') ? ( - serie icon ) : (
{icon}
diff --git a/apps/public/components/twitter-card.tsx b/apps/public/components/twitter-card.tsx index d13b6923..ff208396 100644 --- a/apps/public/components/twitter-card.tsx +++ b/apps/public/components/twitter-card.tsx @@ -46,7 +46,7 @@ export function TwitterCard({
{avatarUrl && ( - {name} + {name} )}
diff --git a/apps/public/next.config.mjs b/apps/public/next.config.mjs index b16590aa..52de6f30 100644 --- a/apps/public/next.config.mjs +++ b/apps/public/next.config.mjs @@ -6,7 +6,7 @@ const withMDX = createMDX(); const config = { reactStrictMode: false, images: { - domains: ['localhost', 'openpanel.dev'], + domains: ['localhost', 'openpanel.dev', 'api.openpanel.dev'], }, serverExternalPackages: ['@hyperdx/node-opentelemetry'], };