Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance viewport configuration management in layout.tsx
- Add `Viewport` type to the metadata and define a `viewport` object with properties for `width` and `initialScale`. This structured approach facilitates the centralized management of viewport settings, which were previously hardcoded in the HTML. - Remove the static HTML viewport meta tag from the `<head>` section and prepare for dynamic insertion based on the TypeScript configuration. This adjustment allows for more flexible management of viewport settings directly from TypeScript, enhancing maintainability and consistency across different parts of the application. These changes improve the application's scalability and maintainability by centralizing configuration management within TypeScript, allowing easier updates and consistency.
- Loading branch information