Update homepage to a modern German under construction page
Test and Deploy Website / test-and-deploy (push) Successful in 40s
Test and Deploy Website / test-and-deploy (push) Successful in 40s
This commit is contained in:
+7
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user