mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
feat(dashboard): add Argide support widget
This commit is contained in:
parent
c5c853ccff
commit
6ce44a6c8e
@ -85,6 +85,16 @@ export default function RootLayout({
|
||||
? "(function(){try{var t=localStorage.getItem('theme');var d=document.documentElement;var r=t==='dark'||t==='light'?t:'light';d.classList.add(r);d.style.colorScheme=r}catch(e){}})()"
|
||||
: "(function(){try{var t=localStorage.getItem('theme');var d=document.documentElement;var r=t==='dark'||t==='light'?t:window.matchMedia('(prefers-color-scheme:dark)').matches?'dark':'light';d.classList.add(r);d.style.colorScheme=r}catch(e){}})()"
|
||||
}} />
|
||||
|
||||
{/* Argide — in-app support agent (browser-use) */}
|
||||
{/* eslint-disable-next-line @next/next/no-sync-scripts */}
|
||||
<script dangerouslySetInnerHTML={{ __html: "window.argide = window.argide || [];" }} />
|
||||
{/* eslint-disable-next-line @next/next/no-sync-scripts */}
|
||||
<script
|
||||
src="https://dashboard.argide.ai/argide-b2b.iife.js"
|
||||
data-product-id="prod_8ea9a04d-ba34-4d1c-a5c7-efd8f792c1f4"
|
||||
data-api-url="https://api.argide.ai"
|
||||
/>
|
||||
</head>
|
||||
<body
|
||||
className={cn(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user