diff --git a/public/assets/images/logo_ai2.svg b/public/assets/images/logo_ai2.svg
new file mode 100644
index 0000000..c890f9e
--- /dev/null
+++ b/public/assets/images/logo_ai2.svg
@@ -0,0 +1,84 @@
+
diff --git a/src/components/input/SearchBox.tsx b/src/components/input/SearchBox.tsx
index f9c54a6..a568f8a 100644
--- a/src/components/input/SearchBox.tsx
+++ b/src/components/input/SearchBox.tsx
@@ -1,38 +1,40 @@
-'use client'
+"use client";
-import React from 'react'
-import SearchIcon from '../icons/SearchIcon'
-import { glassSurfaceFlat } from '@/lib/styles/glassSurface'
+import { useGetAbout } from "@/app/[name]/(Main)/about/hooks/useAboutData";
+import { glassSurfaceFlat } from "@/lib/styles/glassSurface";
+import Link from "next/link";
+import { useParams } from "next/navigation";
+import React from "react";
+import SearchIcon from "../icons/SearchIcon";
-interface SearchboxProps
- extends Omit, 'results'> {
- placeholder?: string
- onChange: (e: React.ChangeEvent) => void
+interface SearchboxProps extends Omit, "results"> {
+ placeholder?: string;
+ onChange: (e: React.ChangeEvent) => void;
}
-export default function SearchBox({
- className,
- value,
- placeholder = '',
- onChange,
- ...props
-}: SearchboxProps) {
+export default function SearchBox({ className, value, placeholder = "", onChange, ...props }: SearchboxProps) {
+ const { name } = useParams<{ name?: string }>();
+ const { data: about } = useGetAbout();
+ const showAiLink = !!name && !!about?.data?.enableAiChat;
+
return (
-
+
+
+
+
+ {showAiLink && (
+
+

+
)}
- >
-
-
- )
+ );
}