handle download poster and qrcode, fix to show timestamp, add pagination to doctors page

This commit is contained in:
ehsan
2025-10-02 02:52:26 +03:30
parent 645da72002
commit e1510b142b
21 changed files with 394 additions and 154 deletions
+5 -5
View File
@@ -4,7 +4,7 @@ import Services from "./Services";
import Address from "./Address";
import Telefon from "./Telefon";
import ImageProfile from "./ImageProfile";
import QrCode from "./QrCode";
import QrImg from "./QrImg";
function Poster({ data }) {
return (
@@ -19,18 +19,18 @@ function Poster({ data }) {
</p>
<p className="text-[24px] mt-[20px] text-[#E7EEF6] font-bold text-right">
تخصص:
{data?.expertise?.map(
{data?.specialties?.map(
(item, idx) =>
`${item.name} ${data.expertise.length === idx + 1 ? "" : "|"} `
`${item.name} ${data.specialties.length === idx + 1 ? "" : "|"} `
)}
</p>
<Services data={data} />
<Address data={data} />
<Telefon data={data} />
</div>
<div className="flex flex-col justify-between items-end">
<div className="flex flex-col justify-between items-end min-w-[200px]">
<ImageProfile data={data} />
<QrCode />
<QrImg />
</div>
</div>
);