From 5beac21d51c65dda9ccee55c8bf0a5d285badd75 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 24 Oct 2025 14:21:18 +0000 Subject: [PATCH] Fix: Update banner and anonymous signing --- src/components/PetitionForm.tsx | 37 +++++++++++++-------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/src/components/PetitionForm.tsx b/src/components/PetitionForm.tsx index 40d2baf..bf99485 100644 --- a/src/components/PetitionForm.tsx +++ b/src/components/PetitionForm.tsx @@ -2,6 +2,8 @@ import { useState } from "react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Textarea } from "@/components/ui/textarea"; +import { Checkbox } from "@/components/ui/checkbox"; +import { Label } from "@/components/ui/label"; import { toast } from "sonner"; import { supabase } from "@/integrations/supabase/client"; import { z } from "zod"; @@ -72,28 +74,19 @@ export const PetitionForm = ({ compact = false }: PetitionFormProps) => { return (
- {!compact && ( -
- - -
- )} +
+ setIsAnonymous(checked as boolean)} + /> + +
{!isAnonymous && (