diff --git a/components/sites/ScriptSetupBlock.tsx b/components/sites/ScriptSetupBlock.tsx
index 08874e8..ac988a8 100644
--- a/components/sites/ScriptSetupBlock.tsx
+++ b/components/sites/ScriptSetupBlock.tsx
@@ -11,13 +11,7 @@ import { API_URL, APP_URL } from '@/lib/api/client'
import { integrations, getIntegration } from '@/lib/integrations'
import { toast, Toggle, Select, CheckIcon } from '@ciphera-net/ui'
-const FRAMEWORK_OPTIONS = [
- { value: '', label: 'Choose framework' },
- ...integrations
- .filter((i) => i.category === 'framework')
- .slice(0, 10)
- .map((i) => ({ value: i.id, label: i.name })),
-]
+const FRAMEWORKS = integrations.filter((i) => i.category === 'framework').slice(0, 10)
const STORAGE_OPTIONS = [
{ value: 'local', label: 'Cross-tab (localStorage)' },
@@ -25,10 +19,10 @@ const STORAGE_OPTIONS = [
]
const TTL_OPTIONS = [
- { value: '24', label: '24 hours' },
- { value: '48', label: '48 hours' },
- { value: '168', label: '7 days' },
- { value: '720', label: '30 days' },
+ { value: '24', label: '24h' },
+ { value: '48', label: '48h' },
+ { value: '168', label: '7d' },
+ { value: '720', label: '30d' },
]
const FEATURES = [
@@ -111,35 +105,47 @@ export default function ScriptSetupBlock({
return (
{/* ── Script snippet ──────────────────────────────────────────────── */}
-
-
-
- Your tracking script
-
-
+
+ {/* * Orange accent bar */}
+
+
+
+
+ {/* * Terminal dots */}
+
+
+ tracking script
+
+
+
+
+
+ {scriptSnippet}
+
-
- {scriptSnippet}
-
{/* ── Feature toggles ─────────────────────────────────────────────── */}
@@ -184,10 +190,10 @@ export default function ScriptSetupBlock({
Visitor identity
-
-
+
+
{storage === 'local' && (
-
+