feat: Implemented hero A/B test, added Contact Sales button and fixed PH toolbar compatibility

This commit is contained in:
Eric Lammertsma 2026-01-27 13:23:45 -05:00
parent b3f08a7aa7
commit 8e556d8b80
4 changed files with 61 additions and 16 deletions

View file

@ -3,6 +3,7 @@
import { PostHogProvider as PHProvider } from "@posthog/react";
import posthog from "posthog-js";
import type { ReactNode } from "react";
import "../../instrumentation-client";
import { PostHogIdentify } from "./PostHogIdentify";
interface PostHogProviderProps {
@ -10,8 +11,8 @@ interface PostHogProviderProps {
}
export function PostHogProvider({ children }: PostHogProviderProps) {
// posthog-js is already initialized in instrumentation-client.ts
// We just need to wrap the app with the PostHogProvider for hook access
// posthog-js is initialized by importing instrumentation-client.ts above
// We wrap the app with the PostHogProvider for hook access
return (
<PHProvider client={posthog}>
<PostHogIdentify />