ASU-CodeDevils / codedevils.org

The Official CodeDevils website frontend codebase written using Next.js, React, TypeScript, and Tailwind CSS
https://www.codedevils.org
9 stars 2 forks source link

Focus on mobile first #34

Closed jtmichelson closed 1 year ago

jtmichelson commented 1 year ago

According to a study in 2019 (and it has only grown since) ~63% or US internet traffic is mobile: https://research.com/software/mobile-vs-desktop-usage

It looks like we default to desktop in appContext and also are prioritizing desktop issues over mobile. https://github.com/ASU-CodeDevils/codedevils/blob/56a77d9929c2133716ea311af891197aab129987/src/contexts/AppContext.jsx#L7

We should always focus on mobile first since that will be the large majority of usage on the site.

fernandonevarez commented 1 year ago

Yeah, that's true. I just default to false values on Boolean states. But I'm going to be refactoring the whole navbar to use CSS media queries instead, as that's best practice.