From 7103019890960e793deefb64987a09b33be60b42 Mon Sep 17 00:00:00 2001
From: Michael Hunteman <michael@huntm.net>
Date: Fri, 17 May 2024 15:20:30 -0700
Subject: Add golang server

---
 src/components/Desktop.tsx | 29 -----------------------------
 1 file changed, 29 deletions(-)
 delete mode 100644 src/components/Desktop.tsx

(limited to 'src/components/Desktop.tsx')

diff --git a/src/components/Desktop.tsx b/src/components/Desktop.tsx
deleted file mode 100644
index 13de4ee..0000000
--- a/src/components/Desktop.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import React from 'react';
-import { useContext } from 'react';
-import { Link } from 'react-router-dom';
-import { Button, IconButton } from '@mui/material';
-import DarkModeIcon from '@mui/icons-material/DarkMode';
-import LightModeIcon from '@mui/icons-material/LightMode';
-import { useTheme } from '@mui/material/styles';
-import { ThemeContext } from '../ThemeContextProvider';
-import pages from '../pages';
-
-function Desktop() {
-  const theme = useTheme();
-  const { toggleColorMode } = useContext(ThemeContext);
-
-  return (
-    <div style={{ marginLeft: 'auto' }}>
-      {pages.map((page) => (
-        <Button color="inherit" component={Link} to={page?.to} key={page?.name}>
-          {page?.name}
-        </Button>
-      ))}
-      <IconButton color="inherit" onClick={toggleColorMode}>
-        {theme.palette.mode === 'dark' ? <LightModeIcon /> : <DarkModeIcon />}
-      </IconButton>
-    </div>
-  );
-}
-
-export default Desktop;
-- 
cgit v1.2.3

