diff --git a/apps/ui-desktop/src/App.css b/apps/ui-desktop/src/App.css deleted file mode 100644 index b10aa088..00000000 --- a/apps/ui-desktop/src/App.css +++ /dev/null @@ -1,42 +0,0 @@ -#root { - max-width: 1280px; - margin: 0 auto; - /* padding: 2rem; */ - /* text-align: center; */ -} - -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} diff --git a/apps/ui-desktop/src/App.tsx b/apps/ui-desktop/src/App.tsx index 31c4cf09..d32e6bad 100644 --- a/apps/ui-desktop/src/App.tsx +++ b/apps/ui-desktop/src/App.tsx @@ -1,4 +1,4 @@ -import "./App.css"; +import "@codepod/ui/src/App.css"; import "@codepod/ui/src/custom.css"; import { @@ -40,18 +40,10 @@ const theme = createTheme({ }, }); -type NormalLayoutProps = { - currentPage?: string | null; - children: React.ReactNode; -}; - -const NormalLayout: React.FC = ({ - currentPage, - children, -}) => { +const NormalLayout = ({ children }) => { return ( -
+
{children} {/*