diff --git a/apps/public/app/(content)/[...pages]/page.tsx b/apps/public/app/(content)/[...pages]/page.tsx index f1f53a74..d74efb79 100644 --- a/apps/public/app/(content)/[...pages]/page.tsx +++ b/apps/public/app/(content)/[...pages]/page.tsx @@ -7,7 +7,7 @@ import Script from 'next/script'; export async function generateMetadata({ params, }: { - params: { pages: string[] }; + params: Promise<{ pages: string[] }>; }): Promise { const { pages } = await params; const page = await pageSource.getPage(pages); @@ -41,7 +41,7 @@ export async function generateMetadata({ export default async function Page({ params, }: { - params: { pages: string[] }; + params: Promise<{ pages: string[] }>; }) { const { pages } = await params; const page = await pageSource.getPage(pages); diff --git a/apps/public/app/(content)/articles/[articleSlug]/page.tsx b/apps/public/app/(content)/articles/[articleSlug]/page.tsx index 3672466f..360fca7c 100644 --- a/apps/public/app/(content)/articles/[articleSlug]/page.tsx +++ b/apps/public/app/(content)/articles/[articleSlug]/page.tsx @@ -15,7 +15,7 @@ import Script from 'next/script'; export async function generateMetadata({ params, }: { - params: { articleSlug: string }; + params: Promise<{ articleSlug: string }>; }): Promise { const { articleSlug } = await params; const article = await articleSource.getPage([articleSlug]); @@ -55,7 +55,7 @@ export async function generateMetadata({ export default async function Page({ params, }: { - params: { articleSlug: string }; + params: Promise<{ articleSlug: string }>; }) { const { articleSlug } = await params; const article = await articleSource.getPage([articleSlug]); diff --git a/apps/public/components/ui/slider.tsx b/apps/public/components/ui/slider.tsx index 950a2bfc..c7f6ad8f 100644 --- a/apps/public/components/ui/slider.tsx +++ b/apps/public/components/ui/slider.tsx @@ -6,41 +6,49 @@ import * as React from 'react'; import { cn } from '@/lib/utils'; import { Tooltip, TooltipContent, TooltipTrigger } from './tooltip'; -const Slider = ( - { - ref, - className, - tooltip, - ...props - } -) => ( - - - - {tooltip ? ( - - - - - - {tooltip} - - - ) : ( - - )} -); +const Slider = ({ + ref, + className, + tooltip, + ...props +}: { + ref?: any; + className?: string; + tooltip?: string; + value: number[]; + max: number; + step: number; + onValueChange: (value: number[]) => void; +}) => ( + + + + + {tooltip ? ( + + + + + + {tooltip} + + + ) : ( + + )} + +); Slider.displayName = SliderPrimitive.Root.displayName; export { Slider }; diff --git a/apps/public/content/pages/pricing.mdx b/apps/public/content/pages/pricing.mdx index a5ca93b5..0b8fa7aa 100644 --- a/apps/public/content/pages/pricing.mdx +++ b/apps/public/content/pages/pricing.mdx @@ -5,7 +5,7 @@ description: Our simple, usage-based pricing means you only pay for what you use import Pricing from '@/components/sections/pricing'; import Stats from '@/components/sections/stats'; import Testimonials from '@/components/sections/testimonials'; -import Faq from '@/components/sections/Faq'; +import Faq from '@/components/sections/faq'; Experience transparent, usage-based pricing that grows with your needs. Simply choose your monthly event volume and pay accordingly - no surprises. diff --git a/apps/public/next.config.mjs b/apps/public/next.config.mjs index fb4601fd..daccab30 100644 --- a/apps/public/next.config.mjs +++ b/apps/public/next.config.mjs @@ -16,7 +16,7 @@ const config = { '@openpanel/redis', '@openpanel/validation', ], - serverExternalPackages: ['@hyperdx/node-opentelemetry'], + serverExternalPackages: ['@hyperdx/node-opentelemetry', 'ioredis', 'bullmq'], }; export default withMDX(config);