feat: add premium 404 and Error pages, and fix hydration/build issues

This commit is contained in:
Erik Silva
2026-01-26 00:17:36 -03:00
parent e4935941fc
commit 1924e88690
4 changed files with 232 additions and 45 deletions

View File

@@ -225,18 +225,14 @@ export default function ScheduleMatchPage() {
))}
</div>
<div className="ui-form-field">
<label className="text-label ml-0.5 mb-2 block">Data Limite de Repetição</label>
<div className="relative group">
<Calendar className="absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted group-focus-within:text-primary transition-colors z-10" />
<input
type="date"
value={recurrenceEndDate}
onChange={(e) => setRecurrenceEndDate(e.target.value)}
className="ui-input w-full pl-10 h-12 [color-scheme:dark] text-sm bg-surface"
min={date ? date.split('T')[0] : undefined}
/>
</div>
<div className="space-y-2">
<DateTimePicker
label="Data Limite de Repetição"
value={recurrenceEndDate}
onChange={setRecurrenceEndDate}
mode="date"
placeholder="Selecione a data limite"
/>
<p className="text-[10px] text-muted mt-2 px-1">
Deixe em branco para repetir indefinidamente (será criado à medida que as peladas forem finalizadas).
</p>