The dashboard was a desktop layout that merely survived a narrow viewport. The changes below are interface only; no backend behaviour, request shape or data changes. Navigation. Below md the 80px icon rail is gone. It cost a fifth of a 360px screen to show seven unlabelled glyphs. In its place: a bottom tab bar with the four everyday destinations plus "more", and a drawer behind the header's menu button carrying the full list. All three surfaces read one `navItems` array, so they cannot drift. The tab bar is a flex sibling of the scrolling pane rather than a fixed overlay, so no pane needs compensating padding and nothing hides behind it. The header gains the section name the rail used to carry, so a phone still knows where it is. Shell. h-dvh where supported (100vh hides its own bottom bar behind mobile browser chrome), body overflow-x hidden, and safe-area padding for the iOS home indicator via viewport-fit=cover. Touch and legibility. Inputs render at 16px below sm so iOS stops zooming on focus and never zooming back; the shared button pills get a 44px floor on coarse pointers; the 10.5px mono labels come up to 11.5px on phones. Density. The clip-generator hero no longer fills the fold on its own. The log terminal starts collapsed on phones. Result cards cap the 9:16 preview so the title, captions and actions stay on the same screen as the clip. Modals become bottom sheets below sm — a centred dialog with 4px side margins was wasting the only width there was. Banners, the results toolbar and the social nudge stack instead of crushing. Also fixes three <div>-inside-<p> blocks in Settings that the browser was silently tearing apart. |
||
|---|---|---|
| .. | ||
| public | ||
| seo | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| vite-plugin-seo.js | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.