Browse Source

Modified List Design

Alex Ortiz 1 year ago
parent
commit
bad42eb9e6
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      src/pages/ListBiographies.tsx

+ 7
- 7
src/pages/ListBiographies.tsx View File

@@ -49,8 +49,8 @@ const ListBiographies: React.FC = () => {
49 49
           ListBio && ListBio.map(listbio => {
50 50
             return (
51 51
               <>
52
-                <IonItem routerLink={`/Biographie/${listbio.id}`}>
53
-                  <IonCard>
52
+                <IonCard>
53
+                  <IonItem routerLink={`/Biographie/${listbio.id}`}>
54 54
                     <IonImg style={{ height: 300, width: 600 }} src={RobertoClemente} alt='Logo'></IonImg>
55 55
                     <IonCardHeader>
56 56
                       <IonCardTitle>{listbio.title}</IonCardTitle>
@@ -58,11 +58,11 @@ const ListBiographies: React.FC = () => {
58 58
                     </IonCardHeader><IonCardContent>
59 59
                       {listbio.content}
60 60
                     </IonCardContent>
61
-                  </IonCard>
62
-                </IonItem>
63
-                <IonItem routerLink={`/Question`} detail={true}>
64
-                  <IonIcon icon={square} />Tomar quiz
65
-                </IonItem>
61
+                  </IonItem>
62
+                  <IonItem routerLink={`/Question`} detail={true}>
63
+                    <IonIcon icon={square} />Tomar quiz
64
+                  </IonItem>
65
+                </IonCard>
66 66
               </>
67 67
             )
68 68
           })