- The clip button and modal are "edit hook" (was "viral hook"), and the submit says "update hook" when the clip already has one. - Typeface picker: Montserrat, Anton, Serif, all bundled so the server render (hooks.HOOK_FONTS, /api/hook `font`) and the Remotion preview (HOOK_FONTS in remotion/lib/fonts.ts) use the same file and size. Unset keeps each style's own typeface, so existing styles render as before. - The preview box is a true 9:16 (it was taller than the video, so the hook sat off where it lands); style swatches are larger, drawn in the real typeface, and "Pills" shows pills. - Entrance options are hidden when they cannot apply (server re-render) instead of shown greyed out. - Autopilot: skipped videos can be clipped again by hand (private videos used to be misread as Shorts). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| seo | ||
| src | ||
| tools | ||
| .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.