diff --git a/.nvmrc b/.nvmrc index 4377937..5a60199 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v22.13.1 \ No newline at end of file +v22.16.0 \ No newline at end of file diff --git a/docs/.vuepress/config/meta.ts b/docs/.vuepress/config/meta.ts index 90c17cc..396076e 100644 --- a/docs/.vuepress/config/meta.ts +++ b/docs/.vuepress/config/meta.ts @@ -5,6 +5,16 @@ export default { description: 'IT4C.dev stellt das IT Team for Change, seine angewandte Philosophie und Projekte vor.', head: [ - ['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1' }], + [ + 'meta', + { + name: 'viewport', + content: + 'width=device-width,initial-scale=1,viewport-fit=cover,user-scalable=no,shrink-to-fit=no', + }, + ], + ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }], + ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' }], + ['meta', { name: 'format-detection', content: 'telephone=no' }], ] as HeadConfig[], } diff --git a/docs/.vuepress/layouts/BlankLayout.vue b/docs/.vuepress/layouts/BlankLayout.vue index d24fa25..1761120 100644 --- a/docs/.vuepress/layouts/BlankLayout.vue +++ b/docs/.vuepress/layouts/BlankLayout.vue @@ -79,4 +79,54 @@ export default { padding: 0 1rem; } } + +/* iOS Safari specific global fixes */ +@supports (-webkit-touch-callout: none) { + html { + /* Fix for iOS Safari viewport height issues */ + height: -webkit-fill-available; + } + + body { + /* Fix for iOS Safari bounce scrolling */ + -webkit-overflow-scrolling: touch; + /* Prevent zoom on input focus */ + -webkit-text-size-adjust: 100%; + /* Fix for iOS Safari height issues */ + min-height: -webkit-fill-available; + } + + /* Fix for iOS Safari input zoom */ + input, + textarea, + select { + font-size: 16px !important; + -webkit-appearance: none; + border-radius: 0; + } + + /* Fix for iOS Safari button styling */ + button, + .hero-button { + -webkit-appearance: none; + -webkit-tap-highlight-color: transparent; + border-radius: 0; + } +} + +/* Additional responsive fixes for older iOS versions */ +@media screen and (max-width: 768px) { + /* Fix for older iOS Safari transform issues */ + .hero-section img { + -webkit-transform: translateZ(0); + transform: translateZ(0); + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + } + + /* Prevent horizontal scrolling on older iOS */ + body { + overflow-x: hidden; + } +} diff --git a/docs/.vuepress/public/images/hero-bg-desktop.webp b/docs/.vuepress/public/images/hero-bg-desktop.webp new file mode 100644 index 0000000..841f16d Binary files /dev/null and b/docs/.vuepress/public/images/hero-bg-desktop.webp differ diff --git a/docs/.vuepress/public/images/hero-bg-mobile.webp b/docs/.vuepress/public/images/hero-bg-mobile.webp new file mode 100644 index 0000000..57d960f Binary files /dev/null and b/docs/.vuepress/public/images/hero-bg-mobile.webp differ diff --git a/docs/index.md b/docs/index.md index c21dfa1..6f8a23e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,44 +2,47 @@ layout: BlankLayout --- -
+
- + -
+ +
- Technologie für den gesellschaftlichen Wandel + + + Technologie für den gesellschaftlichen Wandel +
-
+
-
+
-
-
+