No Description

ListCapsules.tsx 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. import {
  2. IonList,
  3. IonItem,
  4. IonLabel,
  5. IonImg,
  6. IonSearchbar,
  7. IonContent,
  8. IonHeader,
  9. IonPage,
  10. IonTitle,
  11. IonToolbar,
  12. IonFooter,
  13. IonGrid,
  14. IonRow,
  15. IonCol,
  16. IonButtons,
  17. IonBackButton
  18. } from '@ionic/react';
  19. import './ListCapsules.css';
  20. import EnciclopediaPR from '../assets/EnciclopediaPR.png';
  21. const ListCapsules: React.FC = () => {
  22. return (
  23. <IonPage>
  24. <IonHeader>
  25. <IonToolbar className="Header-Color">
  26. <IonGrid fixed={true}>
  27. <IonRow>
  28. <IonCol></IonCol>
  29. <IonCol>
  30. <IonImg style={{ height: 50, width: 100 }} src={EnciclopediaPR} alt='Logo'></IonImg>
  31. <IonTitle>Lista de Cápsulas de Contenido</IonTitle>
  32. </IonCol>
  33. <IonCol></IonCol>
  34. </IonRow>
  35. </IonGrid>
  36. </IonToolbar>
  37. </IonHeader>
  38. <IonContent fullscreen>
  39. <IonSearchbar></IonSearchbar>
  40. <IonList inset={true}>
  41. <IonItem routerLink={`/Capsule`} detail={true}>
  42. <IonLabel>Breve Historia del baile en Puerto Rico</IonLabel>
  43. </IonItem>
  44. <IonItem>
  45. <IonLabel>Cápsula#2</IonLabel>
  46. </IonItem>
  47. <IonItem>
  48. <IonLabel>Cápsula#3</IonLabel>
  49. </IonItem>
  50. </IonList>
  51. </IonContent>
  52. <IonFooter>
  53. <IonToolbar className="Footer-Color">
  54. <div className='Item-Center'>
  55. <IonButtons slot="start">
  56. <IonBackButton defaultHref="/home"></IonBackButton>
  57. </IonButtons>
  58. </div>
  59. </IonToolbar>
  60. </IonFooter>
  61. </IonPage>
  62. );
  63. };
  64. export default ListCapsules;