Update package.json and code files

This commit is contained in:
n4ze3m
2024-02-04 13:56:25 +05:30
parent 5958e10354
commit a66d8a8418
9 changed files with 73 additions and 36 deletions

View File

@@ -2,8 +2,13 @@ import { Route, Routes } from "react-router-dom"
import { SidepanelChat } from "./sidepanel-chat"
import { useDarkMode } from "~hooks/useDarkmode"
import { SidepanelSettings } from "./sidepanel-settings"
import { OptionIndex } from "./option-index"
export const Routing = () => <Routes></Routes>
export const OptionRouting = () => (
<Routes>
<Route path="/" element={<OptionIndex />} />
</Routes>
)
export const SidepanelRouting = () => {
const { mode } = useDarkMode()

View File

@@ -0,0 +1,10 @@
import { SettingsBody } from "~components/Sidepanel/Settings/body"
import { SidepanelSettingsHeader } from "~components/Sidepanel/Settings/header"
export const OptionIndex = () => {
return (
<div className="flex bg-white dark:bg-black flex-col min-h-screen mx-auto max-w-7xl">
hey
</div>
)
}