infrastructure/machines/web01/crabfit/packages/crabfit-frontend/05-dgnum.patch

38 lines
1.3 KiB
Diff
Raw Normal View History

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>
}