This commit is contained in:
parent
70a970cee6
commit
d9753a7fc8
@ -57,7 +57,7 @@ class VerifyEmailNotification extends Notification
|
||||
$verificationUrl = $this->verificationUrl($notifiable);
|
||||
|
||||
return (new MailMessage)
|
||||
->subject('Verify Email Address')
|
||||
->subject('E-Mail-Adresse bestätigen')
|
||||
->view('mail.email-verification', [
|
||||
'user' => $notifiable,
|
||||
'url' => $verificationUrl,
|
||||
|
||||
@ -92,7 +92,7 @@ const LandingNavbar = () => {
|
||||
{(user.role === 'admin' || user.role === 'instructor') && (
|
||||
<DropdownMenuItem className="cursor-pointer px-3" onClick={() => router.get(route('dashboard'))}>
|
||||
<LayoutDashboard className="mr-1 h-4 w-4" />
|
||||
<span>Dashboard</span>
|
||||
<span>Übersicht</span>
|
||||
</DropdownMenuItem>
|
||||
)}
|
||||
|
||||
@ -110,7 +110,7 @@ const LandingNavbar = () => {
|
||||
|
||||
<DropdownMenuItem className="cursor-pointer px-3" onClick={() => router.post('/logout')}>
|
||||
<LogOut className="mr-1 h-4 w-4" />
|
||||
<span>Log Out</span>
|
||||
<span>Abmelden</span>
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
@ -118,10 +118,10 @@ const LandingNavbar = () => {
|
||||
) : (
|
||||
<div className="hidden items-center gap-3 md:flex">
|
||||
<Button asChild variant="outline" className="h-auto rounded-sm px-5 py-2.5 shadow-none">
|
||||
<Link href={route('register')}>Sign Up</Link>
|
||||
<Link href={route('register')}>Registrieren</Link>
|
||||
</Button>
|
||||
<Button asChild className="h-auto rounded-sm px-5 py-2.5 shadow-none">
|
||||
<Link href={route('login')}>Log In</Link>
|
||||
<Link href={route('login')}>Anmelden</Link>
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
@ -153,10 +153,10 @@ const LandingNavbar = () => {
|
||||
user.role === 'admin' ? (
|
||||
<>
|
||||
<Link href={route('dashboard')} className="text-sm font-normal">
|
||||
Dashboard
|
||||
Übersicht
|
||||
</Link>
|
||||
<Button variant="outline" onClick={() => router.post(route('logout'))}>
|
||||
Log Out
|
||||
Abmelden
|
||||
</Button>
|
||||
</>
|
||||
) : (
|
||||
@ -167,19 +167,19 @@ const LandingNavbar = () => {
|
||||
</Link>
|
||||
)}
|
||||
<Link href={route('student.index', { tab: 'courses' })} className="text-sm font-normal">
|
||||
My Courses
|
||||
Meine Kurse
|
||||
</Link>
|
||||
<Link href={route('student.index', { tab: 'wishlist' })} className="text-sm font-normal">
|
||||
Wishlist
|
||||
Wunschliste
|
||||
</Link>
|
||||
<Link href={route('student.index', { tab: 'profile' })} className="text-sm font-normal">
|
||||
My Profile
|
||||
Mein Profil
|
||||
</Link>
|
||||
<Link href={route('student.index', { tab: 'settings' })} className="text-sm font-normal">
|
||||
Settings
|
||||
Einstellungen
|
||||
</Link>
|
||||
<Button variant="secondary" onClick={() => router.post(route('logout'))}>
|
||||
Log Out
|
||||
Abmelden
|
||||
</Button>
|
||||
</>
|
||||
)
|
||||
|
||||
@ -29,7 +29,7 @@ export default function Recaptcha({ status }: { status?: string }) {
|
||||
{button.submit}
|
||||
</Button>
|
||||
|
||||
<Button onClick={() => router.post(route('logout'))} className="mx-auto block text-sm">
|
||||
<Button type="button" onClick={() => router.post(route('logout'))} className="mx-auto block text-sm">
|
||||
{button.logout}
|
||||
</Button>
|
||||
</form>
|
||||
|
||||
@ -33,7 +33,7 @@ const Layout = ({ children, tab }: { children: ReactNode; tab: string }) => {
|
||||
: [
|
||||
{
|
||||
id: 'exams',
|
||||
name: 'Exams',
|
||||
name: 'Prüfungen',
|
||||
slug: 'exams',
|
||||
Icon: FileQuestion,
|
||||
},
|
||||
@ -90,22 +90,22 @@ const Layout = ({ children, tab }: { children: ReactNode; tab: string }) => {
|
||||
<div className="mb-6 rounded-md bg-red-50 p-6">
|
||||
{status === 'verification-link-sent' ? (
|
||||
<p className="mb-4 text-center text-sm font-medium text-green-600">
|
||||
A new verification link has been sent to the email address you provided during registration.
|
||||
Ein neuer Verifizierungslink wurde an die bei der Registrierung angegebene E-Mail-Adresse gesendet.
|
||||
</p>
|
||||
) : (
|
||||
<p className="mb-4 text-center text-sm font-medium text-red-500">
|
||||
Your email is not verified yet. Please verify your email address by clicking on the link we just emailed to you.
|
||||
Ihre E-Mail-Adresse ist noch nicht verifiziert. Bitte bestätigen Sie Ihre E-Mail-Adresse, indem Sie auf den Link klicken, den wir Ihnen soeben per E-Mail gesendet haben.
|
||||
</p>
|
||||
)}
|
||||
|
||||
<form onSubmit={submit} className="flex items-center justify-center gap-4 text-center">
|
||||
<Button disabled={processing} variant="secondary">
|
||||
{processing && <LoaderCircle className="h-4 w-4 animate-spin" />}
|
||||
Resend verification email
|
||||
Verifizierungs-E-Mail erneut senden
|
||||
</Button>
|
||||
|
||||
<Link href={route('logout')} method="post">
|
||||
<Button>Log out</Button>
|
||||
<Button>Abmelden</Button>
|
||||
</Link>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user