From 4e144333c3a441e17a27450a094aa249f27848af Mon Sep 17 00:00:00 2001 From: esemenov Date: Fri, 8 Dec 2023 10:44:32 +0600 Subject: [PATCH] fix: policy template --- src/app/policies/page.tsx | 2 +- src/components/DocsContainer.tsx | 16 ++++++++++++++-- src/components/PolicyCard.tsx | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/app/policies/page.tsx b/src/app/policies/page.tsx index 042b30bb..93efdd65 100644 --- a/src/app/policies/page.tsx +++ b/src/app/policies/page.tsx @@ -14,7 +14,7 @@ export default async function Page() { const policies = await getAllPolicies(); return ( - +

diff --git a/src/components/DocsContainer.tsx b/src/components/DocsContainer.tsx index 2ce13b74..4a8592c6 100644 --- a/src/components/DocsContainer.tsx +++ b/src/components/DocsContainer.tsx @@ -1,8 +1,20 @@ import { PropsWithChildren } from "react"; +import clsx from "classnames"; -export function DocsContainer({ children }: PropsWithChildren) { +export function DocsContainer({ + children, + className, +}: { + children: React.ReactNode; + className?: string; +}) { return ( -

+
{children}
); diff --git a/src/components/PolicyCard.tsx b/src/components/PolicyCard.tsx index 44bfa3c6..25db9bea 100644 --- a/src/components/PolicyCard.tsx +++ b/src/components/PolicyCard.tsx @@ -10,7 +10,7 @@ export const PolicyCard: React.FC = ({ name, href, icon }) => { return (