-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CBIT Hacktoberfest'24 Certificates
- Loading branch information
1 parent
2ec8297
commit 2db4b51
Showing
16 changed files
with
3,175 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
[ | ||
{ | ||
"code": "hrishikeshkumarHTFA0000", | ||
"holder": "Hrishikesh Kumar" | ||
}, | ||
{ | ||
"code": "drvpadmavathiHTFA0001", | ||
"holder": "Dr. V. Padmavathi" | ||
}, | ||
{ | ||
"code": "shashankbandiHTFA0002", | ||
"holder": "Shashank Bandi" | ||
}, | ||
{ | ||
"code": "sravyanallaHTFA0003", | ||
"holder": "Sravya Nalla" | ||
}, | ||
{ | ||
"code": "yeshwanthreddyHTFA0004", | ||
"holder": "Yeshwanth Reddy" | ||
}, | ||
{ | ||
"code": "smtsshobaraniHTFA0005", | ||
"holder": "Smt. S. Shobarani" | ||
}, | ||
{ | ||
"code": "smtkavithaagarwalHTFA0006", | ||
"holder": "Smt. Kavitha Agarwal" | ||
}, | ||
{ | ||
"code": "rahilhussainHTFA0007", | ||
"holder": "Rahil Hussain" | ||
}, | ||
{ | ||
"code": "pabitranayakHTFA0008", | ||
"holder": "Pabitra Nayak" | ||
}, | ||
{ | ||
"code": "drdlsreddyHTFA0009", | ||
"holder": "Dr. D L S Reddy" | ||
}, | ||
{ | ||
"code": "drpulipatisrilathaHTFA0010", | ||
"holder": "Dr. Pulipati Srilatha" | ||
}, | ||
{ | ||
"code": "gopalmatchaHTFA0011", | ||
"holder": "Gopal Matcha" | ||
}, | ||
{ | ||
"code": "drskranthikumarHTFA0012", | ||
"holder": "Dr. S. Kranthi Kumar" | ||
}, | ||
{ | ||
"code": "mahankalisaicharanHTFA0013", | ||
"holder": "Mahankali Sai Charan" | ||
}, | ||
{ | ||
"code": "roopikaponnurHTFA0014", | ||
"holder": "Roopika Ponnur" | ||
}, | ||
{ | ||
"code": "dranilamacharlaHTFA0015", | ||
"holder": "Dr. Anila Macharla" | ||
}, | ||
{ | ||
"code": "smtsshobaraniHTFA0016", | ||
"holder": "Smt. S. Shobarani" | ||
}, | ||
{ | ||
"code": "drramandugyalaHTFA0017", | ||
"holder": "Dr. Raman Dugyala" | ||
} | ||
] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
document.addEventListener("DOMContentLoaded", function () { | ||
const urlParams = new URLSearchParams(window.location.search); | ||
const odysseyCode = urlParams.get("id"); | ||
|
||
fetch("data.json") | ||
.then((response) => response.json()) | ||
.then((jsonData) => { | ||
const matchingEntry = jsonData.find((entry) => entry.code === odysseyCode); | ||
|
||
if (matchingEntry) { | ||
const generalHeader = document.getElementById("general-header"); | ||
generalHeader.classList.add("hidden"); | ||
|
||
const nameElement = document.getElementById("name-element"); | ||
nameElement.textContent = `${matchingEntry.holder}`; | ||
|
||
const headerNameElement = document.getElementById("header-name-element"); | ||
headerNameElement.textContent = `${matchingEntry.holder}`; | ||
|
||
const certHeader = document.getElementById("cert-header"); | ||
const certificate = document.getElementById("certificate"); | ||
|
||
certHeader.classList.remove("hidden"); | ||
certificate.classList.remove("hidden"); | ||
|
||
const qrContainer = document.getElementById("qr-container"); | ||
|
||
const qr = new QRCode(qrContainer, { | ||
text: "https://cbitosc.github.io/verify24/hfestA/?id=" + matchingEntry.code, | ||
width: 384, | ||
height: 384, | ||
typeNumber: 8, | ||
correctLevel: QRCode.CorrectLevel.H, | ||
colorDark: "#FFFFFF", // White color for QR code modules | ||
colorLight: "#000000" | ||
}); | ||
|
||
} else { | ||
console.error("No matching entry found for the provided code."); | ||
} | ||
}) | ||
.catch((error) => console.error("Error loading JSON:", error)); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
|
||
body { | ||
max-width: 100%; | ||
} | ||
|
||
@font-face { | ||
font-family: "Baskerville-old-face"; | ||
src: url("/verify24/assests/fonts/BASKVILL.ttf") format("truetype"); | ||
} | ||
|
||
.baskvile { | ||
font-family: "Baskerville-old-face", sans-serif; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
text-align: center; | ||
max-width: screen; | ||
} | ||
|
||
#name-element { | ||
font-size: 60.0px; | ||
} | ||
|
||
.header { | ||
font-size: 1.6rem; | ||
font-weight: bold; | ||
line-height: 2rem; | ||
} | ||
|
||
.hidden { | ||
display: none; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
.header { | ||
font-size: 0.8rem; | ||
line-height: 1.2rem; | ||
} | ||
} | ||
|
||
.transform img { | ||
width: 100%; | ||
max-width: 240.0px; | ||
height: auto; | ||
} | ||
|
||
.image-container img, | ||
canvas { | ||
width: 100%; | ||
max-width: 240.0px; | ||
height: auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
[ | ||
{ | ||
"code": "sukritkumarvemulaHTF24M0000", | ||
"holder": "Sukrit Kumar Vemula" | ||
}, | ||
{ | ||
"code": "mnvkharshavardhanHTF24M0001", | ||
"holder": "M.N.V.K.Harsha Vardhan" | ||
}, | ||
{ | ||
"code": "dlnsuchindraHTF24M0002", | ||
"holder": "D L N Suchindra" | ||
}, | ||
{ | ||
"code": "schakshunathHTF24M0003", | ||
"holder": "S Chakshunath" | ||
}, | ||
{ | ||
"code": "prakshithmeharsaiHTF24M0004", | ||
"holder": "P Rakshith Mehar Sai" | ||
}, | ||
{ | ||
"code": "rishikeshmallagundlaHTF24M0005", | ||
"holder": "Rishikesh Mallagundla" | ||
}, | ||
{ | ||
"code": "nikhilguruHTF24M0006", | ||
"holder": "Nikhil Guru" | ||
}, | ||
{ | ||
"code": "rachitdasHTF24M0007", | ||
"holder": "Rachit Das" | ||
}, | ||
{ | ||
"code": "landerisrujanHTF24M0008", | ||
"holder": "Landeri Srujan" | ||
}, | ||
{ | ||
"code": "chpawanmohitHTF24M0009", | ||
"holder": "Ch Pawan Mohit" | ||
}, | ||
{ | ||
"code": "mohithHTF24M0010", | ||
"holder": "Mohith" | ||
}, | ||
{ | ||
"code": "abhinayHTF24M0011", | ||
"holder": "Abhinay" | ||
}, | ||
{ | ||
"code": "bsaicharanHTF24M0012", | ||
"holder": "B Sai Charan" | ||
}, | ||
{ | ||
"code": "adepupranavHTF24M0013", | ||
"holder": "Adepu Pranav" | ||
} | ||
] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
document.addEventListener("DOMContentLoaded", function () { | ||
const urlParams = new URLSearchParams(window.location.search); | ||
const odysseyCode = urlParams.get("id"); | ||
|
||
fetch("data.json") | ||
.then((response) => response.json()) | ||
.then((jsonData) => { | ||
const matchingEntry = jsonData.find((entry) => entry.code === odysseyCode); | ||
|
||
if (matchingEntry) { | ||
const generalHeader = document.getElementById("general-header"); | ||
generalHeader.classList.add("hidden"); | ||
|
||
const nameElement = document.getElementById("name-element"); | ||
nameElement.textContent = `${matchingEntry.holder}`; | ||
|
||
const headerNameElement = document.getElementById("header-name-element"); | ||
headerNameElement.textContent = `${matchingEntry.holder}`; | ||
|
||
const certHeader = document.getElementById("cert-header"); | ||
const certificate = document.getElementById("certificate"); | ||
|
||
certHeader.classList.remove("hidden"); | ||
certificate.classList.remove("hidden"); | ||
|
||
const qrContainer = document.getElementById("qr-container"); | ||
|
||
const qr = new QRCode(qrContainer, { | ||
text: "https://cbitosc.github.io/verify24/hfestM/?id=" + matchingEntry.code, | ||
width: 384, | ||
height: 384, | ||
typeNumber: 8, | ||
correctLevel: QRCode.CorrectLevel.H, | ||
colorDark: "#FFFFFF", // White color for QR code modules | ||
colorLight: "#000000" | ||
}); | ||
|
||
} else { | ||
console.error("No matching entry found for the provided code."); | ||
} | ||
}) | ||
.catch((error) => console.error("Error loading JSON:", error)); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
|
||
body { | ||
max-width: 100%; | ||
} | ||
|
||
@font-face { | ||
font-family: "Baskerville-old-face"; | ||
src: url("/verify24/assests/fonts/BASKVILL.ttf") format("truetype"); | ||
} | ||
|
||
.baskvile { | ||
font-family: "Baskerville-old-face", sans-serif; | ||
} | ||
|
||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
text-align: center; | ||
max-width: screen; | ||
} | ||
|
||
#name-element { | ||
font-size: 60.0px; | ||
} | ||
|
||
.header { | ||
font-size: 1.6rem; | ||
font-weight: bold; | ||
line-height: 2rem; | ||
} | ||
|
||
.hidden { | ||
display: none; | ||
} | ||
|
||
@media (max-width: 767px) { | ||
.header { | ||
font-size: 0.8rem; | ||
line-height: 1.2rem; | ||
} | ||
} | ||
|
||
.transform img { | ||
width: 100%; | ||
max-width: 240.0px; | ||
height: auto; | ||
} | ||
|
||
.image-container img, | ||
canvas { | ||
width: 100%; | ||
max-width: 240.0px; | ||
height: auto; | ||
} |
Oops, something went wrong.