From a19c32f903b1ae26112586f5299ba4113435f670 Mon Sep 17 00:00:00 2001 From: Arvid Norlin Date: Tue, 2 Apr 2024 14:02:28 +0200 Subject: [PATCH] debug: add vwo smartscript 2.1 --- app/[lang]/(live-current)/layout.tsx | 2 +- components/Current/NewVWOScript.tsx | 317 +++++++++++++++++++++++++++ components/Current/VwoScript.tsx | 6 +- 3 files changed, 319 insertions(+), 6 deletions(-) create mode 100644 components/Current/NewVWOScript.tsx diff --git a/app/[lang]/(live-current)/layout.tsx b/app/[lang]/(live-current)/layout.tsx index 2eba00169..11fd404e3 100644 --- a/app/[lang]/(live-current)/layout.tsx +++ b/app/[lang]/(live-current)/layout.tsx @@ -8,7 +8,7 @@ import SkipToMainContent from "@/components/SkipToMainContent" import type { Metadata } from "next" import type { LangParams, LayoutArgs } from "@/types/params" -import VwoScript from "@/components/Current/VwoScript" +import VwoScript from "@/components/Current/NewVWOScript" export const fetchCache = "default-no-store" diff --git a/components/Current/NewVWOScript.tsx b/components/Current/NewVWOScript.tsx new file mode 100644 index 000000000..4604601f7 --- /dev/null +++ b/components/Current/NewVWOScript.tsx @@ -0,0 +1,317 @@ +import Script from "next/script" + +export default function VWOScript() { + return ( + <> + {/* */} + + + {/* */} + + ) +} diff --git a/components/Current/VwoScript.tsx b/components/Current/VwoScript.tsx index 4dc591662..ead4f8a3f 100644 --- a/components/Current/VwoScript.tsx +++ b/components/Current/VwoScript.tsx @@ -1,16 +1,14 @@ import Script from "next/script" -import { env } from "@/env/server" export default function VwoScript() { return ( -