"use client"; import React from "react"; import styles from "./styles.module.css"; import { useRouter, usePathname } from "next/navigation"; import CloseIcon from "@/app/components/icons/close"; const AddServicesModal = (props) => { const router = useRouter(); const pathName = usePathname(); const servicesList = [ { title: "Start from Scratch", linkTo: "add-from-scratch", detail: "Create a new service manually by configuring all the settings yourself", icon: ( ), isReleased: true, }, { title: "Choose Gitea Repository", detail: "Choose a repository from your linked Gitea Account", icon: ( ), isReleased: true, }, { title: "Link GitHub Repository", detail: "Import and deploy a service from your GitHub repository", icon: ( ), isReleased: false, }, ]; return (
Create New Services
Choose how you want to create your service
{service.title}
{!service.isReleased && (Coming soon
{service.detail}