--- 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 ServiceIcon from '@components/things/ServiceIcon.astro'; 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; const sortedServices = [...(services || [])].sort((a, b) => a.name.localeCompare(b.name), ); ---
{ sortedServices.length > 0 ? ( ) : (

<> ⚠️ This section is still a work in progress ⚠️
Check back soon, or help us complete it by submiting a pull request on GitHub.
Or submit an entry here

) } { buttonLink && (