diff --git a/frontend/public/locales/en/translation.json b/frontend/public/locales/en/translation.json index f59e9825..462e271e 100644 --- a/frontend/public/locales/en/translation.json +++ b/frontend/public/locales/en/translation.json @@ -136,10 +136,10 @@ "RUNNING": "Is running", "LATE": "Late", "deadlinesOnDay": "Deadlines on: ", - "noDeadline": "No deadlines", + "noDeadline": "No deadlines on this day", "no_submission_yet" : "No submission yet", "loading": "Loading...", - "no_projects": "There are no projects here." + "no_projects": "There are no projects here, sign up for a course to see projects" }, "projectsOverview": { "past_deadline": "Past Projects", diff --git a/frontend/public/locales/nl/translation.json b/frontend/public/locales/nl/translation.json index 4e1bda1f..a1d0a456 100644 --- a/frontend/public/locales/nl/translation.json +++ b/frontend/public/locales/nl/translation.json @@ -69,10 +69,10 @@ "RUNNING": "Aan het lopen", "LATE": "Te laat", "deadlinesOnDay": "Deadlines op: ", - "noDeadline": "Geen deadlines", + "noDeadline": "Geen deadlines op deze dag", "no_submission_yet" : "Nog geen indiening", "loading": "Laden...", - "no_projects": "Er zijn hier geen projecten." + "no_projects": "Er zijn hier geen projecten, meld je aan voor een vak om projecten te zien" }, "projectForm": { diff --git a/frontend/src/pages/home/HomePage.tsx b/frontend/src/pages/home/HomePage.tsx index e8df53ed..35775325 100644 --- a/frontend/src/pages/home/HomePage.tsx +++ b/frontend/src/pages/home/HomePage.tsx @@ -6,6 +6,7 @@ import { Grid, Container, Badge, + CardHeader, } from "@mui/material"; import { DateCalendar } from "@mui/x-date-pickers/DateCalendar"; import { DayCalendarSkeleton, LocalizationProvider } from "@mui/x-date-pickers"; @@ -148,8 +149,8 @@ export default function HomePage() { + - {t("myProjects")} {futureProjects.length + noDeadlineProject.length > 0 ? ( <> @@ -164,8 +165,8 @@ export default function HomePage() { + - {t("deadlines")} {pastDeadlines.length > 0 ? ( ) : (