Skip to content

Commit

Permalink
feat: add empty company details page
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhall1515 committed Apr 29, 2024
1 parent 7ea5d08 commit 060b3a6
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/(public)/legal/company-details/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import Wrapper from "./wrapper";

export default function Company() {
return (
<>
<Wrapper>
<h1 className="mb-[1.5rem] text-[1.5rem] font-bold leading-[1.3] m:text-[2.5rem]">
Company details
</h1>
</Wrapper>
</>
);
}
25 changes: 25 additions & 0 deletions app/(public)/legal/company-details/wrapper.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { cn } from "@/lib/utils";

export default function Wrapper({ children }: { children: React.ReactNode }) {
return (
<>
<section
className={cn(
"h-full min-h-[40rem] w-full",
"py-8 m:py-16 lg:py-24",
"relative overflow-x-hidden overflow-y-visible"
)}
>
<div
className={cn(
"min-h-[40rem] max-w-[103rem] px-6",
"pxPage mx-auto",
"grid gap-6 py-[7rem]"
)}
>
{children}
</div>
</section>
</>
);
}

0 comments on commit 060b3a6

Please sign in to comment.