import { md, mdi } from '../filters.ts'; const badges = [ "support", "backups", "anonymousUsage", "zeroKnowledge",, "loggingMinimized", "decentralized", "storageEncrypted", ] as string[]; export default ({ data, language, className = '', }) => { const { services, strings } = data; return <> {services.map((service, i) => { return

{service.name}

{ strings.visit_service[language.slug] } {service.wiki ? { strings.wiki_help_page[language.slug] } : null}
{badges.map((badge, i) => { const { status, comment } = service[badge]; return
{strings[badge].name[language.slug]}
{strings.states[status][language.slug]}

{comment ?

: null }
; })}
; })} ; };