0225273 4 mesiacov pred
rodič
commit
465a89f981

+ 1 - 0
src/app/tab1/tab1.page.html

@@ -242,6 +242,7 @@
       </ion-label>
     </ion-item>
   </ion-list>
+  
 </ion-content>
 
 

+ 6 - 23
src/app/tab1/tab1.page.scss

@@ -1,26 +1,14 @@
 ion-card {
   margin: 10px;
-  padding: 10px;
+  padding: 15px;
   border-radius: 10px;
-  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 }
 
 ion-card-header {
-  font-weight: bold;
-  font-size: large;
-}
-
-ion-card-content {
-  ion-grid {
-    ion-row {
-      ion-col {
-        ion-card {
-          margin-bottom: 10px;
-          border-radius: 8px;
-          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
-        }
-      }
-    }
+  ion-card-title {
+    font-size: 1.2em;
+    font-weight: bold;
   }
 }
 
@@ -30,18 +18,13 @@ ion-thumbnail {
   border-radius: 50%;
 }
 
-ion-label {
-  display: block;
-  margin-left: 10px;
-}
-
 h2 {
   font-size: 1.2em;
   margin-bottom: 5px;
 }
 
 p {
-  font-size: 0.8em;
+  font-size: 0.9em;
   color: #777;
   margin-bottom: 3px;
 }

+ 4 - 0
src/app/tab1/tab1.page.ts

@@ -8,6 +8,10 @@ import { Component } from '@angular/core';
 export class Tab1Page {
   selectedSegment: string = 'company';
 
+  activeTab:string = 'explore';
+  changeTab(event:any){
+    this.activeTab = event.detail.value
+  }
 
   constructor() {}