| @@ -28,32 +28,6 @@ const { · 27 unmodified lines |
| 28 | 28 | <link rel="preconnect" href="https://fonts.googleapis.com" /> |
| 29 | 29 | <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> |
| 30 | 30 | <link href="https://fonts.googleapis.com/css2?family=Anton&family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..900&family=Geist:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet" /> |
| 31 | | − <script> |
| 32 | | − import posthog from "posthog-js"; |
| 33 | | − |
| 34 | | − const posthogKey = |
| 35 | | − import.meta.env.PUBLIC_POSTHOG_KEY ?? |
| 36 | | − "phc_nNLrNMALpRsfrEkZovUkfMxYbcJvHnsJHeoSPavprgLL"; |
| 37 | | − const analyticsPath = (import.meta.env.PUBLIC_ANALYTICS_PATH ?? "a").replace( |
| 38 | | − /^\/+|\/+$/g, |
| 39 | | − "", |
| 40 | | − ); |
| 41 | | − |
| 42 | | − posthog.init(posthogKey, { |
| 43 | | − api_host: |
| 44 | | − import.meta.env.PUBLIC_POSTHOG_HOST ?? |
| 45 | | − `${window.location.origin}/api/${analyticsPath}`, |
| 46 | | − ui_host: "https://us.posthog.com", |
| 47 | | − defaults: "2025-05-24", |
| 48 | | − person_profiles: "identified_only", |
| 49 | | − disable_session_recording: false, |
| 50 | | − session_recording: { |
| 51 | | − maskAllInputs: true, |
| 52 | | − maskTextSelector: "[data-ph-mask]", |
| 53 | | − blockSelector: "[data-ph-block]", |
| 54 | | − }, |
| 55 | | − }); |
| 56 | | − </script> |
| 57 | 31 | </head> |
| 58 | 32 | <body class="antialiased"> |
| 59 | 33 | <slot /> |