drago9773 / mge.tf

0 stars 0 forks source link

Route Splitting and Components #16

Open EternalWill43 opened 2 months ago

EternalWill43 commented 2 months ago

Instead of having a lot of if/else checks inside the actual routes (especially as we add more moderation capabilities), it might be better to move some of the UI into component .ejs files, and import the components into a different view file, i.e., forums.ejs and adding a forums_admin.ejs or something along those lines, and reusing the components between both views.