From adc49a1fa69d68030f280030707ede99910be28e Mon Sep 17 00:00:00 2001 From: Yogansh Sharma Date: Tue, 9 Apr 2024 21:28:54 +0530 Subject: [PATCH 1/2] feat: proposal not submitted --- src/data/electionsData.js | 2 +- src/pages/Elections/ElectionCandidates.js | 3 ++- src/pages/Elections/ElectionCard.js | 9 +++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/data/electionsData.js b/src/data/electionsData.js index d67a2809..945877fe 100644 --- a/src/data/electionsData.js +++ b/src/data/electionsData.js @@ -118,7 +118,7 @@ export const candidates = { Hall: "", Email: "", Proposal: "", - ProposalLink: "22CE10062.pdf", + ProposalLink: "", FacebookLink: "", img: "Rounak_Socult.jpg" }, diff --git a/src/pages/Elections/ElectionCandidates.js b/src/pages/Elections/ElectionCandidates.js index 083b7081..4c9915eb 100644 --- a/src/pages/Elections/ElectionCandidates.js +++ b/src/pages/Elections/ElectionCandidates.js @@ -25,6 +25,7 @@ export default function Elections() { color: "#f1c40f", fontFamily: "Lato", fontWeight: "600", + marginTop: "10", }} align="center" > @@ -80,7 +81,7 @@ export default function Elections() { name={candidate.Name} imgSrc={`/data/media/images/elections/${candidate.img}`} designation={designation} - proposalLink={candidate.RollNo} + proposalLink={candidate.ProposalLink} post={post} /> ); diff --git a/src/pages/Elections/ElectionCard.js b/src/pages/Elections/ElectionCard.js index 23950af4..0f5895d0 100644 --- a/src/pages/Elections/ElectionCard.js +++ b/src/pages/Elections/ElectionCard.js @@ -21,6 +21,7 @@ function ElectionCard({ From e92f9b5b4e53c70d7187a6c41ee441dbb5d2c774 Mon Sep 17 00:00:00 2001 From: Yogansh Sharma Date: Tue, 9 Apr 2024 21:34:55 +0530 Subject: [PATCH 2/2] fix: margin fix --- src/pages/Elections/ElectionCandidates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Elections/ElectionCandidates.js b/src/pages/Elections/ElectionCandidates.js index 4c9915eb..30faa8c7 100644 --- a/src/pages/Elections/ElectionCandidates.js +++ b/src/pages/Elections/ElectionCandidates.js @@ -25,7 +25,7 @@ export default function Elections() { color: "#f1c40f", fontFamily: "Lato", fontWeight: "600", - marginTop: "10", + marginTop: "5rem", }} align="center" >