Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

838 B
Raw Blame
import type { ComponentType, SVGProps } from "react";
import { GiteaIcon } from "@/components/icons/gitea-icon";
import { GithubIcon } from "@/components/icons/github-icon";
import { GitlabIcon } from "@/components/icons/gitlab-icon";

export type RepositoryProviderId = "github" | "gitea" | "gitlab";

export type RepositoryProvider = {
  id: RepositoryProviderId;
  name: string;
  icon: ComponentType<SVGProps<SVGSVGElement>>;
  iconClassName: string;
};

export const REPOSITORY_PROVIDERS: RepositoryProvider[] = [
  {
    id: "github",
    name: "GitHub",
    icon: GithubIcon,
    iconClassName: "text-foreground",
  },
  {
    id: "gitea",
    name: "Gitea",
    icon: GiteaIcon,
    iconClassName: "text-[#609926]",
  },
  {
    id: "gitlab",
    name: "GitLab",
    icon: GitlabIcon,
    iconClassName: "text-[#FC6D26]",
  },
];