-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MellowList #441
base: master
Are you sure you want to change the base?
MellowList #441
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work Carol! It fulfills all requirements of blue level, and beyond. Be proud! I like the design and nice addition with the playlist on top, I liked that alot.
} | ||
|
||
const getDueDate = (date) => { | ||
switch (date) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice use case of switch / case
|
||
import { createSlice } from '@reduxjs/toolkit'; | ||
|
||
export const playlist = createSlice({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting way to store the Spotify link, any reason why you did it like this? Want to add more playlists?
import { createSlice } from '@reduxjs/toolkit'; | ||
|
||
const getInitialState = () => { | ||
const projectsFromLocalStorage = JSON.parse(localStorage.getItem('projectsList')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice implementation of localStorage
<meta property="og:title" content="MellowList" /> | ||
<meta property="og:description" content="Get in the zone and conquer your to-do list" /> | ||
<meta property="og:url" content="https://peppy-stroopwafel-0a74de.netlify.app/" /> | ||
<meta property="og:type" content="website" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great that you added meta data :D
|
||
return ( | ||
<PlaylistContainer> | ||
<span>{name}</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to add css rule to display: none on smaller screen-sizes for a more clean look
https://peppy-stroopwafel-0a74de.netlify.app/