Files
profi-frontend/src/layouts/MainLayout.tsx

24 lines
937 B
TypeScript
Raw Normal View History

2025-06-02 17:34:08 +03:00
import {Link, Outlet} from "react-router-dom";
import React from "react";
2025-06-03 02:47:37 +03:00
import logoUrl from '../img/logo.svg';
import "./css/MainLayout.css"
2025-06-02 17:34:08 +03:00
export function MainLayout() {
return (
<>
2025-06-03 02:47:37 +03:00
<div className="header container flex-col">
<Link to="/dashboard" className="menu-button self-end">
<svg width="75" height="65" viewBox="0 0 75 65" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="75" height="15" rx="7.5" className={"rect"}/>
<rect y="25" width="75" height="15" rx="7.5" className={"rect"}/>
<rect y="50" width="75" height="15" rx="7.5" className={"rect"}/>
</svg>
</Link>
<img src={logoUrl as string} alt="Logo"/>
2025-06-02 17:34:08 +03:00
</div>
<div className="content">
2025-06-03 02:47:37 +03:00
<Outlet/>
2025-06-02 17:34:08 +03:00
</div>
</>
);
}