infrastructure/machines/web01/crabfit/packages/crabfit-frontend/05-dgnum.patch
Tom Hubrecht a99ef0d1e0
All checks were successful
build configuration / build_web02 (push) Successful in 52s
build configuration / build_storage01 (push) Successful in 54s
build configuration / build_vault01 (push) Successful in 56s
build configuration / build_compute01 (push) Successful in 1m19s
build configuration / build_web01 (push) Successful in 2m22s
npins update / npins_update (push) Successful in 42s
ds-fr update / npins_update (push) Successful in 1m50s
feat(crabfit): Add analytics
2024-01-24 13:14:00 +01:00

38 lines
1.4 KiB
Diff

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,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>
+ <script defer data-domain="meet.dgnum.eu" src="https://analytics.dgnum.eu/js/script.js"></script>
</footer>
}