curaOS / source

Start a solid foundation of tools for creators+builders.
https://cura.run
15 stars 13 forks source link

Frontend | removing repetitive code #172

Closed sekaiking closed 2 years ago

sekaiking commented 2 years ago

Currently, all projects frontend have the same layout but it's reptetively written on each page.

The goal from this PR is to have the layout of the same pages type defined in just one place, and we would have to pass only important data from the page to the layout.

So for example instead of having to edit pages/*/create.tsx for each project, we would have to edit just Layouts/Create.tsx.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/curaos/frontend/FY2fHU1xWfg6NTLefHaAsdDF71ek
✅ Preview: https://frontend-git-frontendchange-curaos.vercel.app