loolabs / waterpark

Waterloo's social park
http://waterpark.loo-labs.vercel.app
ISC License
4 stars 0 forks source link

💻 Refactor and simplify EventViewToggle.tsx #117

Closed evtyz closed 3 years ago

evtyz commented 3 years ago

Screenshots

Before:

desktop tablet phone

After:

desktopafter tabletafter phoneafter

Purpose

Refactor code for readability and performance. Objective: preserve functions and visuals while conforming better to front-end standards.

Approach

Remove redundant code and re-implement it in a more concise and readable way. Example: removing nested containers, replacing spacing components with CSS.

Testing

Visual inspection on before & after screenshots. Responsiveness on three different viewport sizes tested as well.

https://github.com/loolabs/waterpark/issues/115

vercel[bot] commented 3 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/loo-labs/waterpark/EiipXwpVzxe5kjgU5Cx2MWQ8jLzY
✅ Preview: https://waterpark-git-115-refactor-eventviewtoggle-loo-labs.vercel.app