feat(FE-114): add Layout and AddRecording components with routing link

This commit is contained in:
rstubryan
2025-10-15 09:29:29 +07:00
parent b1a3796eca
commit 53ee4cdc1b
5 changed files with 31 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import RecordingForm from '@/components/pages/flock/recording/form/RecordingForm';
const AddRecording = () => {
return (
<div className='w-full p-4 flex flex-row justify-center'>
<RecordingForm />
</div>
);
};
export default AddRecording;
+11
View File
@@ -0,0 +1,11 @@
import SuspenseHelper from '@/components/helper/SuspenseHelper';
const Layout = ({
children,
}: Readonly<{
children: React.ReactNode;
}>) => {
return <SuspenseHelper>{children}</SuspenseHelper>;
};
export default Layout;
+9
View File
@@ -0,0 +1,9 @@
import Link from 'next/link';
export default function Page() {
return (
<>
<Link href={'recording/add'}>Recording</Link>
</>
);
}