Обновить src/content/docs/fr-fr/index.mdx
This commit is contained in:
parent
e453346765
commit
0bed830f5c
1 changed files with 11 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ title: Accueil
|
|||
template: splash
|
||||
hero:
|
||||
title: Découvrez des logiciels libres, rapides et privés avec Federated Nexus
|
||||
tagline: Federated Nexus est une ressource communautaire hébergeant plusieurs services FOSS (en particulier fédérés), notamment Matrix et Forgejo.
|
||||
tagline: Federated Nexus est une ressource communautaire hébergeant plusieurs services FOSS (en particulier fédérés), notamment Matrix et Forgejo. Nous avons actuellement <span id="user-count">plus de 450</span> utilisateurs.
|
||||
image:
|
||||
file: ../../../images/icon.svg
|
||||
actions:
|
||||
|
|
@ -54,3 +54,13 @@ import { CardGrid, Card } from "@astrojs/starlight/components"
|
|||
</Card>
|
||||
|
||||
</CardGrid>
|
||||
|
||||
<script>
|
||||
{`
|
||||
(async () => {
|
||||
const response = await fetch("https://matrix.federated.nexus/_continuwuity/local_user_count")
|
||||
const json = await response.json();
|
||||
document.querySelector("#user-count").innerText = json["count"]
|
||||
})()
|
||||
`}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue