- Replace Vite + React Router with Next.js 15 App Router - Implement i18n with next-intl (URL-based: /de, /en, /sr) - Add SSR/SSG for all pages (48 static pages generated) - Setup Supabase SSR client for auth - Migrate all pages: Home, About, Portfolio, Blog, Contact, Login, Dashboard, Imprint, Privacy, Terms - Add Docker support with standalone output - Replace i18next with next-intl JSON translations - Use next/image for optimized images Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
55 lines
1.4 KiB
TypeScript
55 lines
1.4 KiB
TypeScript
// src/i18n/locales/en/pages/login.ts
|
|
export const login = {
|
|
// SEO
|
|
seo: {
|
|
title: 'Login',
|
|
description: 'Sign in to access the dashboard'
|
|
},
|
|
// Main heading
|
|
header: {
|
|
title: 'Sign in to Dashboard'
|
|
},
|
|
// Form
|
|
form: {
|
|
// Fields
|
|
email: {
|
|
label: 'Email Address',
|
|
placeholder: 'your.email@example.com'
|
|
},
|
|
password: {
|
|
label: 'Password',
|
|
placeholder: 'Your password'
|
|
},
|
|
// Buttons
|
|
submit: {
|
|
default: 'Sign In',
|
|
loading: 'Signing in...'
|
|
},
|
|
// Error messages
|
|
errors: {
|
|
default: 'An error has occurred',
|
|
invalidCredentials: 'Invalid credentials',
|
|
emailRequired: 'Please enter your email address',
|
|
passwordRequired: 'Please enter your password',
|
|
emailInvalid: 'Please enter a valid email address'
|
|
}
|
|
},
|
|
// Links and help
|
|
help: {
|
|
forgotPassword: 'Forgot Password?',
|
|
needHelp: 'Need Help?',
|
|
contactSupport: 'Contact Support'
|
|
},
|
|
// Status messages
|
|
status: {
|
|
authenticating: 'Authenticating...',
|
|
success: 'Successfully signed in',
|
|
redirecting: 'Redirecting to dashboard...'
|
|
},
|
|
// Security notices
|
|
security: {
|
|
secureConnection: 'Secure Connection',
|
|
privacyNote: 'Your data is transmitted encrypted'
|
|
}
|
|
};
|