initial commit

This commit is contained in:
2025-08-13 14:23:48 +01:00
commit 92e3617335
44 changed files with 2936 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import React from "react";
import clsx from "clsx";
type CardProps = {
children: React.ReactNode;
className?: string;
};
const Card = ({ children, className }: CardProps) => {
return (
<div
className={clsx(
"bg-[#253445] rounded-lg mt-6 mx-4 px-4 py-4 shadow-2xl overflow-y-auto md:row-span-1",
className
)}
>
{children}
</div>
);
};
export default Card;

View File

@@ -0,0 +1,15 @@
import Header from "./Header";
import Footer from "./Footer";
import { Outlet } from "react-router";
const Container = () => {
return (
<div>
<Header />
<Outlet />
<Footer />
</div>
);
};
export default Container;

View File

@@ -0,0 +1,14 @@
import Logo from "/MAV.svg";
const Footer = () => {
return (
<footer className="bg-gray-900 border-t border-gray-700 text-white py-5 text-left p-8 h-30 mt-5 flex flex-col space-y-4">
<img src={Logo} alt="Logo" width={100} height={100} />
<p className="text-sm">
{new Date().getFullYear()} MAV Systems &copy; All rights reserved.
</p>
</footer>
);
};
export default Footer;

View File

@@ -0,0 +1,16 @@
import { Link } from "react-router";
import Logo from "/MAV.svg";
const Header = () => {
return (
<div className="relative bg-[#253445] border-b border-gray-500 items-center mx-auto px-2 sm:px-6 lg:px-8 p-4">
<div className="w-30">
<Link to={"/"}>
<img src={Logo} alt="Logo" width={100} height={100} />
</Link>
</div>
</div>
);
};
export default Header;