@@ -3,19 +3,15 @@ import { CommonModule } from '@angular/common';
33import { FormsModule } from '@angular/forms' ;
44import { NumberInputComponent } from '../../shared/number-input/number-input.component' ;
55import { VersionBadgeComponent } from '../../shared/version-badge/version-badge.component' ;
6+ import { FormSectionComponent } from '../../shared/form-section/form-section.component' ;
67import { createFormHelper } from '../../../utils/form-helpers' ;
78import { KittyVersionService } from '../../../services/kitty-version.service' ;
89
910@Component ( {
1011 selector : 'app-advanced-form' ,
11- imports : [ CommonModule , FormsModule , NumberInputComponent , VersionBadgeComponent ] ,
12+ imports : [ CommonModule , FormsModule , NumberInputComponent , VersionBadgeComponent , FormSectionComponent ] ,
1213 template : `
13- <div class="space-y-6">
14- <div>
15- <h2 class="text-2xl font-bold text-kitty-primary mb-2">Advanced</h2>
16- <p class="text-kitty-text-dim">Shell integration, remote control, startup configuration, and system settings</p>
17- </div>
18-
14+ <app-form-section title="Advanced" description="Shell integration, remote control, startup configuration, and system settings">
1915 <div class="bg-kitty-warning/10 border border-kitty-warning/30 rounded-lg p-4">
2016 <p class="text-kitty-warning text-sm">
2117 Settings marked
@@ -317,7 +313,7 @@ import { KittyVersionService } from '../../../services/kitty-version.service';
317313 </div>
318314 }
319315 </div>
320- </div >
316+ </app-form-section >
321317 ` ,
322318 styles : [ ]
323319} )
0 commit comments