Closed danmaninc closed 8 months ago
There is duplicating code of sidebar in application. https://github.com/one-zero-eight/InNoHassle-Website/blob/f1ce6f8304ebac3fb2f264a3aa6c682a41bf4a84/components/layout/Sidebar.tsx#L112-L178 https://github.com/one-zero-eight/InNoHassle-Website/blob/f1ce6f8304ebac3fb2f264a3aa6c682a41bf4a84/components/layout/Sidebar.tsx#L180-L229
To improve overall performance and reduce the size of html page, it would be very good to put everything in one aside element.
It would be great to refactor the sidebar code. I believe that construction from scratch is the best way in this situation.
No response
Bug description
There is duplicating code of sidebar in application. https://github.com/one-zero-eight/InNoHassle-Website/blob/f1ce6f8304ebac3fb2f264a3aa6c682a41bf4a84/components/layout/Sidebar.tsx#L112-L178 https://github.com/one-zero-eight/InNoHassle-Website/blob/f1ce6f8304ebac3fb2f264a3aa6c682a41bf4a84/components/layout/Sidebar.tsx#L180-L229
To improve overall performance and reduce the size of html page, it would be very good to put everything in one aside element.
Suggested solution
It would be great to refactor the sidebar code. I believe that construction from scratch is the best way in this situation.
Additional context
No response