Skip to content

Commit

Permalink
UI text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daqhris authored Nov 17, 2024
1 parent a34eab4 commit 438f445
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions components/EnrollmentAttestation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default function EnrollmentAttestation({ verifiedName, poapVerified, onAt
<Card>
<CardContent>
<Typography variant="h5" gutterBottom>
Create Enrollment Attestation
Enrollment Attestation
</Typography>

{!address && (
Expand All @@ -273,9 +273,9 @@ export default function EnrollmentAttestation({ verifiedName, poapVerified, onAt
<Box sx={{ mb: 3, p: 2, bgcolor: 'background.paper', borderRadius: 1 }}>
<Typography variant="h6" gutterBottom>Attestation Preview</Typography>
<Typography variant="body2">User Address: {previewData?.userAddress}</Typography>
<Typography variant="body2">Verified Name: {previewData?.verifiedName}</Typography>
<Typography variant="body2">POAP Verified: {previewData?.poapVerified ? 'Yes' : 'No'}</Typography>
<Typography variant="body2">Timestamp: {new Date(previewData?.timestamp * 1000).toLocaleString()}</Typography>
<Typography variant="body2">Onchain Name: {previewData?.verifiedName}</Typography>
<Typography variant="body2">Proof Verification: {previewData?.poapVerified ? 'Yes' : 'No'}</Typography>
<Typography variant="body2">Enrollment Timestamp: {new Date(previewData?.timestamp * 1000).toLocaleString()}</Typography>
</Box>
)}

Expand Down
4 changes: 2 additions & 2 deletions components/EventAttendanceVerification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const EventAttendanceVerification: React.FC<EventAttendanceVerificationProps> =
<div className="space-y-2">
<p className="text-base font-semibold">{poapDetails.event.name}</p>
<div className="flex flex-col text-sm opacity-75">
<p>🎭 Role: {poapDetails.event.name.replace('ETHGlobal Brussels ', '')}</p>
<p>🎭 Role: {poapDetails.event.name.replace('ETHGlobal Brussels 2024', '')}</p>
<p>📅 Date: {new Date(poapDetails.event.start_date).toLocaleDateString()}</p>
<p>📍 Venue: {EVENT_VENUE}</p>
<p>🎫 Token ID: {poapDetails.tokenId}</p>
Expand All @@ -212,7 +212,7 @@ const EventAttendanceVerification: React.FC<EventAttendanceVerificationProps> =
className={`btn ${verificationStatus === 'success' ? 'btn-primary' : 'btn-disabled'} mt-4 w-full`}
disabled={verificationStatus !== 'success'}
>
Continue Enrollment
CONTINUE
</button>
</>
)}
Expand Down

0 comments on commit 438f445

Please sign in to comment.