diff --git a/src/app/app/page.tsx b/src/app/app/page.tsx new file mode 100644 index 0000000..3606157 --- /dev/null +++ b/src/app/app/page.tsx @@ -0,0 +1,98 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay"; +import { useState } from "react"; + +export default function AppPage() { + const [equation, setEquation] = useState(""); + const [latex, setLatex] = useState(""); + + const handleFormatEquation = () => { + // Placeholder for equation formatting logic + setLatex(`\\text{Formatted: } ${equation}`); + }; + + const handleCopyLatex = () => { + navigator.clipboard.writeText(latex); + }; + + return ( + + + +
+
+
+

+ Equation Formatter +

+

+ Type your equation and watch it format in real-time +

+
+ +
+
+ +