feat: Update poster dimensions to A4 size and enhance PDF generation tests
This commit is contained in:
@@ -84,7 +84,7 @@ function Poster({ data, onQrReady }) {
|
||||
return (
|
||||
<div
|
||||
dir="rtl"
|
||||
className="relative w-[1080px] h-[1350px] overflow-hidden flex flex-col p-[64px] text-right"
|
||||
className="relative w-[1080px] h-[1527px] overflow-hidden flex flex-col p-[64px] text-right"
|
||||
style={{ background: POSTER_BG }}
|
||||
>
|
||||
<div className="pointer-events-none absolute -top-[180px] -left-[180px] w-[520px] h-[520px] rounded-full bg-[#57A6FF]/20 blur-[80px]" />
|
||||
@@ -176,9 +176,11 @@ function Poster({ data, onQrReady }) {
|
||||
</section>
|
||||
|
||||
{/* body */}
|
||||
<section className="relative mt-[36px] flex-1">
|
||||
{/* کارتها به هم چسبیده میمانند و فاصلهٔ اضافیِ کاغذ A4 بالای فوتر مینشیند:
|
||||
حفرهٔ وسطِ صفحه شبیه محتوای جاافتاده دیده میشد. */}
|
||||
<section className="relative mt-[36px] flex-1 flex flex-col gap-[28px]">
|
||||
{shownServices.length > 0 && (
|
||||
<div className="rounded-[28px] bg-white/6 border border-white/10 p-[32px] mb-[28px]">
|
||||
<div className="rounded-[28px] bg-white/6 border border-white/10 p-[32px]">
|
||||
<SectionTitle icon={<ClipBoard />}>خدمات</SectionTitle>
|
||||
<div className="flex flex-wrap items-center gap-x-[12px] gap-y-[14px]">
|
||||
{shownServices.map((s, i) => (
|
||||
|
||||
Reference in New Issue
Block a user