feat(crabfit): Remove donate button for a link to dgnum.eu
All checks were successful
build configuration / build_web02 (push) Successful in 52s
build configuration / build_storage01 (push) Successful in 56s
build configuration / build_vault01 (push) Successful in 1m2s
build configuration / build_compute01 (push) Successful in 1m21s
build configuration / build_web01 (push) Successful in 2m23s
All checks were successful
build configuration / build_web02 (push) Successful in 52s
build configuration / build_storage01 (push) Successful in 56s
build configuration / build_vault01 (push) Successful in 1m2s
build configuration / build_compute01 (push) Successful in 1m21s
build configuration / build_web01 (push) Successful in 2m23s
This commit is contained in:
parent
eecfe01f1e
commit
c6abe5a347
2 changed files with 38 additions and 0 deletions
|
@ -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
|
||||
: <footer
|
||||
- id="donate" // Required to allow scrolling directly to the footer
|
||||
+ id="dgnum" // Required to allow scrolling directly to the footer
|
||||
className={makeClass(styles.footer, isSmall && styles.small)}
|
||||
>
|
||||
- <span>{t('donate.info')}</span>
|
||||
- <Button
|
||||
- isSmall
|
||||
- title={t('donate.title')}
|
||||
- href="https://ko-fi.com/A06841WZ"
|
||||
- target="_blank"
|
||||
- rel="noreferrer noopener payment"
|
||||
- style={{ whiteSpace: 'nowrap' }}
|
||||
- >{t('donate.button')}</Button>
|
||||
+ <span>Service proposé par la <a href="https://dgnum.eu">DGNum</a>.</span>
|
||||
</footer>
|
||||
}
|
||||
|
|
@ -30,6 +30,7 @@ stdenv.mkDerivation (
|
|||
./02-karla.patch
|
||||
./03-standalone.patch
|
||||
./04-frontend_url.patch
|
||||
./05-dgnum.patch
|
||||
];
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
|
|
Loading…
Reference in a new issue