Ver código fonte

Merge branch 'eliam-final' of sergio.mattei/RenacerSocial into main

eliam.ruiz 1 ano atrás
pai
commit
8565c3366e

+ 2
- 2
src/components/ListComponent.css Ver arquivo

8
   width: 100%;
8
   width: 100%;
9
 }
9
 }
10
 
10
 
11
-ion-list-header {
12
-  /* color: "primary"; */
11
+ion-list {
12
+  background-color: aqua;
13
 }
13
 }

+ 3
- 0
src/pages/Home.tsx Ver arquivo

1
 import {
1
 import {
2
   IonContent,
2
   IonContent,
3
   IonHeader,
3
   IonHeader,
4
+  IonIcon,
4
   IonPage,
5
   IonPage,
5
   IonTitle,
6
   IonTitle,
6
   IonToolbar,
7
   IonToolbar,
7
 } from "@ionic/react";
8
 } from "@ionic/react";
8
 
9
 
10
+
11
+
9
 const Home: React.FC = () => {
12
 const Home: React.FC = () => {
10
   return (
13
   return (
11
     <IonPage>
14
     <IonPage>

+ 3
- 1
src/pages/services/ApoyoPage.tsx Ver arquivo

12
   IonTitle,
12
   IonTitle,
13
   IonToolbar,
13
   IonToolbar,
14
 } from "@ionic/react";
14
 } from "@ionic/react";
15
-import { RouteComponentProps } from "react-router";
15
+import ButtonComponent from "../../components/ButtonComponent"
16
 
16
 
17
 const ApoyoPage: React.FC = () => {
17
 const ApoyoPage: React.FC = () => {
18
+  let body= "Es de mi interés ponerme en contacto con ustedes para poder coordinar el uso de su servicio de Seguridad y Apoyo. También me gustaría saber donde están actualmente ubicados."
18
   return (
19
   return (
19
     <IonPage>
20
     <IonPage>
20
       <IonHeader>
21
       <IonHeader>
38
             durante su espera. 
39
             durante su espera. 
39
           </IonCardContent>
40
           </IonCardContent>
40
         </IonCard>
41
         </IonCard>
42
+        <ButtonComponent body={body}></ButtonComponent>
41
       </IonContent>
43
       </IonContent>
42
     </IonPage>
44
     </IonPage>
43
   );
45
   );

+ 3
- 1
src/pages/services/CasitaPage.tsx Ver arquivo

12
   IonTitle,
12
   IonTitle,
13
   IonToolbar,
13
   IonToolbar,
14
 } from "@ionic/react";
14
 } from "@ionic/react";
15
-import { RouteComponentProps } from "react-router";
15
+import ButtonComponent from "../../components/ButtonComponent"
16
 
16
 
17
 const CasitaPage: React.FC = () => {
17
 const CasitaPage: React.FC = () => {
18
+  let body= "Es de mi interés ponerme en contacto con ustedes para poder coordinar el uso de su servicio de Casita. También me gustaría saber donde están actualmente ubicados."
18
   return (
19
   return (
19
     <IonPage>
20
     <IonPage>
20
       <IonHeader>
21
       <IonHeader>
43
             llame a nuestras oficinas para más información. 
44
             llame a nuestras oficinas para más información. 
44
           </IonCardContent>
45
           </IonCardContent>
45
         </IonCard>
46
         </IonCard>
47
+        <ButtonComponent body={body}></ButtonComponent>
46
       </IonContent>
48
       </IonContent>
47
     </IonPage>
49
     </IonPage>
48
   );
50
   );

+ 4
- 1
src/pages/services/ConsejosPage.tsx Ver arquivo

12
   IonTitle,
12
   IonTitle,
13
   IonToolbar,
13
   IonToolbar,
14
 } from "@ionic/react";
14
 } from "@ionic/react";
15
-import { RouteComponentProps } from "react-router";
15
+import ButtonComponent from "../../components/ButtonComponent";
16
 
16
 
17
 const ConsejosPage: React.FC = () => {
17
 const ConsejosPage: React.FC = () => {
18
+  let body =
19
+    "Es de mi interés ponerme en contacto con ustedes para poder coordinar el uso de su servicio de Consejería. También me gustaría saber donde están actualmente ubicados.";
18
   return (
20
   return (
19
     <IonPage>
21
     <IonPage>
20
       <IonHeader>
22
       <IonHeader>
40
             cómodo. 
42
             cómodo. 
41
           </IonCardContent>
43
           </IonCardContent>
42
         </IonCard>
44
         </IonCard>
45
+        <ButtonComponent body={body}></ButtonComponent>
43
       </IonContent>
46
       </IonContent>
44
     </IonPage>
47
     </IonPage>
45
   );
48
   );

+ 4
- 1
src/pages/services/EducacionPage.tsx Ver arquivo

12
   IonTitle,
12
   IonTitle,
13
   IonToolbar,
13
   IonToolbar,
14
 } from "@ionic/react";
14
 } from "@ionic/react";
15
-import { RouteComponentProps } from "react-router";
15
+import ButtonComponent from "../../components/ButtonComponent";
16
 
16
 
17
 const EducacionPage: React.FC = () => {
17
 const EducacionPage: React.FC = () => {
18
+  let body =
19
+    "Es de mi interés ponerme en contacto con ustedes para poder coordinar el uso de su servicio de Educación. También me gustaría saber donde están actualmente ubicados.";
18
   return (
20
   return (
19
     <IonPage>
21
     <IonPage>
20
       <IonHeader>
22
       <IonHeader>
41
             familia y en la sociedad. 
43
             familia y en la sociedad. 
42
           </IonCardContent>
44
           </IonCardContent>
43
         </IonCard>
45
         </IonCard>
46
+        <ButtonComponent body={body}></ButtonComponent>
44
       </IonContent>
47
       </IonContent>
45
     </IonPage>
48
     </IonPage>
46
   );
49
   );

+ 4
- 1
src/pages/services/LazosPage.tsx Ver arquivo

12
   IonTitle,
12
   IonTitle,
13
   IonToolbar,
13
   IonToolbar,
14
 } from "@ionic/react";
14
 } from "@ionic/react";
15
-import { RouteComponentProps } from "react-router";
15
+import ButtonComponent from "../../components/ButtonComponent";
16
 
16
 
17
 const LazosPage: React.FC = () => {
17
 const LazosPage: React.FC = () => {
18
+  let body =
19
+  "Es de mi interés ponerme en contacto con ustedes para poder coordinar el uso de su servicio de Lazos. También me gustaría saber donde están actualmente ubicados.";
18
   return (
20
   return (
19
     <IonPage>
21
     <IonPage>
20
       <IonHeader>
22
       <IonHeader>
42
             más información. 
44
             más información. 
43
           </IonCardContent>
45
           </IonCardContent>
44
         </IonCard>
46
         </IonCard>
47
+        <ButtonComponent body={body}></ButtonComponent>
45
       </IonContent>
48
       </IonContent>
46
     </IonPage>
49
     </IonPage>
47
   );
50
   );

+ 4
- 1
src/pages/services/SupervisadasPage.tsx Ver arquivo

12
   IonTitle,
12
   IonTitle,
13
   IonToolbar,
13
   IonToolbar,
14
 } from "@ionic/react";
14
 } from "@ionic/react";
15
-import { RouteComponentProps } from "react-router";
15
+import ButtonComponent from "../../components/ButtonComponent";
16
 
16
 
17
 const SupervisadasPage: React.FC = () => {
17
 const SupervisadasPage: React.FC = () => {
18
+  let body =
19
+  "Es de mi interés ponerme en contacto con ustedes para poder coordinar el uso de su servicio de Visitas Supervisadas. También me gustaría saber donde están actualmente ubicados.";
18
   return (
20
   return (
19
     <IonPage>
21
     <IonPage>
20
       <IonHeader>
22
       <IonHeader>
38
             envueltos. 
40
             envueltos. 
39
           </IonCardContent>
41
           </IonCardContent>
40
         </IonCard>
42
         </IonCard>
43
+        <ButtonComponent body={body}></ButtonComponent>
41
       </IonContent>
44
       </IonContent>
42
     </IonPage>
45
     </IonPage>
43
   );
46
   );

+ 4
- 1
src/pages/services/TalleresPage.tsx Ver arquivo

12
   IonTitle,
12
   IonTitle,
13
   IonToolbar,
13
   IonToolbar,
14
 } from "@ionic/react";
14
 } from "@ionic/react";
15
-import { RouteComponentProps } from "react-router";
15
+import ButtonComponent from "../../components/ButtonComponent";
16
 
16
 
17
 const TalleresPage: React.FC = () => {
17
 const TalleresPage: React.FC = () => {
18
+  let body =
19
+  "Es de mi interés ponerme en contacto con ustedes para poder coordinar el uso de su servicio de Talleres Educativos. También me gustaría saber donde están actualmente ubicados.";
18
   return (
20
   return (
19
     <IonPage>
21
     <IonPage>
20
       <IonHeader>
22
       <IonHeader>
37
             profesionales para fortalecer nuestra comunidad.
39
             profesionales para fortalecer nuestra comunidad.
38
           </IonCardContent>
40
           </IonCardContent>
39
         </IonCard>
41
         </IonCard>
42
+        <ButtonComponent body={body}></ButtonComponent>
40
       </IonContent>
43
       </IonContent>
41
     </IonPage>
44
     </IonPage>
42
   );
45
   );

+ 4
- 1
src/pages/services/TerapeuticasPage.tsx Ver arquivo

12
   IonTitle,
12
   IonTitle,
13
   IonToolbar,
13
   IonToolbar,
14
 } from "@ionic/react";
14
 } from "@ionic/react";
15
-import { RouteComponentProps } from "react-router";
15
+import ButtonComponent from "../../components/ButtonComponent";
16
 
16
 
17
 const TerapeuticasPage: React.FC = () => {
17
 const TerapeuticasPage: React.FC = () => {
18
+  let body =
19
+    "Es de mi interés ponerme en contacto con ustedes para poder coordinar el uso de su servicio de Visitas Supervisadas Terapéuticas. También me gustaría saber donde están actualmente ubicados.";
18
   return (
20
   return (
19
     <IonPage>
21
     <IonPage>
20
       <IonHeader>
22
       <IonHeader>
41
             virtual. 
43
             virtual. 
42
           </IonCardContent>
44
           </IonCardContent>
43
         </IonCard>
45
         </IonCard>
46
+        <ButtonComponent body={body}></ButtonComponent>
44
       </IonContent>
47
       </IonContent>
45
     </IonPage>
48
     </IonPage>
46
   );
49
   );

+ 6
- 1
src/theme/global.css Ver arquivo

2
 .notion-title,
2
 .notion-title,
3
 .notion-header {
3
 .notion-header {
4
   display: none !important;
4
   display: none !important;
5
+  background-color: #d6f8df;
5
 }
6
 }
6
 
7
 
7
 .notion-page {
8
 .notion-page {
8
   width: 100% !important;
9
   width: 100% !important;
9
   padding: 0px 0px 0px 0px !important;
10
   padding: 0px 0px 0px 0px !important;
11
+  background-color: #d6f8df;
10
 }
12
 }
11
 
13
 
12
 main.notion-page-no-cover {
14
 main.notion-page-no-cover {
13
   padding-top: 0px !important;
15
   padding-top: 0px !important;
14
   margin-top: 0px !important;
16
   margin-top: 0px !important;
17
+  background-color: #d6f8df;
15
 }
18
 }
16
 
19
 
17
 .notion-blank {
20
 .notion-blank {
18
   display: none !important;
21
   display: none !important;
22
+  background-color: #d6f8df;
23
+  
19
 }
24
 }
20
 
25
 
21
 .video {
26
 .video {
34
   right: 0;
39
   right: 0;
35
   width: 100%;
40
   width: 100%;
36
   height: 100%;
41
   height: 100%;
37
-}
42
+}

+ 31
- 0
src/theme/variables.css Ver arquivo

74
   --ion-color-light-contrast-rgb: 0, 0, 0;
74
   --ion-color-light-contrast-rgb: 0, 0, 0;
75
   --ion-color-light-shade: #d7d8da;
75
   --ion-color-light-shade: #d7d8da;
76
   --ion-color-light-tint: #f5f6f9;
76
   --ion-color-light-tint: #f5f6f9;
77
+
78
+  /** Color styling for the app **/
79
+
80
+  /* --ion-background-color: #bcf5a7;
81
+  --ion-tab-bar-background:#FFE001;
82
+  --ion-toolbar-color:#000000;
83
+  --ion-tab-bar-color:#ee3c2c;
84
+  --ion-tab-bar-color-selected:#39c6e3;
85
+  --ion-border-color:#000000;
86
+  --ion-toolbar-background:#39c6e3; */
87
+  --ion-background-color:#d6f8df;
88
+--ion-background-color-rgb:rgb(255, 255, 255);
89
+--ion-text-color:#000000;	 
90
+--ion-text-color-rgb:rgb(0, 0, 0);	
91
+--ion-tab-bar-background:#51c16b;
92
+--ion-tab-bar-border-color:#727272;
93
+--ion-tab-bar-color:#defbe3;
94
+--ion-tab-bar-color-selected:#165cf3;
95
+--ion-toolbar-background:#6e99f5;
96
+--ion-toolbar-border-color:#727272; 
97
+--ion-toolbar-color:#000000;
98
+--ion-toolbar-segment-color:#ffffff; 
99
+--ion-toolbar-segment-color-checked:#ffffff;
100
+--ion-toolbar-segment-background:#ffffff; 
101
+--ion-toolbar-segment-background-checked:#ffffff;
102
+--ion-toolbar-segment-indicator-color:#614848; 
103
+--ion-item-background:#defbe3; 
104
+--ion-item-border-color:#ff9a9a87;
105
+--ion-item-color:#000000; 
106
+--ion-placeholder-color:#ffffff;
107
+  
77
 }
108
 }
78
 
109
 
79
 /*
110
 /*