diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts
index c4f4dc7..f4817e5 100644
--- a/src/app/app-routing.module.ts
+++ b/src/app/app-routing.module.ts
@@ -13,6 +13,10 @@ const routes: Routes = [
path: 'tabs',
loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule)
},
+ {
+ path: 'tabsUser',
+ loadChildren: () => import('./tabs-user/tabs-user.module').then(m => m.TabsUserPageModule)
+ },
{
path: 'view-evento',
loadChildren: () => import('./view-evento/view-evento.module').then( m => m.ViewEventoPageModule)
@@ -26,6 +30,11 @@ const routes: Routes = [
redirectTo: 'login',
pathMatch: 'full'
},
+ {
+ path: 'tabs-user',
+ loadChildren: () => import('./tabs-user/tabs-user.module').then( m => m.TabsUserPageModule)
+ },
+
diff --git a/src/app/services/feed.service.ts b/src/app/services/feed.service.ts
index 980b787..a8f6909 100644
--- a/src/app/services/feed.service.ts
+++ b/src/app/services/feed.service.ts
@@ -16,7 +16,7 @@ export class FeedService {
this.apiService.getEventos()
.subscribe(eventos => {
this.eventos = eventos;
-
+ this.router.navigate(['/tabsUser'])
})
}
}
diff --git a/src/app/tabs-user/tabs-user-routing.module.ts b/src/app/tabs-user/tabs-user-routing.module.ts
new file mode 100644
index 0000000..56547a8
--- /dev/null
+++ b/src/app/tabs-user/tabs-user-routing.module.ts
@@ -0,0 +1,34 @@
+import { FullscreenOverlayContainer } from '@angular/cdk/overlay';
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+import { TabsUserPage } from './tabs-user.page';
+
+const routes: Routes = [
+ {
+ path: '',
+ component: TabsUserPage,
+ children: [
+ {
+ path: 'tab2',
+ loadChildren: ()=> import('../tab2/tab2.module').then(m=>m.Tab2PageModule),
+ },
+
+ {
+ path: 'tab3',
+ loadChildren: ()=> import('../tab3/tab3.module').then(m=>m.Tab3PageModule),
+ },
+
+ {
+ path:'',
+ redirectTo: 'tab2',
+ pathMatch: 'full'
+ }
+ ]
+ }
+];
+
+@NgModule({
+ imports: [RouterModule.forChild(routes)],
+ exports: [RouterModule],
+})
+export class TabsUserPageRoutingModule {}
diff --git a/src/app/tabs-user/tabs-user.module.ts b/src/app/tabs-user/tabs-user.module.ts
new file mode 100644
index 0000000..623ac6d
--- /dev/null
+++ b/src/app/tabs-user/tabs-user.module.ts
@@ -0,0 +1,20 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+import { FormsModule } from '@angular/forms';
+
+import { IonicModule } from '@ionic/angular';
+
+import { TabsUserPageRoutingModule } from './tabs-user-routing.module';
+
+import { TabsUserPage } from './tabs-user.page';
+
+@NgModule({
+ imports: [
+ CommonModule,
+ FormsModule,
+ IonicModule,
+ TabsUserPageRoutingModule
+ ],
+ declarations: [TabsUserPage]
+})
+export class TabsUserPageModule {}
diff --git a/src/app/tabs-user/tabs-user.page.html b/src/app/tabs-user/tabs-user.page.html
new file mode 100644
index 0000000..b0982d7
--- /dev/null
+++ b/src/app/tabs-user/tabs-user.page.html
@@ -0,0 +1,17 @@
+
+
+
+
+
+ Feed
+
+
+
+
+ Me
+
+
+
+
+
+
diff --git a/src/app/tabs-user/tabs-user.page.scss b/src/app/tabs-user/tabs-user.page.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/app/tabs-user/tabs-user.page.spec.ts b/src/app/tabs-user/tabs-user.page.spec.ts
new file mode 100644
index 0000000..606c6ed
--- /dev/null
+++ b/src/app/tabs-user/tabs-user.page.spec.ts
@@ -0,0 +1,24 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { IonicModule } from '@ionic/angular';
+
+import { TabsUserPage } from './tabs-user.page';
+
+describe('TabsUserPage', () => {
+ let component: TabsUserPage;
+ let fixture: ComponentFixture;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ TabsUserPage ],
+ imports: [IonicModule.forRoot()]
+ }).compileComponents();
+
+ fixture = TestBed.createComponent(TabsUserPage);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ }));
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/tabs-user/tabs-user.page.ts b/src/app/tabs-user/tabs-user.page.ts
new file mode 100644
index 0000000..4829034
--- /dev/null
+++ b/src/app/tabs-user/tabs-user.page.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-tabs-user',
+ templateUrl: './tabs-user.page.html',
+ styleUrls: ['./tabs-user.page.scss'],
+})
+export class TabsUserPage implements OnInit {
+
+ constructor() { }
+
+ ngOnInit() {
+ }
+
+}
diff --git a/src/app/tabs/tabs-routing.module.ts b/src/app/tabs/tabs-routing.module.ts
index 90830aa..3e9d0dc 100644
--- a/src/app/tabs/tabs-routing.module.ts
+++ b/src/app/tabs/tabs-routing.module.ts
@@ -11,14 +11,7 @@ const routes: Routes = [
path: 'tab1',
loadChildren: () => import('../tab1/tab1.module').then(m => m.Tab1PageModule),
},
- {
- path: 'tab2',
- loadChildren: () => import('../tab2/tab2.module').then(m => m.Tab2PageModule)
- },
- {
- path: 'tab3',
- loadChildren: () => import('../tab3/tab3.module').then(m => m.Tab3PageModule)
- },
+
{
path: '',
redirectTo: 'tab1',
diff --git a/src/app/tabs/tabs.page.html b/src/app/tabs/tabs.page.html
index 0995c40..53cf3e9 100644
--- a/src/app/tabs/tabs.page.html
+++ b/src/app/tabs/tabs.page.html
@@ -2,19 +2,11 @@
-
- Tab 1
+
+ Perfil
-
-
- Tab 2
-
-
-
- Tab 3
-