--- import Button from '@components/form/Button.astro'; import { parseMarkdown, formatLink } from '@utils/parse-markdown'; import type { Service } from 'src/types/Service'; import FontAwesome from '@components/form/FontAwesome.svelte'; import DeleteListing from '@components/things/DeleteListing.svelte'; import { slugify } from '@utils/fetch-data'; import GitHubMetrics from '@components/things/ItemGitHubMetrics.astro'; import SaveListing from '@components/things/SaveListing.svelte'; interface Props { services: Service[]; subHeading?: boolean; buttonLink?: string; noGitHubMetrics?: boolean; sectionName: string; categoryName: string; } const { services, subHeading, buttonLink, noGitHubMetrics, sectionName, categoryName, } = Astro.props; --- {services && services.length > 0 ? ( {services.map((service: Service) => ( {subHeading ? {service.name} : {service.name}} {service.followWith && ({service.followWith}) } {formatLink(service.url)} { service.securityAudited && ( Security Audited )} { service.acceptsCrypto && ( Crypto Payments Accepted )} { service.securityAudited === false && ( No Security Audit )} { (service.openSource === false) && ( Not Open Source )} { service.openSource || (service.github && service.openSource !== false) ? ( Open Source ) : null } { service.github && !noGitHubMetrics && } { service.github && noGitHubMetrics && ( {service.github} ) } View {service.name} Report ))} ) : ( ⚠️ This section is still a work in progress ⚠️ Check back soon, or help us complete it by submiting a pull request on GitHub. )} {buttonLink && ( )}
({service.followWith})
⚠️ This section is still a work in progress ⚠️ Check back soon, or help us complete it by submiting a pull request on GitHub.