Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
0d9ea33
Initial WP config to confirm understanding of CI/CD pipeline. ENV to …
Jun 14, 2025
da78a1e
Migrate from static site to WordPress with MySQL and Redis
Jun 14, 2025
265be4e
Merge pull request #13 from paul-rtdao/staging
Sigri44 Jun 14, 2025
4d958b1
Fix img on CI/CD
Sigri44 Jun 14, 2025
0ccb6e0
Fix network CD
Sigri44 Jun 14, 2025
7cd018d
Update docker-compose-main.yml
Sigri44 Jun 15, 2025
b259070
ENV CHANGES
Jun 21, 2025
89e2b9b
Merge branch 'preprod' of github.com:RealToken-Community/welcome-comm…
Jun 21, 2025
eaecaed
space issue
Jun 21, 2025
1bf9577
Update container name
Sigri44 Jul 8, 2025
b30b97b
Update NS
Sigri44 Oct 29, 2025
184b71c
first commit
Yohann76 Nov 24, 2025
2ac4a55
feat: add some documentation
Yohann76 Nov 24, 2025
7543507
feat: add design documentation
Yohann76 Nov 24, 2025
fce6be5
feat: add first graphics chart in homepage
Yohann76 Nov 24, 2025
c613492
feat: update Makefile
Yohann76 Nov 26, 2025
68b87b5
feat: add scss in assets
Yohann76 Nov 26, 2025
b968360
feat: update navbar with application, ressources, governance
Yohann76 Nov 26, 2025
6258804
feat: update title page
Yohann76 Nov 26, 2025
3476b12
feat: add some indication in design
Yohann76 Nov 26, 2025
34130c8
feat: add information in homepage
Yohann76 Nov 26, 2025
617649d
feat: add simple translation with navbar button
Yohann76 Nov 26, 2025
c0b603a
feat: update text in header
Yohann76 Nov 26, 2025
1783c62
feat: add some text in homepage
Yohann76 Nov 26, 2025
ed90167
feat: add roadmap.md in documentation
Yohann76 Dec 27, 2025
f52bd44
feat: add information in roadmap.md
Yohann76 Dec 27, 2025
f8ca953
feat: add blog feature with page and markdown content for translation
Yohann76 Dec 29, 2025
57f173c
feat: add external port in docker-compose.yml
Yohann76 Jan 30, 2026
d5df091
feat: resolve equivalents slug in blog.js
Yohann76 Jan 30, 2026
9dcb6e2
feat: add first article with picture
Yohann76 Jan 30, 2026
ab778bf
fix: add extention picture
Yohann76 Jan 30, 2026
49b3948
feat: add second article
Yohann76 Jan 30, 2026
9493b17
feat: add two article for demo blog
Yohann76 Jan 30, 2026
e7fc4ee
feat: add fix nav, and update for responsive
Yohann76 Feb 2, 2026
b5a6d88
feat: add level in navbar
Yohann76 Feb 2, 2026
d1ac317
feat: add footer in website
Yohann76 Feb 2, 2026
15e0d61
feat: add simple icon in footer
Yohann76 Feb 2, 2026
aef63bb
feat: update rmm link
Yohann76 Feb 2, 2026
9adfd9d
feat: add forum link
Yohann76 Feb 2, 2026
2f1dc7d
feat: add simple FAQ page with dropdown
Yohann76 Feb 2, 2026
ea2df78
feat: add wiki link
Yohann76 Feb 2, 2026
9086af1
add comitee view page
Yohann76 Feb 2, 2026
0408032
feat: add tally link
Yohann76 Feb 2, 2026
c0b5393
feat: fix typo in comite page
Yohann76 Feb 3, 2026
40eecae
feat: add dashboard link in nav
Yohann76 Feb 3, 2026
bea1ca9
feat: add bridge link
Yohann76 Feb 3, 2026
9e8a5b6
feat: update social link in footer
Yohann76 Feb 3, 2026
7196d4e
feat: add different link from DAO
Yohann76 Feb 3, 2026
1093c0c
feat: add REG page (with coingecko free API)
Yohann76 Feb 3, 2026
b52f9a0
feat: add information in FAQ page
Yohann76 Feb 3, 2026
9dc5b60
feat: add mailto button for contact
Yohann76 Feb 3, 2026
54271a7
feat: add partners page
Yohann76 Feb 3, 2026
30fcec4
feat: update link button in homepage
Yohann76 Feb 3, 2026
4d7044e
feat: update keyword in homepage
Yohann76 Feb 3, 2026
f5d0470
feat: modernize website with new homepage section
Yohann76 Feb 3, 2026
e1afc2e
feat: update size on last section
Yohann76 Feb 3, 2026
98ee715
feat: update section with new color
Yohann76 Feb 3, 2026
bf179ad
feat: add legal page example
Yohann76 Feb 3, 2026
618437b
fix: fix typography in homepage
Yohann76 Feb 3, 2026
dc68766
feat: update text in homepage
Yohann76 Feb 3, 2026
45780c4
fix: wording in homepage
Yohann76 Feb 3, 2026
2fbc7be
feat: update wording in partner page
Yohann76 Feb 3, 2026
7e7c4ee
feat: update wording in nav and footer
Yohann76 Feb 3, 2026
0d75d40
feat: add realtoken wallet link in nav
Yohann76 Feb 3, 2026
2adee74
fix: add scroll up before each loading page
Yohann76 Feb 5, 2026
e005086
feat: update link page with new section
Yohann76 Feb 5, 2026
d1bcd19
fix: bug in footer typo years
Yohann76 Feb 5, 2026
56e8f5b
feat: update local translation
Yohann76 Feb 5, 2026
8473b5a
feat: update translation in legal page
Yohann76 Feb 5, 2026
1c8623b
feat: update background link in pageLink
Yohann76 Feb 5, 2026
cd426c2
feat: update order link in gouvernance nav
Yohann76 Feb 5, 2026
dea933f
feat: update roadmap.md
Yohann76 Feb 6, 2026
38ebf7b
Merge pull request #1 from Yohann76/feature/blog-page-seo-with-article
Yohann76 Feb 6, 2026
c568ac5
feat: add logo nav/footer
Yohann76 Feb 6, 2026
12c109b
feat: add favicon svg logo
Yohann76 Feb 6, 2026
363e05c
Merge pull request #2 from Yohann76/feature/add-logo-favicon
Yohann76 Feb 6, 2026
24f8c3f
Merge pull request #3 from Yohann76/develop
Yohann76 Feb 6, 2026
924c1a2
Merge pull request #4 from Yohann76/main
Yohann76 Feb 6, 2026
58a52ca
feat: add some documentation
Yohann76 Feb 6, 2026
183aeed
Merge pull request #5 from Yohann76/feature/add-design-documentation
Yohann76 Feb 6, 2026
0d04229
feat: force URL in english
Yohann76 Feb 9, 2026
a40f790
feat: add some documentation for blog
Yohann76 Feb 9, 2026
9b243a2
feat: add sitemap generation for SEO
Yohann76 Feb 9, 2026
1f4b62c
fix: update wording in homepage
Yohann76 Feb 9, 2026
ea1e8f8
feat: add link in tool section
Yohann76 Feb 9, 2026
29671a6
feat: add link in homepage gouvernance
Yohann76 Feb 9, 2026
3579946
Merge pull request #6 from Yohann76/feature/optimize-lang-url
Yohann76 Feb 9, 2026
ef4852c
Merge pull request #7 from Yohann76/develop
Yohann76 Feb 9, 2026
6880c2b
Merge pull request #8 from Yohann76/main
Yohann76 Feb 9, 2026
cc174f3
feat: rename usefull-link to application hub
Yohann76 Feb 11, 2026
de4d8e3
feat: deplace link application hub
Yohann76 Feb 11, 2026
c36a82e
feat: add different management link
Yohann76 Feb 11, 2026
b04f419
feat: deplace information card link
Yohann76 Feb 11, 2026
98d32f8
feat: add section information
Yohann76 Feb 11, 2026
cbf3830
feat: add information text in application hub page
Yohann76 Feb 11, 2026
05488a5
feat: add domain for each app managment
Yohann76 Feb 11, 2026
5feaed9
feat: add simple link in REG section
Yohann76 Feb 11, 2026
a14e1b6
fix: fix nav hamburger bug and cut blog article with mobile screen
Yohann76 Feb 11, 2026
7099c60
Merge pull request #9 from RealToken-Community/feature/application-hub
Yohann76 Feb 11, 2026
91d59df
Merge pull request #10 from RealToken-Community/develop
Yohann76 Feb 11, 2026
9958454
feat: update README.md
Yohann76 Feb 12, 2026
ad9b0e2
Merge pull request #1 from Yohann76/feature/add-some-graphic-details
Yohann76 Feb 12, 2026
8d4015a
Merge pull request #2 from Yohann76/develop
Yohann76 Feb 12, 2026
92c9287
feat: add netlify configuration for not 404 link (on index)
Yohann76 Feb 12, 2026
431fc63
Merge pull request #3 from Yohann76/feature/add-some-graphic-details
Yohann76 Feb 12, 2026
193838d
Merge pull request #4 from Yohann76/develop
Yohann76 Feb 12, 2026
fcb6479
feat: remove toolbar vue kit
Yohann76 Feb 20, 2026
50594df
feat: add label link in application hub
Yohann76 Feb 20, 2026
e9c19b8
feat: order application page in dashboard (not section page)
Yohann76 Feb 20, 2026
2f280b2
Merge pull request #5 from Yohann76/feature/update-some-details-befor…
Yohann76 Feb 20, 2026
0408902
Merge pull request #6 from Yohann76/develop
Yohann76 Feb 20, 2026
7981e8e
Merge pull request #11 from RealToken-Community/main
Yohann76 Feb 20, 2026
0bfd5fd
feat: add article for grealtoken gouvernance
Yohann76 Feb 21, 2026
428532e
feat: fix bug in nav design
Yohann76 Feb 21, 2026
6123ed5
feat: update link application nav
Yohann76 Feb 21, 2026
f6a9604
feat: add link for dao wiki in reg ecosystem
Yohann76 Feb 21, 2026
7a05a08
feat: add simple color in other app link
Yohann76 Feb 21, 2026
36bfd9a
feat: generate sitemap with make dev-run, and add other article
Yohann76 Feb 21, 2026
20ce3df
feat: update FAQ1
Yohann76 Feb 21, 2026
7ecd664
feat improve FAQ2
Yohann76 Feb 21, 2026
e00bce8
feat: improve FAQ3
Yohann76 Feb 21, 2026
8e1decb
feat: add enchors in FAQ page
Yohann76 Feb 21, 2026
3584a2b
feat; adjust scroll anchors from link
Yohann76 Feb 21, 2026
0a8b438
fix: import slug for display blog page
Yohann76 Feb 21, 2026
c7c7387
Merge pull request #7 from Yohann76/feature/update-some-details-befor…
Yohann76 Feb 21, 2026
d5c39cf
Merge pull request #8 from Yohann76/develop
Yohann76 Feb 21, 2026
40b676d
Merge pull request #12 from Yohann76/main
Yohann76 Feb 21, 2026
4669925
fix: update l18n link
Yohann76 Feb 21, 2026
0a11606
Merge pull request #9 from Yohann76/feature/update-some-details-befor…
Yohann76 Feb 21, 2026
bbe86ed
Merge pull request #10 from Yohann76/develop
Yohann76 Feb 21, 2026
c014b8e
feat: add realtoken dashboard in application hub
Yohann76 Feb 22, 2026
7fb43ef
feat: add simple description in link
Yohann76 Feb 22, 2026
7dfad5c
feat: update value and text for proof section in homepage
Yohann76 Feb 22, 2026
da954f2
Merge pull request #11 from Yohann76/feature/update-some-details-befo…
Yohann76 Feb 22, 2026
5cf4e0e
Merge pull request #12 from Yohann76/develop
Yohann76 Feb 22, 2026
b69e031
feat: add simple blog content (6)
Yohann76 Mar 12, 2026
751eaed
feat: add prompt img color
Yohann76 Mar 12, 2026
f165e31
feat: sync all img for article blog with prompt
Yohann76 Mar 12, 2026
bbf07a4
feat: add simple graph in blog list homepage
Yohann76 Mar 12, 2026
efc88b7
Merge pull request #13 from Yohann76/feature/add-blog-content-6
Yohann76 Mar 12, 2026
02164a3
Merge pull request #14 from Yohann76/develop
Yohann76 Mar 12, 2026
e97dc8e
Merge pull request #15 from Yohann76/main
Yohann76 Mar 12, 2026
bc84f51
Merge pull request #13 from Yohann76/develop
Yohann76 Mar 26, 2026
f966ff5
feat: add test permissions
Yohann76 Mar 26, 2026
00a858c
feat: update .env.example
Yohann76 Mar 26, 2026
2a5e444
remove all old file
Yohann76 Mar 26, 2026
1faefec
Merge pull request #14 from RealToken-Community/develop
Yohann76 Mar 26, 2026
b14646f
feat: rename version for prevent conflict
Yohann76 Mar 26, 2026
413ed7e
Import RealToken website main into feat branch while preserving both …
Yohann76 Mar 26, 2026
923e333
Align branch tree exactly with realtoken-upstream/main
Yohann76 Mar 26, 2026
7b0bd1d
feat: add old file from welcome-community docker-compose, LICENSE ...
Yohann76 Mar 26, 2026
66bf809
Merge pull request #1 from Yohann76/feat/migration-new-version-in-pre…
Yohann76 Mar 26, 2026
c83ae6b
fix: remove space in and file name
Yohann76 Mar 26, 2026
b4b2306
fix: remove space in end docker-compose file
Yohann76 Mar 26, 2026
8ad94e9
feat: add develop version with Makefile and dockerfile.dev
Yohann76 Mar 26, 2026
190615c
Merge pull request #14 from Yohann76/preprod
Yohann76 Mar 26, 2026
b78ac04
feat: add CSV prevent XSS attacks in docker-compose-main,preprod
Yohann76 Mar 26, 2026
9b0603d
feat: add security options in docker-compose.yml
Yohann76 Mar 26, 2026
dfb5ada
fix: update translation with web host name
Yohann76 Mar 26, 2026
842a4b5
feat: update blog design (title and width page)
Yohann76 Mar 26, 2026
fa37417
feat: fix name tools YAM and RMM in article blog
Yohann76 Mar 26, 2026
135650c
feat: update description and title balise for SEO managment
Yohann76 Mar 26, 2026
3336c82
feat: add JSON-LD structured data on FAQ page (in javascript)
Yohann76 Mar 26, 2026
9b8c9d8
Merge pull request #15 from RealToken-Community/feat/adjustement-for-…
Yohann76 Mar 26, 2026
8d77fe7
feat: remove line in legal page (text)
Yohann76 Mar 27, 2026
808cc3a
feat: remove duplicate h1 in blog post
Yohann76 Apr 2, 2026
d184248
feat: adjust authors blog coherence
Yohann76 Apr 2, 2026
9e60277
feat: translation REG description
Yohann76 Apr 2, 2026
71e7cd8
feat: update footer copyright page
Yohann76 Apr 2, 2026
0a5651c
feat: coherence for title page application hub
Yohann76 Apr 2, 2026
1841313
feat: organize URL vor SEO structure
Yohann76 Apr 2, 2026
457e630
feat: add 404 not found page
Yohann76 Apr 2, 2026
8dd39ee
feat: replace word case article in end page
Yohann76 Apr 2, 2026
1ca6100
feat: justify text in article blogpost
Yohann76 Apr 2, 2026
312c4de
feat: add status page pour display link
Yohann76 Apr 2, 2026
fad720c
feat: add crontask in makefile and script
Yohann76 Apr 2, 2026
6eba0a1
feat: add scappa link in application-hub and status page
Yohann76 Apr 2, 2026
e0b5cdb
Merge pull request #16 from RealToken-Community/feat/adjustement-for-…
Yohann76 Apr 2, 2026
2235321
feat: change frequency crontab in script
Yohann76 Apr 2, 2026
efae7f7
feat: change format last day in status page
Yohann76 Apr 2, 2026
62ec563
feat: remove http code error column
Yohann76 Apr 2, 2026
3eb7eb9
feat: use logo for check/error link status
Yohann76 Apr 2, 2026
91873bc
feat: improve design status page for array
Yohann76 Apr 2, 2026
b5ec9ea
feat: update design for status page mobile
Yohann76 Apr 2, 2026
5cce3de
feat: update design for status mobile page
Yohann76 Apr 2, 2026
c33779e
Merge pull request #17 from RealToken-Community/feat/adjustement-for-…
Yohann76 Apr 2, 2026
82cce37
feat: update timeoutMs in chack-app-link.js script
Yohann76 Apr 2, 2026
3e96f98
Merge pull request #18 from RealToken-Community/feat/adjustement-for-…
Yohann76 Apr 2, 2026
aabbde3
feat: remove config in docker-compose (already in main config)
Yohann76 Apr 2, 2026
3dbf7ce
fix: update node version for next LTS
Yohann76 Apr 2, 2026
e1f058d
feat: remove netlify configuration (not use netlify - old version dev)
Yohann76 Apr 2, 2026
6e424f7
feat: remove public domain exemple
Yohann76 Apr 2, 2026
cdf1d6c
fix: not install cron, check url only on build application
Yohann76 Apr 2, 2026
2afd940
Merge pull request #20 from RealToken-Community/feat/adjustement-for-…
Yohann76 Apr 2, 2026
f846393
feat: rm .env.exemple
Yohann76 Apr 3, 2026
0b73910
Merge pull request #21 from RealToken-Community/feat/adjustement-for-…
Yohann76 Apr 3, 2026
ea8b0f4
feat: add number tally vote dynamics
Yohann76 Apr 9, 2026
cd7d642
feat: add REG holder from chain
Yohann76 Apr 9, 2026
162904e
feat: update number value of parner assets
Yohann76 Apr 9, 2026
cfc326d
feat: update label for number of proposals voted by the DAO in homepage
Yohann76 Apr 9, 2026
4fdf4b6
Merge branch 'preprod' into feat/fix-number-homepage
Yohann76 Apr 9, 2026
483f6b6
Merge pull request #22 from RealToken-Community/feat/fix-number-homepage
Yohann76 Apr 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@
"tag": "Proof",
"title": "Verifiable indicators, in real time.",
"assets": "Total value of partner assets in the ecosystem",
"members": "Ecosystem members",
"members": "REG holders",
"regMarketcap": "REG marketcap",
"votes": "Number of votes on Tally",
"votes": "Number of proposals voted by the DAO",
"comingSoon": "Coming soon",
"inProgress": "In progress"
},
Expand Down
4 changes: 2 additions & 2 deletions src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@
"tag": "Preuves",
"title": "Des indicateurs vérifiables, en temps réel.",
"assets": "Valeur totale des actifs partenaires dans l'écosystème",
"members": "Membres de l'écosystème",
"members": "Détenteurs de REG",
"regMarketcap": "Marketcap REG",
"votes": "Nombre de votes sur Tally",
"votes": "Nombre de propositions votées par la DAO",
"comingSoon": "À venir",
"inProgress": "En cours"
},
Expand Down
127 changes: 120 additions & 7 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ import LatestArticles from '../components/blog/LatestArticles.vue'
const { t } = useI18n()

const COINGECKO_REG_ID = 'realtoken-ecosystem-governance'
const GOVERNOR_ADDRESS = '0x4a5327347f077e72d2aab19f68ba8a7f12ec5d63'
const GNOSIS_RPC_URL = 'https://rpc.gnosischain.com'
const PROPOSAL_CREATED_TOPIC = '0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0'
const PROPOSAL_CANCELED_TOPIC = '0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c'
const BLOCKSCOUT_API_BASE = 'https://gnosis.blockscout.com/api/v2'
const regMarketCapUsd = ref(null)
const tallyVotesCount = ref(null)
const regHoldersCount = ref(null)

function formatCompact(value) {
if (value == null || typeof value !== 'number') return null
Expand All @@ -16,16 +23,120 @@ function formatCompact(value) {
return value.toLocaleString()
}

/**
* Fetch DAO proposal count excluding canceled proposals.
*/
async function fetchGovernorVoteCount() {
const extractProposalId = (log) => {
const data = log?.data
if (typeof data !== 'string' || !data.startsWith('0x') || data.length < 66) return null
return data.slice(0, 66).toLowerCase()
}

const baseFilter = {
address: GOVERNOR_ADDRESS,
fromBlock: '0x0',
toBlock: 'latest'
}

const payload = {
jsonrpc: '2.0',
id: 1,
method: 'eth_getLogs'
}

const [createdRes, canceledRes] = await Promise.all([
fetch(GNOSIS_RPC_URL, {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({ ...payload, params: [{ ...baseFilter, topics: [PROPOSAL_CREATED_TOPIC] }] })
}),
fetch(GNOSIS_RPC_URL, {
method: 'POST',
headers: { 'content-type': 'application/json' },
body: JSON.stringify({ ...payload, params: [{ ...baseFilter, topics: [PROPOSAL_CANCELED_TOPIC] }] })
})
])

if (!createdRes.ok) throw new Error(`Governor created logs HTTP ${createdRes.status}`)
if (!canceledRes.ok) throw new Error(`Governor canceled logs HTTP ${canceledRes.status}`)

const createdData = await createdRes.json()
const canceledData = await canceledRes.json()
if (createdData?.error) throw new Error(createdData.error?.message || 'Governor created logs RPC error')
if (canceledData?.error) throw new Error(canceledData.error?.message || 'Governor canceled logs RPC error')

const createdLogs = Array.isArray(createdData?.result) ? createdData.result : []
const canceledLogs = Array.isArray(canceledData?.result) ? canceledData.result : []

const canceledProposalIds = new Set(
canceledLogs.map(extractProposalId).filter(Boolean)
)

const activeProposalCount = createdLogs
.map(extractProposalId)
.filter((proposalId) => proposalId && !canceledProposalIds.has(proposalId))
.length

return activeProposalCount
}

/**
* Resolve REG token contract from CoinGecko platforms map.
*/
function resolveRegTokenAddressFromCoinGecko(data) {
const platforms = data?.platforms || {}
const candidates = [
platforms['xdai'],
platforms['gnosis-chain'],
platforms['gnosis'],
platforms['ethereum']
]
for (const v of candidates) {
if (typeof v === 'string' && /^0x[a-fA-F0-9]{40}$/.test(v)) return v
}
return null
}

/**
* Read REG holder count from Blockscout indexer (on-chain indexed data).
*/
async function fetchRegHoldersCount(tokenAddress) {
if (!tokenAddress) return null
const res = await fetch(`${BLOCKSCOUT_API_BASE}/tokens/${tokenAddress}/counters`)
if (!res.ok) throw new Error(`Blockscout counters HTTP ${res.status}`)
const data = await res.json()
const raw = data?.token_holders_count
const parsed = Number.parseInt(String(raw), 10)
return Number.isFinite(parsed) ? parsed : null
}

onMounted(async () => {
try {
const res = await fetch(
const regRes = await fetch(
`https://api.coingecko.com/api/v3/coins/${COINGECKO_REG_ID}?localization=false&tickers=false&community_data=false&developer_data=false`
)
if (!res.ok) return
const data = await res.json()
if (!regRes.ok) return
const data = await regRes.json()
const cap = data.market_data?.market_cap?.usd
if (typeof cap === 'number') regMarketCapUsd.value = cap
} catch (_) {}

const regTokenAddress = resolveRegTokenAddressFromCoinGecko(data)
const [votesCount, holdersCount] = await Promise.all([
fetchGovernorVoteCount().catch((error) => {
console.warn('Unable to load governor vote count:', error)
return null
}),
fetchRegHoldersCount(regTokenAddress).catch((error) => {
console.warn('Unable to load REG holders count:', error)
return null
})
])
if (typeof votesCount === 'number') tallyVotesCount.value = votesCount
if (typeof holdersCount === 'number') regHoldersCount.value = holdersCount
} catch (error) {
console.warn('Unable to load dynamic homepage stats:', error)
}
})

const aboutFeatures = computed(() => [
Expand Down Expand Up @@ -124,11 +235,13 @@ const steps = computed(() => [

const stats = computed(() => {
const regCap = regMarketCapUsd.value != null ? formatCompact(regMarketCapUsd.value) + ' USD' : t('stats.comingSoon')
const votes = typeof tallyVotesCount.value === 'number' ? tallyVotesCount.value.toLocaleString() : '38'
const holders = typeof regHoldersCount.value === 'number' ? regHoldersCount.value.toLocaleString() : '6 200+'
return [
{ label: t('stats.assets'), value: '$128M' },
{ label: t('stats.members'), value: '6 200+' },
{ label: t('stats.assets'), value: '+150M' },
{ label: t('stats.members'), value: holders },
{ label: t('stats.regMarketcap'), value: regCap },
{ label: t('stats.votes'), value: '38' }
{ label: t('stats.votes'), value: votes }
]
})
</script>
Expand Down
Loading