From ce6e728306fbfa4901a481a3d4fe518dc4a6f1e3 Mon Sep 17 00:00:00 2001 From: D9J9V Date: Fri, 6 Sep 2024 08:27:59 -0600 Subject: [PATCH] Styling oracle --- .../app/{oracle => create-oracle}/page.tsx | 56 ++++++++++++++++++- 1 file changed, 53 insertions(+), 3 deletions(-) rename packages/nextjs/src/app/{oracle => create-oracle}/page.tsx (72%) diff --git a/packages/nextjs/src/app/oracle/page.tsx b/packages/nextjs/src/app/create-oracle/page.tsx similarity index 72% rename from packages/nextjs/src/app/oracle/page.tsx rename to packages/nextjs/src/app/create-oracle/page.tsx index 54a0381..bbc5210 100644 --- a/packages/nextjs/src/app/oracle/page.tsx +++ b/packages/nextjs/src/app/create-oracle/page.tsx @@ -11,7 +11,7 @@ import { LoadingIcon } from "@/app/_components/icons"; import { cn } from "@/lib/utils"; import { toast } from "sonner"; -export default function Chat() { +function Chat() { const [toolCall, setToolCall] = useState(); const { messages, input, handleInputChange, handleSubmit, isLoading } = useChat({ @@ -60,8 +60,8 @@ export default function Chat() { .slice(-1)[0]; return ( -
-
+
+
= React.memo( prevProps.children === nextProps.children && prevProps.className === nextProps.className, ); + +export default function CreateOracle() { + return ( +
+

+ Train and try your Schola oracle +

+
+
+ +

+ Train Your Oracle +

+
+

+ Teach your oracle by providing information. This will help it + learn and provide better answers to your students. +

+
+
+ +
+ +
+ +

+ Preview Student View +

+
+

+ This is how your students will interact with the oracle. Try + asking questions to see how it responds based on what + you've taught it. +

+
+
+ +
+
+
+ ); +}