blob: 75128c8378770e3b4d1ee867d71e0647566e2e96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import {
FeedbackButton,
FeedbackModal,
} from '@/components/feedback-button/feedback-button'
import { env } from '@/lib/env'
import { PropsWithChildren } from 'react'
export default function GroupsLayout({ children }: PropsWithChildren<{}>) {
return (
<>
<main className="flex-1 max-w-screen-md w-full mx-auto px-4 py-6 flex flex-col gap-6">
{children}
</main>
<FeedbackModal donationUrl={env.STRIPE_DONATION_LINK}>
<FeedbackButton />
</FeedbackModal>
</>
)
}
|