Compare commits

...

3 Commits

Author SHA1 Message Date
Toran Bruce Richards
4713c89dfb Merge branch 'dev' into feat/elevenlabs-widget 2025-07-18 21:25:50 +01:00
Lluis Agusti
c79616b105 chore: add widget 2025-07-18 20:17:14 +04:00
Lluis Agusti
4252c70a28 chore: add elevenlabs widget 2025-07-18 20:02:39 +04:00
3 changed files with 18 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ import React from "react";
import "./globals.css";
import { Providers } from "@/app/providers";
import ElevenLabsWidget from "@/components/ElevenLabsWidget";
import TallyPopupSimple from "@/components/TallyPopup";
import { GoogleAnalytics } from "@/components/analytics/google-analytics";
import { Toaster } from "@/components/molecules/Toast/toaster";
@@ -42,6 +43,7 @@ export default async function RootLayout({
<div className="flex min-h-screen flex-col items-stretch justify-items-stretch">
{children}
<TallyPopupSimple />
<ElevenLabsWidget />
{/* React Query DevTools is only available in development */}
{process.env.NEXT_PUBLIC_REACT_QUERY_DEVTOOL && (

View File

@@ -0,0 +1,15 @@
"use client";
export default function ElevenLabsWidget() {
return (
<>
{/* @ts-expect-error - this is a custom element */}
<elevenlabs-convai agent-id="agent_01k0catqvjef0sk50r03cj49ek"></elevenlabs-convai>
<script
src="https://unpkg.com/@elevenlabs/convai-widget-embed"
async
type="text/javascript"
></script>
</>
);
}

View File

@@ -56,7 +56,7 @@ const TallyPopupSimple = () => {
};
return (
<div className="fixed bottom-1 right-24 z-20 hidden select-none items-center gap-4 p-3 transition-all duration-300 ease-in-out md:flex">
<div className="fixed bottom-1 left-6 z-20 hidden select-none items-center gap-4 p-3 transition-all duration-300 ease-in-out md:flex">
{show_tutorial && (
<Button
variant="default"