@bailierich/booking-components 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -154,14 +154,22 @@ export default function FormRenderer({ form, businessId, onSuccess }: FormRender
154
154
  <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M5 13l4 4L19 7" />
155
155
  </svg>
156
156
  </div>
157
- <h3 className="text-xl font-semibold mb-2" style={{ color: form.settings.styling?.labelColor || '#000000' }}>Success!</h3>
158
- <p style={{ color: form.settings.styling?.textColor || '#000000' }}>{form.settings.successMessage}</p>
159
- <button
160
- onClick={() => setIsSuccess(false)}
161
- className="mt-6 px-4 py-2 bg-gray-900 text-white rounded-lg hover:bg-gray-800 transition-colors"
162
- >
163
- Submit Another Response
164
- </button>
157
+ <h3 className="text-xl font-semibold mb-2" style={{ color: '#1a1a1a' }}>Success!</h3>
158
+ <p style={{ color: '#374151' }}>{form.settings.successMessage}</p>
159
+ <div className="mt-6 flex gap-3 justify-center">
160
+ <button
161
+ onClick={() => window.location.href = '/'}
162
+ className="px-4 py-2 bg-gray-900 text-white rounded-lg hover:bg-gray-800 transition-colors"
163
+ >
164
+ Back to Home
165
+ </button>
166
+ <button
167
+ onClick={() => setIsSuccess(false)}
168
+ className="px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors"
169
+ >
170
+ Submit Another Response
171
+ </button>
172
+ </div>
165
173
  </div>
166
174
  </div>
167
175
  );