diff --git a/README.md b/README.md index bc67ae152..981d46b10 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,8 @@ via Github Actions & Pages: - the build process pushes the build artifact to `main-build` - setup Github Pages to serve a static site from `main-build` +In case of build issues, delete all Github Actions caches and the `main-build` branch, then re-run the job _"Deploy to Pages"_. + ## **License** This project is licensed under the [GNU General Public License v3.0](https://opensource.org/licenses/gpl-3.0.html) - see the [`COPYING`](COPYING) file for details. diff --git a/pages/index.tsx b/pages/index.tsx index b949568a0..09ba7cf16 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -784,7 +784,7 @@ export default function Page() { ? { backgroundImage: `url(${backgroundUrl})`, backgroundRepeat: "no-repeat", - backgroundColor: (t) => + backgroundColor: (t: any) => t.palette.mode === "light" ? t.palette.grey[50] : t.palette.grey[900], backgroundSize: "cover", backgroundPosition: "center",