diff --git a/app/comment/page.tsx b/app/comment/page.tsx new file mode 100644 index 000000000..cab430a84 --- /dev/null +++ b/app/comment/page.tsx @@ -0,0 +1,82 @@ +'use client'; + +import React, { useState } from 'react'; +import BoundlessSheet from '@/components/sheet/boundless-sheet'; +import { Button } from '@/components/ui/button'; + +const Page = () => { + const [isSheetOpen, setIsSheetOpen] = useState(false); + + const handleCommentSubmit = (comment: string) => { + // Handle comment submission here + // You can add your logic for processing the comment + // For example: API call, state update, etc. + + // For now, we'll just acknowledge the comment + // This prevents the linter warning about unused parameters + if (comment && comment.trim()) { + // Comment is valid and can be processed + // Add your comment handling logic here + console.log('Comment submitted:', comment); + + // Close the sheet after submission + setIsSheetOpen(false); + } + }; + + return ( +
+ + + +
+
+

Share your thoughts and feedback

+
+ +