since3-portal/modules/shared/data/services-data.ts
2026-09-28 20:17:33 +02:00

24 lines
1.1 KiB
TypeScript

export type Service = {
id: string;
label: string;
logo: string;
};
export const SERVICES: Service[] = [
{ id: "vercel", label: "Vercel", logo: "/logos/vercel.svg" },
{ id: "hostinger", label: "Hostinger", logo: "/logos/hostinger.svg" },
{ id: "hostinger-webmail", label: "Hostinger Webmail", logo: "/logos/hostinger.svg" },
{ id: "supabase", label: "Supabase", logo: "/logos/supabase.svg" },
{ id: "github", label: "GitHub", logo: "/logos/github.svg" },
{ id: "shopify", label: "Shopify", logo: "/logos/shopify.svg" },
{ id: "wordpress", label: "Wordpress", logo: "/logos/wordpress.svg" },
{ id: "google-workspace", label: "Google Workspace", logo: "/logos/google.svg" },
{ id: "google-ads", label: "Google Ads", logo: "/logos/google-ads.svg" },
{ id: "sanity", label: "Sanity", logo: "/logos/sanity.svg" },
{ id: "stripe", label: "Stripe", logo: "/logos/stripe.svg" },
{ id: "other", label: "Sonstiges", logo: "" },
];
export function getServiceById(id: string): Service {
return SERVICES.find((service) => service.id === id) ?? SERVICES[SERVICES.length - 1];
}