add subtitle to the login modal with instructions on how to get invited

This commit is contained in:
Viktor Barzin 2025-06-30 22:39:10 +00:00
parent c660771225
commit 92c8403157
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -1,5 +1,6 @@
import { login } from '@/auth/authService';
import { Button } from "@/components/ui/button";
import { DialogDescription } from '@radix-ui/react-dialog';
import React, { useState } from 'react';
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle } from './ui/dialog';
@ -19,6 +20,8 @@ const Modal: React.FC<ModalProps> = ({
<DialogContent className="sm:max-w-[425px]">
<DialogHeader>
<DialogTitle>Login to Wrongmove</DialogTitle>
<DialogDescription>(We are currently in closed beta; ask Viktor to send you an invitation)</DialogDescription>
</DialogHeader>
<DialogFooter>
{isLoading && (