File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 2222 "@nextui-org/react" : " ^2.4.1" ,
2323 "@nextui-org/system" : " ^2.2.1" ,
2424 "@react-pdf/renderer" : " ^4.3.0" ,
25- "@vercel/analytics" : " ^1.3 .1" ,
25+ "@vercel/analytics" : " ^2.0 .1" ,
2626 "axios" : " ^1.7.3" ,
2727 "dotenv" : " ^16.4.5" ,
2828 "ionicons" : " ^7.3.1" ,
Original file line number Diff line number Diff line change 1+ import React from "react" ;
2+ import VerifyPage from "@/components/Verify/VerifyPage" ;
3+
4+ const Verify = ( ) => < VerifyPage /> ;
5+
6+ export default Verify ;
Original file line number Diff line number Diff line change 1+ import React from "react" ;
2+ import VerifyPage from "@/components/Verify/VerifyPage" ;
3+
4+ const VerifyById = ( { certificateId } ) => {
5+ return < VerifyPage initialCertificateId = { certificateId || "" } /> ;
6+ } ;
7+
8+ export async function getServerSideProps ( context ) {
9+ const { id } = context . params ;
10+
11+ return {
12+ props : {
13+ certificateId : typeof id === "string" ? id : "" ,
14+ } ,
15+ } ;
16+ }
17+
18+ export default VerifyById ;
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<urlset xmlns =" http://www.sitemaps.org/schemas/sitemap/0.9" xmlns : news =" http://www.google.com/schemas/sitemap-news/0.9" xmlns : xhtml =" http://www.w3.org/1999/xhtml" xmlns : mobile =" http://www.google.com/schemas/sitemap-mobile/1.0" xmlns : image =" http://www.google.com/schemas/sitemap-image/1.1" xmlns : video =" http://www.google.com/schemas/sitemap-video/1.1" >
3- <url ><loc >https://githubsrmist.in</loc ><lastmod >2025-12-02T08:58:50.626Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
4- <url ><loc >https://githubsrmist.in/about</loc ><lastmod >2025-12-02T08:58:50.627Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
5- <url ><loc >https://githubsrmist.in/contact</loc ><lastmod >2025-12-02T08:58:50.627Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
6- <url ><loc >https://githubsrmist.in/events</loc ><lastmod >2025-12-02T08:58:50.627Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
7- <url ><loc >https://githubsrmist.in/team</loc ><lastmod >2025-12-02T08:58:50.627Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
3+ <url ><loc >https://githubsrmist.in</loc ><lastmod >2026-04-05T07:30:16.240Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
4+ <url ><loc >https://githubsrmist.in/about</loc ><lastmod >2026-04-05T07:30:16.241Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
5+ <url ><loc >https://githubsrmist.in/contact</loc ><lastmod >2026-04-05T07:30:16.241Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
6+ <url ><loc >https://githubsrmist.in/events</loc ><lastmod >2026-04-05T07:30:16.241Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
7+ <url ><loc >https://githubsrmist.in/team</loc ><lastmod >2026-04-05T07:30:16.241Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
8+ <url ><loc >https://githubsrmist.in/verify</loc ><lastmod >2026-04-05T07:30:16.241Z</lastmod ><changefreq >daily</changefreq ><priority >0.7</priority ></url >
89</urlset >
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ export const API_ENDPOINTS = {
2626 CERTIFICATES : {
2727 GENERATE : `${ API_BASE_URL } /api/certificate/generate` , // POST - Generate a certificate for an event participant
2828 DOWNLOAD : ( certificateId ) => `${ API_BASE_URL } /api/certificate/download/${ certificateId } ?format=pdf` , // GET - Download a verified certificate (External)
29+ VERIFY : ( certificateId ) => `${ API_BASE_URL } /api/certificate/verify/${ certificateId } ` , // GET - Verify certificate authenticity
2930 } ,
3031} ;
3132export const API_CONFIG = {
You can’t perform that action at this time.
0 commit comments