Final Commit

This commit is contained in:
root
2025-10-22 13:27:22 +00:00
parent 1f8906bc3d
commit e607310689
6 changed files with 16 additions and 20 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export const routes = [
},
{
icon: <WrenchScrewdriverIcon {...icon} />,
name: "maintenance",
name: "wartung",
path: "/maintenance",
element: <Maintenance />,
},
+9 -13
View File
@@ -2,24 +2,20 @@ import PropTypes from "prop-types";
import { Typography } from "@material-tailwind/react";
import { HeartIcon } from "@heroicons/react/24/solid";
export function Footer({ brandName, brandLink, routes }) {
export function Footer() {
const year = new Date().getFullYear();
return (
<footer className="py-2">
<div className="flex w-full flex-wrap items-center justify-center gap-6 px-2 md:justify-between">
<footer>
<div className="flex w-full flex-wrap items-center justify-center md:justify-between">
<Typography variant="small" className="font-normal text-inherit">
&copy; {year}, made with{" "}
<HeartIcon className="-mt-0.5 inline-block h-3.5 w-3.5 text-red-600" /> by{" "}
<a
href={brandLink}
target="_blank"
className="transition-colors hover:text-blue-500 font-bold"
>
{brandName}
</a>{" "}
for a better web.
StackPulse: &copy; {year} by Michael Böhmländer
</Typography>
<Typography variant="small" className="font-normal text-inherit">
Tailwind Material Dashboard: &copy; {year} made with{" "}
<HeartIcon className="-mt-0.5 inline-block h-3.5 w-3.5 text-red-600" /> by Creative Tim
</Typography>
</div>
</footer>
+2 -2
View File
@@ -24,8 +24,8 @@ export function Sidenav({ brandImg, brandName, routes }) {
className={`${sidenavTypes[sidenavType]} ${openSidenav ? "translate-x-0" : "-translate-x-80"
} fixed inset-0 z-50 my-4 ml-4 h-[calc(100vh-32px)] w-72 rounded-xl transition-transform duration-300 xl:translate-x-0 border border-blue-gray-100`}
>
<div className="relative py-6 px-8">
<img src={logo} alt="StackPulse" className="w-auto" />
<div className="relative py-6 px-8 text-right">
<img src={logo} alt="StackPulse" className="w-auto" /><span className="mt-1 text-xs text-stormGrey-500 block antialiased font-sans">v0.4</span>
<IconButton
variant="text"