diff --git a/frontend/src/components/common/navbar.tsx b/frontend/src/components/common/navbar.tsx index ef198ed2..a27c82ea 100644 --- a/frontend/src/components/common/navbar.tsx +++ b/frontend/src/components/common/navbar.tsx @@ -22,7 +22,6 @@ enum TabsOptions { NULL = "", } - export default function Navbar() { const { user: currentUser, authIsReady } = useContext(AuthContext); const [activeTab, setActiveTab] = useState(TabsOptions.NULL); diff --git a/frontend/src/pages/questions/_form.tsx b/frontend/src/pages/questions/_form.tsx index 6e565ae1..5d557a5e 100644 --- a/frontend/src/pages/questions/_form.tsx +++ b/frontend/src/pages/questions/_form.tsx @@ -211,7 +211,6 @@ export default function QuestionsForm({ form, onSubmit, type = 'add' }: Question )} - ); diff --git a/frontend/src/pages/settings/index.tsx b/frontend/src/pages/settings/index.tsx new file mode 100644 index 00000000..f9718693 --- /dev/null +++ b/frontend/src/pages/settings/index.tsx @@ -0,0 +1,81 @@ +import { Button } from "@/components/ui/button"; +import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"; +import { Input } from "@/components/ui/input"; +import { TypographyH1, TypographyH3 } from "@/components/ui/typography"; +import { Label } from "@radix-ui/react-dropdown-menu"; +import { UserIcon } from "lucide-react"; +import { useRouter } from "next/router"; + +const settingsOptions = [ + { + title: "Account", + href: "/settings/#account", + icon: UserIcon, + }, +] + +export default function Settings() { + const router = useRouter(); + + return ( +
+
+
+
+ Settings +
+ {settingsOptions.map((option) => ( +
+ +
+ ))} +
+
+
+
+ + + Account + + + +
+ + + console.log(event.target.value) + } + className="max-w-sm" + /> +
+
+ + + console.log(event.target.value) + } + className="max-w-sm" + /> +
+ +
+ Danger Zone + +
+
+
+
+
+
+
+ ) +} \ No newline at end of file