diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 91b6dd7..67f0e53 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -56,11 +56,6 @@ jobs: runs-on: ubuntu-latest needs: test steps: - - name: Set up QEMU - uses: docker/setup-qemu-action@v1.2.0 - with: - platforms: linux/amd64,linux/arm64,linux/arm/v7 - - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -77,10 +72,7 @@ jobs: with: push: true tags: guusvanmeerveld/materialtube:latest - platforms: | - linux/amd64 - linux/arm64 - linux/arm/v7 + # Cache cache-from: type=gha cache-to: type=gha,mode=max diff --git a/next.config.js b/next.config.js index 494d852..5bf7240 100644 --- a/next.config.js +++ b/next.config.js @@ -4,9 +4,6 @@ **/ module.exports = { reactStrictMode: true, - experimental: { - emotion: true - }, eslint: { ignoreDuringBuilds: true }, diff --git a/public/favicon.ico b/public/favicon.ico index e69de29..5580bba 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index 32c3927..ace2e9c 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -17,7 +17,8 @@ import { Menu, Whatshot, PlaylistAddCheck, - Settings + Settings, + PlayCircleOutline } from "@mui/icons-material"; import Drawer from "@components/Navbar/Drawer"; @@ -39,20 +40,20 @@ const Navbar: FC = () => { }; const pages = [ - { name: "Trending", icon: , link: "trending" }, + { name: "Trending", icon: , link: "trending" }, { name: "Subscriptions", - icon: , + icon: , link: "subscriptions" }, { name: "Watch History", - icon: , + icon: , link: "history" }, { name: "Playlists", - icon: , + icon: , link: "playlists" } ]; @@ -77,25 +78,30 @@ const Navbar: FC = () => { > - + + {packageInfo.displayName} {pages.map((page, i) => ( - - - - + + {page.name} + ))} diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index e03a569..0ee6c9d 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -8,9 +8,6 @@ import { useMemo } from "react"; import { QueryClient, QueryClientProvider } from "react-query"; import { ReactQueryDevtools } from "react-query/devtools"; -import createCache from "@emotion/cache"; -import { CacheProvider } from "@emotion/react"; - import CssBaseline from "@mui/material/CssBaseline"; import { ThemeProvider } from "@mui/material/styles"; import useMediaQuery from "@mui/material/useMediaQuery"; @@ -21,26 +18,22 @@ import "@styles/globals.sass"; const queryClient = new QueryClient(); -const cache = createCache({ key: "next" }); - const App = ({ Component, pageProps }: AppProps) => { const prefersDarkMode = useMediaQuery("(prefers-color-scheme: dark)"); const theme = useMemo(() => createTheme(prefersDarkMode), [prefersDarkMode]); return ( - - - {process.env.NODE_ENV != "production" && ( - - )} - - - - - - - + + {process.env.NODE_ENV != "production" && ( + + )} + + + + + + ); };