|
1 |
| -import { useNavigate } from "react-router-dom"; |
2 | 1 | import "../../index.css";
|
3 |
| -import { Component } from "react"; |
4 | 2 | import "./body.css";
|
5 |
| -import Image from "../img/voice-message.png"; |
6 |
| -import SMS from "../img/sms.png"; |
7 |
| -import Help from "../img/help-desk.png"; |
8 |
| -import Call from "../img/phone-call.png"; |
9 | 3 | import FeatureImg from "../img/feature.jpeg";
|
10 |
| - |
11 |
| -class CardBar extends Component { |
12 |
| - render() { |
13 |
| - return ( |
14 |
| - <section className="body__section py-10"> |
15 |
| - <div className="grid place-items-center mt-5"> |
16 |
| - <p className="text-3xl font-bold text-center text-gray-900 uppercase mb-2"> |
17 |
| - HOW KRASHAK HELPS |
18 |
| - </p> |
19 |
| - <p className="text-xl font-medium text-center text-gray-500 "> |
20 |
| - Being a part of Krashak.AI, these are our mainstays |
21 |
| - </p> |
22 |
| - </div> |
23 |
| - <div className="grid place-items-center mt-14 mb-20"> |
24 |
| - <div className="inline-flex space-x-36 items-center justify-end"> |
25 |
| - <div className="w-1/4 h-full"> |
26 |
| - <div className="inline-flex flex-col space-y-6 items-center justify-end flex-1 h-full pl-9 pr-8 pt-8 pb-11 bg-white border rounded border-black border-opacity-10"> |
27 |
| - <img className="w-1/5 h-12 rounded-lg" src={Help} /> |
28 |
| - <p className="w-56 h-7 text-lg font-semibold text-gray-900 text-center"> |
29 |
| - 24*7 calls and help desk |
30 |
| - </p> |
31 |
| - <p className="opacity-70 w-56 h-1/5 text-base text-center"> |
32 |
| - Providing solutions through calls |
33 |
| - </p> |
34 |
| - </div> |
35 |
| - </div> |
36 |
| - <div className="w-1/4 h-full"> |
37 |
| - <div className="inline-flex flex-col space-y-6 items-center justify-end flex-1 h-full pl-9 pr-8 pt-8 pb-11 bg-white border rounded border-black border-opacity-10"> |
38 |
| - <img className="w-14 h-14 rounded-lg" src={SMS} /> |
39 |
| - <p className="w-56 h-7 text-lg font-semibold text-gray-900 text-center"> |
40 |
| - SMS services for contact |
41 |
| - </p> |
42 |
| - <p className="opacity-70 w-56 h-1/5 text-base text-center"> |
43 |
| - Send your queries through SMS |
44 |
| - </p> |
45 |
| - </div> |
46 |
| - </div> |
47 |
| - <div className="w-1/4 h-full"> |
48 |
| - <div className="inline-flex flex-col space-y-6 items-center justify-end flex-1 h-full pl-9 pr-8 pt-8 pb-11 bg-white border rounded border-black border-opacity-10"> |
49 |
| - <img className="w-14 h-14 rounded-lg" src={Image} /> |
50 |
| - <p className="w-56 h-7 text-lg font-semibold text-gray-900 text-center"> |
51 |
| - Voice assistent System |
52 |
| - </p> |
53 |
| - <p className="opacity-70 w-56 h-1/5 text-base text-center"> |
54 |
| - Get voice assisted solution |
55 |
| - </p> |
56 |
| - </div> |
57 |
| - </div> |
58 |
| - </div> |
59 |
| - </div> |
60 |
| - </section> |
61 |
| - ); |
62 |
| - } |
63 |
| -} |
64 |
| - |
65 |
| -class HelpCard extends Component { |
66 |
| - render() { |
67 |
| - return ( |
68 |
| - <section className="bg-gray-100 py-10"> |
69 |
| - <div className="grid place-items-center mt-14 "> |
70 |
| - <p className="text-3xl font-bold text-center text-gray-900 uppercase mb-2"> |
71 |
| - NEED HELP? |
72 |
| - </p> |
73 |
| - <p className="text-xl font-medium text-center text-gray-500 "> |
74 |
| - We open the door to thousands of farmers worldwide. Ask your queries |
75 |
| - and get the best solution instantly. There are two ways to get the |
76 |
| - solutions. |
77 |
| - </p> |
78 |
| - </div> |
79 |
| - <div className="grid place-items-center mt-14 mb-20"> |
80 |
| - <div className="flex space-x-20"> |
81 |
| - <div className="flex flex-row m-2"> |
82 |
| - <img className="w-14 h-14 rounded-lg mr-4" src={Call} /> |
83 |
| - <div className="flex flex-column flex-wrap w-40"> |
84 |
| - <p className="">Give krashak a call </p> |
85 |
| - <p className="text-green-600">9876644566</p> |
86 |
| - </div> |
87 |
| - </div> |
88 |
| - <div className="flex flex-row m-2"> |
89 |
| - <img className="w-14 h-14 rounded-lg mr-4" src={SMS} /> |
90 |
| - <div className="flex flex-column flex-wrap w-40"> |
91 |
| - <p className="">Drop your query to </p> |
92 |
| - <p className="text-green-600">9876644566</p> |
93 |
| - </div> |
94 |
| - </div> |
95 |
| - <div className="flex flex-row m-2"> |
96 |
| - <img className="w-14 h-14 rounded-lg mr-4" src={Help} /> |
97 |
| - <div className="flex flex-column flex-wrap w-40"> |
98 |
| - <p className="">Use the voice bot</p> |
99 |
| - <p |
100 |
| - className="text-green-600 cursor-pointer" |
101 |
| - onClick={() => this.navigation.navigate("/voice")} |
102 |
| - > |
103 |
| - click here |
104 |
| - </p> |
105 |
| - </div> |
106 |
| - </div> |
107 |
| - </div> |
108 |
| - </div> |
109 |
| - </section> |
110 |
| - ); |
111 |
| - } |
112 |
| -} |
| 4 | +import CardBar from "../CardBar/CardBar"; |
| 5 | +import HelpCard from "../HelpCard/HelpCard"; |
113 | 6 |
|
114 | 7 | const Body = () => {
|
115 |
| - const navigate = useNavigate(); |
116 | 8 | return (
|
117 | 9 | <div className="body">
|
118 | 10 | <div className="background-image grid place-items-center my-6">
|
@@ -140,7 +32,7 @@ const Body = () => {
|
140 | 32 | Take a look at our features
|
141 | 33 | </p>
|
142 | 34 | </div>
|
143 |
| - <img src={FeatureImg}></img> |
| 35 | + <img src={FeatureImg} alt="features"></img> |
144 | 36 | </section>
|
145 | 37 | </div>
|
146 | 38 | );
|
|
0 commit comments