| 1 | import { Boundary } from '@/app/_ui/boundary'; |
| 2 | import { TabNavItem } from '@/app/_ui/tab-nav-item'; |
| 3 | import React from 'react'; |
| 4 | |
| 5 | export default function Layout({ children }: { children: React.ReactNode }) { |
| 6 | return ( |
| 7 | <Boundary |
| 8 | labels={['checkout layout']} |
| 9 | color="blue" |
| 10 | animateRerendering={false} |
| 11 | > |
| 12 | <div className="space-y-9"> |
| 13 | <div className="flex items-center justify-between"> |
| 14 | <div className="flex items-center gap-x-4"> |
| 15 | <TabNavItem href="/play">Back</TabNavItem> |
| 16 | </div> |
| 17 | </div> |
| 18 | |
| 19 | <div>{children}</div> |
| 20 | </div> |
| 21 | </Boundary> |
| 22 | ); |
| 23 | } |