diff --git a/machines/web01/crabfit/packages/crabfit-frontend/05-dgnum.patch b/machines/web01/crabfit/packages/crabfit-frontend/05-dgnum.patch new file mode 100644 index 0000000..ef69772 --- /dev/null +++ b/machines/web01/crabfit/packages/crabfit-frontend/05-dgnum.patch @@ -0,0 +1,37 @@ +diff --git a/src/components/Footer/Footer.module.scss b/src/components/Footer/Footer.module.scss +index e1dbea5..cf7386c 100644 +--- a/src/components/Footer/Footer.module.scss ++++ b/src/components/Footer/Footer.module.scss +@@ -5,6 +5,6 @@ + display: flex; + align-items: center; +- justify-content: space-between; ++ justify-content: center; + + @media print { + display: none; +diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx +index 6ceb727..7480298 100644 +--- a/src/components/Footer/Footer.tsx ++++ b/src/components/Footer/Footer.tsx +@@ -17,18 +17,10 @@ const Footer = async ({ isSmall }: FooterProps) => { + return isRunningInApp + ? null // Cannot show external donation link in an Android app + : + } + diff --git a/machines/web01/crabfit/packages/crabfit-frontend/default.nix b/machines/web01/crabfit/packages/crabfit-frontend/default.nix index 960dc4c..ec451aa 100644 --- a/machines/web01/crabfit/packages/crabfit-frontend/default.nix +++ b/machines/web01/crabfit/packages/crabfit-frontend/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation ( ./02-karla.patch ./03-standalone.patch ./04-frontend_url.patch + ./05-dgnum.patch ]; offlineCache = fetchYarnDeps {