mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-11-03 23:55:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			728 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			728 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import {
 | 
						|
  Card,
 | 
						|
  CardDescription,
 | 
						|
  CardHeader,
 | 
						|
  CardTitle,
 | 
						|
} from "@/components/ui/card";
 | 
						|
import { useAppContext } from "@/context/app-context";
 | 
						|
import { useTranslation } from "react-i18next";
 | 
						|
import Markdown from "react-markdown";
 | 
						|
 | 
						|
export const ForgotPasswordPage = () => {
 | 
						|
  const { forgotPasswordMessage } = useAppContext();
 | 
						|
  const { t } = useTranslation();
 | 
						|
 | 
						|
  return (
 | 
						|
    <Card className="min-w-xs sm:min-w-sm">
 | 
						|
      <CardHeader>
 | 
						|
        <CardTitle className="text-3xl">{t("forgotPasswordTitle")}</CardTitle>
 | 
						|
        <CardDescription>
 | 
						|
          <Markdown>{forgotPasswordMessage !== "" ? forgotPasswordMessage : t('forgotPasswordMessage')}</Markdown>
 | 
						|
        </CardDescription>
 | 
						|
      </CardHeader>
 | 
						|
    </Card>
 | 
						|
  );
 | 
						|
};
 |