added users pages, stepper

This commit is contained in:
Jelaletdin12
2026-05-10 23:31:01 +05:00
parent 2424093a4f
commit ab7fdf46b3
30 changed files with 4665 additions and 446 deletions

View File

@@ -81,6 +81,7 @@ src/
- Create ve Edit sayfaları (`pages/`) sadece bu component'i çağıran birer **wrapper** olmalıdır.
- Edit sayfası `useParams()` ile URL'den `id` alır, ilgili hook ile veriyi fetch eder ve `initialData` prop'u olarak form'a geçer.
- Validation, form state, submit logic — hepsi shared component içinde tek yerde yönetilir.
- Create ve Edit form lar multiple form ise yani bir cok adimdan olusuyorsa o zaman `src/components/stepBarV2.tsx` componentini kullan. Çünkü orada Progressive Disclosure var. Ama eger sadece bir form ise o zaman `src/components/form.tsx` componentini kullan.
- Örnek yapı:
```
features/[feature]/