import React from 'react';
import MessageCard from '@dailyjs/shared/components/MessageCard';

export default function RoomNotFound() {
  return (
    <div className="not-found">
      <MessageCard error header="Room not found">
        The room you are trying to join does not exist. Have you created the
        room using the Daily REST API or the dashboard?
      </MessageCard>
      <style jsx>{`
        display: grid;
        align-items: center;
        justify-content: center;
        grid-template-columns: 620px;
        width: 100%;
        height: 100vh;
      `}</style>
    </div>
  );
}
