John-sCC / jcc_frontend

Apache License 2.0
0 stars 0 forks source link

New Dashboard UI, Dark/Light Mode, Home Page #108

Closed aidenhuynh closed 1 month ago

aidenhuynh commented 1 month ago

New dashboard UI

Implemented new UI from wireframe

image

Dashboard color changing

You can change the color of the dashboard cards, but it is not yet stored because we need to think over how to do that (local?)

image

// one at a time, ladies
    if (savedClassData != null) {
        alert(`Please finish editing "${editing}" before editing another class.`)
        return
    }

Light/dark mode in localstorage

I'm not explaining this you got it bro

const body = document.getElementsByTagName("body")[0]

if (DarkMode) {
    body.className = "dark"
    }
else {
    body.className = 'light'
    }