-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.jsx
85 lines (82 loc) · 3.61 KB
/
index.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import React from "react";
import QRCode from "react-qr-code";
const DriverCardBack = ({ document }) => {
const { to, id } = document;
return (
<div className={`w-[2480px] h-[3498px] flex justify-center mt-[10px]`}>
<div className="w-[1600px] h-[1000px] border-[6px] border-gray-400 mt-[10px] rounded-[50px] bg-silkBack bg-cover bg-no-repeat text-center px-[30px]">
<p className="text-[45px] mt-[20px]">DRIVER QUALIFICATION CARD</p>
<div className="flex justify-between p-[30px]">
<div>
<div className="text-[35px] font-semibold text-left mt-[30px] flex flex-col gap-[10px]">
<p>1.Фамилия</p>
<p>2.Имя</p>
<p>3.Дата рождения</p>
<p>4a.Дата выдачи</p>
<p>4b.Срок действия</p>
<p>4c.Наименование органа,выдавшего сертификат</p>
<p>5a.Номер водительского удостоверения</p>
<p>5b.Идентификационный номер</p>
<p>6.Подпись</p>
<p>7.Фото</p>
<p>8.Категории транспортных средств</p>
<p>9.Срок действия соответствующей категории</p>
<p>10.Вносится отметка сертификатя СРС</p>
</div>
</div>
<div className="text-[45px]">
<table className="border-2 border-black">
<tr>
<th className="px-[30px] border-2 border-black">
8. Category <br /> Категории
</th>
<th className="px-[30px] border-2 border-black">
9. Until <br /> До
</th>
</tr>
<tr>
<td className="px-[30px] border-2 border-black">C1</td>
<td className="px-[30px] border-2 border-black"></td>
</tr>
<tr>
<td className="px-[30px] border-2 border-black">C</td>
<td className="px-[30px] border-2 border-black">{to}</td>
</tr>
<tr>
<td className="px-[30px] border-2 border-black">D1</td>
<td className="px-[30px] border-2 border-black"></td>
</tr>
<tr>
<td className="px-[30px] border-2 border-black">D</td>
<td className="px-[30px] border-2 border-black"></td>
</tr>
<tr>
<td className="px-[30px] border-2 border-black">C1E</td>
<td className="px-[30px] border-2 border-black"></td>
</tr>
<tr>
<td className="px-[30px] border-2 border-black">CE</td>
<td className="px-[30px] border-2 border-black">{to}</td>
</tr>
<tr>
<td className="px-[30px] border-2 border-black">D1E</td>
<td className="px-[30px] border-2 border-black"></td>
</tr>
<tr>
<td className="px-[30px] border-2 border-black">DE</td>
<td className="px-[30px] border-2 border-black"></td>
</tr>
</table>
<div className="flex justify-end text-[40px] gap-[10px] mb-[20px] mt-[30px]">
10.
<QRCode
value={`https://www.xalqarologistika.uz/check-certificates/${id}`}
/>
</div>
</div>
</div>
</div>
</div>
);
};
export default DriverCardBack;