-
- {!selectedKnowledge && (
-
-
-
-
setWebSearch(e)}
- checkedChildren={t("form.webSearch.on")}
- unCheckedChildren={t("form.webSearch.off")}
- />
-
-
- )}
-
-
- {!selectedKnowledge && (
-
-
-
- )}
-
- {browserSupportsSpeechRecognition && (
-
-
-
- )}
-
-
- {!isSending ? (
-
-
-
- }
- menu={{
- items: [
- {
- key: 1,
- label: (
-
- setSendWhenEnter(e.target.checked)
- }>
- {t("sendWhenEnter")}
-
- )
- },
- {
- key: 2,
- label: (
- setUseOCR(e.target.checked)}>
- {t("useOCR")}
-
- )
- }
- ]
- }}>
-
- {sendWhenEnter ? (
-
- ) : null}
- {t("common:submit")}
-
-
- ) : (
-
-
-
- )}
-
+
+ )
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {form.errors.message && (
+
+ {form.errors.message}
+
+ )}
+
+
+
)
diff --git a/src/routes/option-index.tsx b/src/routes/option-index.tsx
index 776bcce..47e04ec 100644
--- a/src/routes/option-index.tsx
+++ b/src/routes/option-index.tsx
@@ -1,12 +1,12 @@
import OptionLayout from "~/components/Layouts/Layout"
import { Playground } from "~/components/Option/Playground/Playground"
- const OptionIndex = () => {
+const OptionIndex = () => {
return (
-
+
)
}
-export default OptionIndex
\ No newline at end of file
+export default OptionIndex
diff --git a/tailwind.config.js b/tailwind.config.js
index a30235c..8f13db3 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -3,5 +3,16 @@ module.exports = {
mode: "jit",
darkMode: "class",
content: ["./src/**/*.tsx"],
+ theme: {
+ extend: {
+ backgroundImage: {
+ 'bottom-mask-light': 'linear-gradient(0deg, transparent 0, #ffffff 160px)',
+ 'bottom-mask-dark': 'linear-gradient(0deg, transparent 0, #171717 160px)',
+ },
+ maskImage: {
+ 'bottom-fade': 'linear-gradient(0deg, transparent 0, #000 160px)',
+ }
+ }
+ },
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography")]
}