- Added `useRateLimit` hook - Integrated hook into `Contact.tsx` - Added translations for rate limit error - Added unit tests - Fixed type error in `Button.tsx` to allow build to pass
119 lines
3.5 KiB
TypeScript
119 lines
3.5 KiB
TypeScript
import type { Translations } from './de';
|
|
|
|
export const en: Translations = {
|
|
// Navigation
|
|
nav: {
|
|
home: 'Home',
|
|
about: 'About',
|
|
contact: 'Contact',
|
|
},
|
|
|
|
// Hero Section
|
|
hero: {
|
|
greeting: 'Welcome to',
|
|
company: 'Ragusa IT-Consulting',
|
|
tagline: 'Your partner for',
|
|
rotatingWords: ['Web Development', 'IT Support', 'Digital Solutions', 'Tech Consulting'],
|
|
cta: 'Start Project',
|
|
ctaSecondary: 'Learn More',
|
|
scroll: 'Scroll',
|
|
},
|
|
|
|
// Services
|
|
services: {
|
|
title: 'Our Services',
|
|
subtitle: 'Professional IT solutions for your business',
|
|
items: [
|
|
{
|
|
title: 'Web Development',
|
|
description: 'Modern, responsive websites and web applications built with React, TypeScript, and cutting-edge technologies.',
|
|
icon: 'code',
|
|
},
|
|
{
|
|
title: 'Tech Support',
|
|
description: 'Fast and reliable technical support for hardware and software, available on-site.',
|
|
icon: 'support',
|
|
},
|
|
{
|
|
title: 'IT Consulting',
|
|
description: 'Strategic consulting for your IT infrastructure and digital transformation.',
|
|
icon: 'consulting',
|
|
},
|
|
{
|
|
title: 'Hosting & Maintenance',
|
|
description: 'Reliable web hosting, regular updates, and proactive maintenance of your systems.',
|
|
icon: 'hosting',
|
|
},
|
|
],
|
|
},
|
|
|
|
// About
|
|
about: {
|
|
title: 'About Us',
|
|
subtitle: 'Your local IT partner',
|
|
intro: 'Ragusa IT-Consulting provides professional IT services with a personal touch. We combine technical expertise with a deep understanding of our clients\' needs.',
|
|
experience: 'With years of experience in web development and IT consulting, we help businesses and individuals overcome their technical challenges.',
|
|
skills: {
|
|
title: 'Technologies',
|
|
subtitle: 'Modern tools for modern solutions',
|
|
},
|
|
values: {
|
|
title: 'Why Ragusa IT?',
|
|
items: [
|
|
{
|
|
title: 'Personal Service',
|
|
description: 'Direct point of contact for all your IT needs.',
|
|
},
|
|
{
|
|
title: 'Local Presence',
|
|
description: 'On-site support and in-person consultations.',
|
|
},
|
|
{
|
|
title: 'Fair Pricing',
|
|
description: 'Transparent pricing with no hidden costs.',
|
|
},
|
|
{
|
|
title: 'Quick Response',
|
|
description: 'Short response times for inquiries and issues.',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
|
|
// Contact
|
|
contact: {
|
|
title: 'Contact',
|
|
subtitle: 'Let\'s work together',
|
|
intro: 'Have a project in mind or need technical support? I look forward to hearing from you!',
|
|
form: {
|
|
name: 'Name',
|
|
namePlaceholder: 'Your name',
|
|
email: 'Email',
|
|
emailPlaceholder: 'your@email.com',
|
|
subject: 'Subject',
|
|
subjectPlaceholder: 'What is it about?',
|
|
message: 'Message',
|
|
messagePlaceholder: 'Your message...',
|
|
submit: 'Send Message',
|
|
sending: 'Sending...',
|
|
success: 'Message sent successfully! I\'ll get back to you soon.',
|
|
error: 'Error sending message. Please try again or contact me directly.',
|
|
rateLimit: 'Too many requests. Please wait a moment.',
|
|
},
|
|
info: {
|
|
title: 'Contact Info',
|
|
email: 'Email',
|
|
location: 'Location',
|
|
github: 'GitHub',
|
|
},
|
|
},
|
|
|
|
// Footer
|
|
footer: {
|
|
copyright: '© {year} Ragusa IT-Consulting. All rights reserved.',
|
|
madeIn: 'Made in Germany with',
|
|
love: 'love',
|
|
impressum: 'Imprint',
|
|
},
|
|
};
|