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

39 lines
1.4 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
2024-01-24 13:14:00 +01:00
@@ -17,18 +17,11 @@ 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>
2024-01-24 13:14:00 +01:00
+ <script defer data-domain="meet.dgnum.eu" src="https://analytics.dgnum.eu/js/script.js"></script>
</footer>
}