diff --git a/src/components/common/Header.jsx b/src/components/common/Header.jsx index 8a13539..01bb8b6 100644 --- a/src/components/common/Header.jsx +++ b/src/components/common/Header.jsx @@ -22,9 +22,8 @@ const Header = () => { // State for Dialog visibility const [openConfirmDialog, setOpenConfirmDialog] = useState(false) - // Show back button only on pages other than Home and Streak - const showBackButton = - location.pathname !== '/' && location.pathname !== '/streak' + // Show back button only on pages other than Home + const showBackButton = location.pathname !== '/' // Streak count (There may not have a user logged in) const streakCount = user?.streak?.count || 0 diff --git a/src/styles/StreakPage.css b/src/styles/StreakPage.css index c98d851..7f6a438 100644 --- a/src/styles/StreakPage.css +++ b/src/styles/StreakPage.css @@ -1,3 +1,8 @@ +/* Ensure all calendar dates have the color black */ +.react-calendar__month-view__days__day--weekend { + color: black !important; /* Override weekend color */ + } + /* Custom weekday headers */ .react-calendar__month-view__weekdays__weekday { text-transform: capitalize;