Update homepage to a modern German under construction page
Test and Deploy Website / test-and-deploy (push) Successful in 40s

This commit is contained in:
2026-06-15 14:27:15 +02:00
parent f0b4f42cb1
commit 71cd0c3a95
3 changed files with 80 additions and 101 deletions
+7 -1
View File
@@ -4,7 +4,13 @@ function validateEmail(email) {
}
function formatGreeting(timeOfDay, name) {
return `Good ${timeOfDay}, welcome to ${name}'s portfolio!`;
const greetings = {
morning: 'Guten Morgen',
afternoon: 'Guten Tag',
evening: 'Guten Abend'
};
const greeting = greetings[timeOfDay] || 'Herzlich willkommen';
return `${greeting}, herzlich willkommen auf der Webseite von ${name}!`;
}
if (typeof module !== 'undefined' && module.exports) {