diff --git a/01-frontend/src/helper/navbar/NavBar.tsx b/01-frontend/src/helper/navbar/NavBar.tsx index fe2a70d..fc6f05c 100644 --- a/01-frontend/src/helper/navbar/NavBar.tsx +++ b/01-frontend/src/helper/navbar/NavBar.tsx @@ -121,6 +121,7 @@ export default function NavBar() { ), }} + /> )} /> diff --git a/01-frontend/src/pages/Home.tsx b/01-frontend/src/pages/Home.tsx index 46d13a1..1b7e6b2 100644 --- a/01-frontend/src/pages/Home.tsx +++ b/01-frontend/src/pages/Home.tsx @@ -1,4 +1,4 @@ -import { Box, Typography } from "@mui/material"; +import { Alert, Box } from "@mui/material"; import { useQuery } from "@tanstack/react-query"; import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { useTranslation } from "react-i18next"; @@ -215,19 +215,13 @@ export default function Home() {
{visibleItems.length === 0 ? ( -

{t('noItemsFound')}

+ {t('noItemsFound')} ) : ( visibleItems.map((item) => ( )) )}
- - {/* Loader für Intersection Observer */} -
- Im Moment keine Items verfpgbar - -
); diff --git a/01-frontend/src/pages/pages.css b/01-frontend/src/pages/pages.css index b18ccf2..054437d 100644 --- a/01-frontend/src/pages/pages.css +++ b/01-frontend/src/pages/pages.css @@ -149,5 +149,7 @@ .no-results { text-align: center; font-size: 1rem; - color: var(--text-color); + min-width: 600px; + background-color: grey; + color: primary; }