diff --git a/apps/client/app.json b/apps/client/app.json index 794c7c2..decefc2 100644 --- a/apps/client/app.json +++ b/apps/client/app.json @@ -1,6 +1,6 @@ { "expo": { - "name": "client", + "name": "CMUnify", "slug": "client", "version": "1.0.0", "orientation": "portrait", @@ -33,9 +33,9 @@ "image": "./assets/images/splash-icon.png", "imageWidth": 200, "resizeMode": "contain", - "backgroundColor": "#ffffff", + "backgroundColor": "#FAFAF9", "dark": { - "backgroundColor": "#000000" + "backgroundColor": "#0C0E12" } } ] diff --git a/apps/client/app/+html.tsx b/apps/client/app/+html.tsx new file mode 100644 index 0000000..cf213ab --- /dev/null +++ b/apps/client/app/+html.tsx @@ -0,0 +1,84 @@ +import { ScrollViewStyleReset } from 'expo-router/html'; +import { type PropsWithChildren } from 'react'; + +/** + * Custom HTML shell for the static web export (expo-router +html). + * + * Carries everything the PWA needs: manifest, icons, iOS standalone tags, + * theme-color for both color schemes, safe-area-aware viewport, mobile + * polish CSS (no tap highlight, no overscroll bounce, no iOS text inflation), + * and service-worker registration. + */ +export default function Root({ children }: PropsWithChildren) { + return ( + + + + + CMUnify + + + + {/* PWA */} + + + + + + {/* iOS installed-app behavior */} + + + + + + + + + {/* Mobile polish: paint the root in the right scheme, kill tap + flashes and rubber-band overscroll, respect notches */} +