progress on webpage

This commit is contained in:
2023-05-22 08:43:22 +02:00
parent e621cc7a7c
commit 7872038aaf
22 changed files with 44 additions and 81 deletions

View File

@@ -0,0 +1,6 @@
let preferredLang = navigator.languages.includes( 'de', 'de-CH' ) ? 'de' : 'en';
console.log( preferredLang );
function switchLanguage ( lang ) {
window.location.pathname
}