mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
8a95a41100
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com> Co-authored-by: NarayanBavisetti <narayan3119@gmail.com> Co-authored-by: Bavisetti Narayan <narayan@Bavisettis-MacBook-Pro.local> Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Co-authored-by: M. Palanikannan <73993394+Palanikannan1437@users.noreply.github.com> Co-authored-by: Lakhan Baheti <94619783+1akhanBaheti@users.noreply.github.com> Co-authored-by: Dakshesh Jain <65905942+dakshesh14@users.noreply.github.com> Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
31 lines
1.3 KiB
TypeScript
31 lines
1.3 KiB
TypeScript
import Link from "next/link";
|
|
import Image from "next/image";
|
|
|
|
// mobx
|
|
import { observer } from "mobx-react-lite";
|
|
// components
|
|
import IssueNavbar from "components/issues/navbar";
|
|
|
|
const ProjectLayout = ({ children }: { children: React.ReactNode }) => (
|
|
<div className="relative w-screen min-h-[500px] h-screen overflow-hidden flex flex-col">
|
|
<div className="flex-shrink-0 h-[60px] border-b border-custom-border-300 relative flex items-center bg-custom-sidebar-background-100 select-none">
|
|
<IssueNavbar />
|
|
</div>
|
|
<div className="w-full h-full relative bg-custom-background-90 overflow-hidden">{children}</div>
|
|
<div className="absolute z-[99999] bottom-[10px] right-[10px] bg-custom-background-100 rounded-sm shadow-lg border border-custom-border-300">
|
|
<Link href="https://plane.so">
|
|
<a className="p-1 px-2 flex items-center gap-1" target="_blank">
|
|
<div className="w-[24px] h-[24px] relative flex justify-center items-center">
|
|
<Image src="/plane-logo.webp" alt="plane logo" className="w-[24px] h-[24px]" height="24" width="24" />
|
|
</div>
|
|
<div className="text-xs">
|
|
Powered by <b>Plane Deploy</b>
|
|
</div>
|
|
</a>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
|
|
export default observer(ProjectLayout);
|