Registry System
Trezoriq uses a registry-driven architecture. Instead of creating static pages for each of the 200+ calculators, you register a tool in the registry, and the dynamic router (`src/app/[pillar]/[category]/[slug]/page.tsx`) handles the rest.
How it works
- Define the tool metadata (slug, title, SEO description, pillar) in `src/tools/registry/[pillar].ts`.
- Run `npm run generate:renderer` to update the component map.
- Run `npm run generate:toolslist` to update the global tools list and sitemaps.
- The dynamic router loads the correct `Component` based on the slug.
No Static Pages
Never manually create a folder like `src/app/grow/investments/sip-calculator/page.tsx`. Always use the registry.
