diff --git a/components/Section/Layout.tsx b/components/Section/Layout.tsx index 5965b282..e5139271 100644 --- a/components/Section/Layout.tsx +++ b/components/Section/Layout.tsx @@ -26,13 +26,10 @@ const Layout: React.FC = ({ children }) => { return ( <> -
- -
- {/* */} +
+ {children}
-
{isMobile && (
{children}
@@ -45,7 +42,7 @@ const Layout: React.FC = ({ children }) => { export default Layout; -export const GardenLayout: React.FC = ({ children }) => { +export const LayoutWithSidebar: React.FC = ({ children }) => { const [isMobile, setIsMobile] = useState(false); useEffect(() => { @@ -64,10 +61,13 @@ export const GardenLayout: React.FC = ({ children }) => { return ( <> -
- {/* */} +
+ +
+ {/* */} {children}
+
{isMobile && (
{children}
diff --git a/components/Section/Sidebar.tsx b/components/Section/Sidebar.tsx index 455117a5..d0142317 100644 --- a/components/Section/Sidebar.tsx +++ b/components/Section/Sidebar.tsx @@ -143,7 +143,7 @@ export default Sidebar; export function DesktopSidebar () { return ( -
+
Star Sailors Alpha 0.2.1
@@ -265,161 +265,6 @@ export function DesktopSidebar () { Pick your planet -
  • - {/* Add as iframe page later */} - - - - Star Sailors Alpha 1.0 - -
  • - -
    -
    -
    -); -}; - -export function GardenSidebar () { - return ( -
    - diff --git a/pages/garden.tsx b/pages/garden.tsx index 4e197b85..8e1bdea4 100644 --- a/pages/garden.tsx +++ b/pages/garden.tsx @@ -1,11 +1,14 @@ import React from "react"; // import Garden from "../components/Gameplay/Garden"; import { Garden } from "../components/Content/Planets/GalleryList"; -import Layout, { GardenLayout, LayoutNoNav } from "../components/Section/Layout"; -import Sidebar from "../components/Section/Sidebar"; +import Layout, { LayoutNoNav } from "../components/Section/Layout"; +import Navbar from "../components/Section/Navbar"; export default function GardenPage() { return ( - + + + + ) } \ No newline at end of file