|
@@ -9,16 +9,22 @@ import { Router } from '@angular/router';
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
@Component({
|
|
|
- selector: 'app-your-component',
|
|
|
- templateUrl: './your-component.component.html',
|
|
|
+ selector: 'app-tab1',
|
|
|
+ templateUrl: 'tab1.page.html',
|
|
|
+ styleUrls: ['tab1.page.scss'],
|
|
|
+ standalone: true,
|
|
|
+ imports: [IonHeader, IonToolbar, IonTitle, IonContent, ExploreContainerComponent,
|
|
|
+ IonButton, IonGrid, IonRow, IonCol, IonCard, IonItem, IonLabel,IonSearchbar ,IonButtons, IonImg,
|
|
|
+IonIcon,IonCardContent,IonCardHeader,IonCardTitle
|
|
|
+ ],
|
|
|
})
|
|
|
-export class YourComponent {
|
|
|
-
|
|
|
- constructor(private router: Router) {}
|
|
|
+export class Tab1Page {
|
|
|
+ constructor(private router: Router) {}
|
|
|
|
|
|
navigateToInquiry() {
|
|
|
- this.router.navigate(['/inquiry']);
|
|
|
+ this.router.navigate(['/tabs/inquiry']);
|
|
|
}
|
|
|
|
|
|
navigateToHealthManagement() {
|
|
@@ -36,21 +42,6 @@ export class YourComponent {
|
|
|
navigateToAbout() {
|
|
|
this.router.navigate(['/about']);
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
|
|
|
-
|
|
|
-@Component({
|
|
|
- selector: 'app-tab1',
|
|
|
- templateUrl: 'tab1.page.html',
|
|
|
- styleUrls: ['tab1.page.scss'],
|
|
|
- standalone: true,
|
|
|
- imports: [IonHeader, IonToolbar, IonTitle, IonContent, ExploreContainerComponent,
|
|
|
- IonButton, IonGrid, IonRow, IonCol, IonCard, IonItem, IonLabel,IonSearchbar ,IonButtons, IonImg,
|
|
|
-IonIcon,IonCardContent,IonCardHeader,IonCardTitle
|
|
|
- ],
|
|
|
-})
|
|
|
-export class Tab1Page {
|
|
|
- constructor() {}
|
|
|
}
|
|
|
|