Selaa lähdekoodia

Adding Plexpert.

blockiosaurus 1 vuosi sitten
vanhempi
sitoutus
fb9f4fbd16
3 muutettua tiedostoa jossa 1934 lisäystä ja 160 poistoa
  1. 1916 160
      pnpm-lock.yaml
  2. 16 0
      src/components/Plexpert.jsx
  3. 2 0
      src/pages/_app.jsx

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1916 - 160
pnpm-lock.yaml


+ 16 - 0
src/components/Plexpert.jsx

@@ -0,0 +1,16 @@
+import Script from 'next/script'
+
+export function Plexpert() {
+  return (
+    <Script
+      src="https://metaplex.useanything.com/embed/anythingllm-chat-widget.min.js"
+      data-embed-id="e86b14ea-f7f4-4af4-94dc-913d320e9b9d"
+      data-base-api-url="https://metaplex.useanything.com/api/embed"
+      data-chat-icon="magic"
+      data-brand-image-url="https://avatars.githubusercontent.com/u/4599573?s=280&v=4"
+      data-assistant-name="Plexpert (alpha)"
+      data-assistant-icon="https://avatars.githubusercontent.com/u/4599573?s=280&v=4"
+      data-greeting="Hello! I'm Plexert, an experimental AI assistant. How can I help you today?"
+    ></Script>
+  )
+}

+ 2 - 0
src/pages/_app.jsx

@@ -11,6 +11,7 @@ import 'reactflow/dist/base.css'
 
 
 // Add Prism components.
 // Add Prism components.
 import { Prism } from 'prism-react-renderer'
 import { Prism } from 'prism-react-renderer'
+import { Plexpert } from '@/components/Plexpert'
 ;(typeof global !== 'undefined' ? global : window).Prism = Prism
 ;(typeof global !== 'undefined' ? global : window).Prism = Prism
 require('prismjs/components/prism-rust')
 require('prismjs/components/prism-rust')
 
 
@@ -60,6 +61,7 @@ export default function App({ Component, pageProps }) {
             gtag('config', 'G-YLQCC8102N');
             gtag('config', 'G-YLQCC8102N');
           `}
           `}
       </Script>
       </Script>
+      <Plexpert />
     </>
     </>
   )
   )
 }
 }

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä