feat(nvim): display selected file in tree in the editor
This commit is contained in:
49
src/App.tsx
49
src/App.tsx
@@ -1,3 +1,4 @@
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import { MusicPlayer } from "./components/MusicPlayer";
|
||||
import { MusicVisualizer } from "./components/MusicVisualizer";
|
||||
import { Nvim } from "./components/Nvim/Nvim";
|
||||
@@ -7,32 +8,34 @@ import { AppContextProvider } from "./context/AppContext";
|
||||
function App() {
|
||||
return (
|
||||
<AppContextProvider>
|
||||
<main
|
||||
className={
|
||||
"insets-0 fixed flex h-screen w-screen flex-col gap-3 bg-[url(/wallpaper.jpg)] bg-cover p-3 font-body leading-[26px]"
|
||||
}
|
||||
>
|
||||
<nav className="border border-red-500">toolbar</nav>
|
||||
|
||||
<Terminal className="flex-1">
|
||||
<Nvim />
|
||||
</Terminal>
|
||||
|
||||
<div className="flex gap-3">
|
||||
<Terminal className="flex-1 select-none">
|
||||
<MusicPlayer
|
||||
title="Last Tango in Kyoto"
|
||||
artist="Floating Bits"
|
||||
album="Last Tango in Kyoto"
|
||||
duration={93}
|
||||
/>
|
||||
</Terminal>
|
||||
<BrowserRouter>
|
||||
<main
|
||||
className={
|
||||
"insets-0 fixed flex h-screen w-screen flex-col gap-3 bg-[url(/wallpaper.jpg)] bg-cover p-3 font-body leading-[26px]"
|
||||
}
|
||||
>
|
||||
<nav className="border border-red-500">toolbar</nav>
|
||||
|
||||
<Terminal className="flex-1">
|
||||
<MusicVisualizer />
|
||||
<Nvim />
|
||||
</Terminal>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div className="flex gap-3">
|
||||
<Terminal className="flex-1 select-none">
|
||||
<MusicPlayer
|
||||
title="Last Tango in Kyoto"
|
||||
artist="Floating Bits"
|
||||
album="Last Tango in Kyoto"
|
||||
duration={93}
|
||||
/>
|
||||
</Terminal>
|
||||
|
||||
<Terminal className="flex-1">
|
||||
<MusicVisualizer />
|
||||
</Terminal>
|
||||
</div>
|
||||
</main>
|
||||
</BrowserRouter>
|
||||
</AppContextProvider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user