import React from 'react'; import { Menu, MenuHandler, MenuList, MenuItem, } from '@material-tailwind/react'; import { relativeTime } from '../../../utils/time'; interface DeploymentDetails { title: string; status: string; environment: string; branch: string; commit: { hash: string; message: string; }; author: string; updatedAt: string; } interface DeployDetailsCardProps { deployment: DeploymentDetails; } const DeployDetailsCard = ({ deployment }: DeployDetailsCardProps) => { return (

{deployment.title}

{deployment.status}

{deployment.environment}

{deployment.branch}

{deployment.commit.hash} {deployment.commit.message}

{relativeTime(deployment.updatedAt)} ^ {deployment.author}

^ Visit ^ Assign domain ^ Change to production
^ Redeploy ^ Rollback to this version
); }; export default DeployDetailsCard;