import { IconButton } from '@chakra-ui/button'; import { FiPlus, FiMinus } from 'react-icons/fi'; import { ModalBody } from '@chakra-ui/modal'; import { Input } from '@chakra-ui/react'; import { fetchEvent } from 'app/api/eventApi'; import { useState } from 'react'; import { useFetch } from 'app/hooks/useFetch'; import { EVENT_TABLE } from 'app/api/apiConstants'; import style from './Modals.module.css'; export default function AliasesModal() { const { data, status, isError } = useFetch(EVENT_TABLE, fetchEvent); const [submitting, setSubmitting] = useState(false); const submitHandler = async (event) => { event.preventDefault(); // NOTHING HERE YET }; // Hardcoded links for now // it will need dynamic PORT assignment const speakerLink = 'http://localhost:4001/speaker'; const smLink = 'http://localhost:4001/sm'; const publicLink = 'http://localhost:4001/public'; const pipLink = 'http://localhost:4001/pip'; return ( <>

Configure easy to use URL Aliases
!!! Feature is not yet implemented !!!

Default URLs

Presenter Screen
{speakerLink}

Backstage / Stage Manager Screen
{smLink}

Public / Foyer Screen
{publicLink}

Picture in Picture Screen
{pipLink}

Manage custom aliases
{ // Nothing here yet }} isDisabled={true} /> { // Nothing here yet }} isDisabled={true} /> } colorScheme='red' disabled />
{ // Nothing here yet }} isDisabled={true} /> { // Nothing here yet }} isDisabled={true} /> } colorScheme='blue' disabled />
); }