From bbee091e88e33c601d4c4c2d519584fb310f10a7 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Tue, 10 Feb 2026 21:23:27 +0300 Subject: [PATCH] feat(Citizens): replace PNG citizen card with professional HTML/CSS design - New digital citizen ID card with Kurdish flag colors gradient - Added security pattern overlay for authenticity - Header with sun symbol, Republic of Kurdistan branding - Clean layout: photo, personal info, NFT/citizen number badges - Verified badge and corner decorations - Footer with blockchain info --- web/src/pages/Citizens.tsx | 180 ++++++++++++++++++++++++++----------- 1 file changed, 128 insertions(+), 52 deletions(-) diff --git a/web/src/pages/Citizens.tsx b/web/src/pages/Citizens.tsx index cc582111..492a5503 100644 --- a/web/src/pages/Citizens.tsx +++ b/web/src/pages/Citizens.tsx @@ -373,76 +373,84 @@ export default function Citizens() { - {/* Digital Citizen ID Card */} -
-
- {/* Background card image */} - Digital Citizen Card +
+ {/* Security Pattern Overlay */} +
- {/* Overlay content on the card */} -
- {/* Left side - NFT ID box (below "NFT" text) */} -
-
-
NFT ID
-
- {nftDetails.citizenNFT ? `#${nftDetails.citizenNFT.collectionId}-${nftDetails.citizenNFT.itemId}` : 'N/A'} -
-
-
Citizen No
-
- {nftDetails.citizenNFT ? `#${nftDetails.citizenNFT.collectionId}-${nftDetails.citizenNFT.itemId}-${citizenNumber}` : 'N/A'} + {/* Top Header Band */} +
+
+
+ {/* Sun Symbol */} +
+ +
+
-
-
- - {/* Middle - Identity information (3 lines matching the gray bars) */} -
-
-
-
Name
-
{profile?.full_name || 'N/A'}
-
-
-
Father's Name
-
{profile?.father_name || 'N/A'}
-
-
-
Location
-
{profile?.location || 'N/A'}
+
+
KOMARGEHA KURDISTANÊ
+
REPUBLIC OF KURDISTAN
+
+
NASNAMEYA DÎJÎTAL
+
DIGITAL IDENTITY CARD
+
+
- {/* Right side - Photo placeholder */} -
-
- {photoUrl ? ( - Citizen Photo - ) : ( -
- + {/* Main Content Area */} +
+ + {/* Left Section - Photo */} +
+
+ {/* Photo Frame */} +
+
+ {photoUrl ? ( + Citizen Photo + ) : ( +
+ +
+ )}
- )} - {/* Upload button overlay */} -
+
+ {/* Upload Overlay */} +
+ + {/* Middle Section - Personal Info */} +
+ {/* Name */} +
+
Nav / Name
+
{profile?.full_name || 'N/A'}
+
+ + {/* Father's Name */} +
+
Navê Bav / Father's Name
+
{profile?.father_name || 'N/A'}
+
+ + {/* Location */} +
+
Cih / Location
+
{profile?.location || 'N/A'}
+
+
+ + {/* Right Section - NFT & ID Numbers */} +
+ {/* NFT Badge */} +
+
NFT ID
+
+ {nftDetails.citizenNFT ? `#${nftDetails.citizenNFT.collectionId}-${nftDetails.citizenNFT.itemId}` : 'N/A'} +
+
+ + {/* Citizen Number Badge */} +
+
Hejmara Welatî
+
Citizen No
+
+ {nftDetails.citizenNFT ? `#${nftDetails.citizenNFT.collectionId}-${nftDetails.citizenNFT.itemId}-${citizenNumber}` : 'N/A'} +
+
+ + {/* Verified Badge */} +
+ + VERIFIED +
+
+ + {/* Bottom Footer Band */} +
+
+
+ Blockchain: Pezkuwichain People +
+
+ BIJÎ KURDISTAN +
+
+ Type: Welati NFT +
+
+
+ + {/* Corner Decorations */} +
+
+
+