activ (blau) für "Übersicht" in Link dashoard und dashboard.html
This commit is contained in:
@@ -164,7 +164,7 @@ function Dashboard() {
|
|||||||
<div className="flex justify-between gap-1">
|
<div className="flex justify-between gap-1">
|
||||||
<Icon
|
<Icon
|
||||||
icon="ri:calendar-schedule-line"
|
icon="ri:calendar-schedule-line"
|
||||||
className="text-blue-500 text-4xl"
|
className="text-littwin-blue text-4xl"
|
||||||
/>
|
/>
|
||||||
<h1 className="text-xl font-bold text-gray-700">
|
<h1 className="text-xl font-bold text-gray-700">
|
||||||
Letzten 20 Meldungen
|
Letzten 20 Meldungen
|
||||||
|
|||||||
@@ -29,7 +29,8 @@ function Navigation() {
|
|||||||
<Link href={item.path} key={item.name}>
|
<Link href={item.path} key={item.name}>
|
||||||
<div
|
<div
|
||||||
className={`block px-4 py-2 mb-4 font-bold whitespace-nowrap transition duration-300 ${
|
className={`block px-4 py-2 mb-4 font-bold whitespace-nowrap transition duration-300 ${
|
||||||
activeLink === item.path
|
activeLink.startsWith(item.path) ||
|
||||||
|
activeLink.startsWith(item.path + ".html")
|
||||||
? "bg-sky-500 text-white rounded-r-full"
|
? "bg-sky-500 text-white rounded-r-full"
|
||||||
: "text-black hover:bg-gray-200 rounded-r-full"
|
: "text-black hover:bg-gray-200 rounded-r-full"
|
||||||
}`}
|
}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user