Browse Source

Added the call and mail buttons to each service specific page

eliam.ruiz 1 year ago
parent
commit
34a2b47064

+ 3
- 1
src/pages/services/ApoyoPage.tsx View File

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 View File

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 View File

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 View File

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 View File

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 View File

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 View File

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 View File

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
   );