-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added certificates to the website and updated teampage UI
- Loading branch information
Showing
36 changed files
with
105 additions
and
255 deletions.
There are no files selected for viewing
Binary file not shown.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
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 |
---|---|---|
|
@@ -21,7 +21,6 @@ function Landing() { | |
/> | ||
</div> | ||
</section> | ||
<section id={styles.landingPageDesign} /> | ||
</div> | ||
); | ||
} | ||
|
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
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
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,60 @@ | ||
// import GDSCNITANDHRA_WS2022_WEB_001 from "../../public/certificates/page_001.pdf"; | ||
// import GDSCNITANDHRA_WS2022_GGH_001 from "../../public/certificates/page_002.pdf"; | ||
// import GDSCNITANDHRA_WS2022_WEB_002 from "../../public/certificates/page_003.pdf"; | ||
// import GDSCNITANDHRA_WS2022_GGH_002 from "../../public/certificates/page_004.pdf"; | ||
// import GDSCNITANDHRA_WS2022_WEB_003 from "../../public/certificates/page_005.pdf"; | ||
// import GDSCNITANDHRA_WS2022_GGH_003 from "../../public/certificates/page_006.pdf"; | ||
// import GDSCNITANDHRA_WS2022_WEB_004 from "../../public/certificates/page_007.pdf"; | ||
// import GDSCNITANDHRA_WS2022_GGH_004 from "../../public/certificates/page_008.pdf"; | ||
// import GDSCNITANDHRA_WS2022_WEB_005 from "../../public/certificates/page_009.pdf"; | ||
// import GDSCNITANDHRA_WS2022_GGH_005 from "../../public/certificates/page_010.pdf"; | ||
// import GDSCNITANDHRA_WS2022_WEB_006 from "../../public/certificates/page_011.pdf"; | ||
// import GDSCNITANDHRA_WS2022_GGH_006 from "../../public/certificates/page_012.pdf"; | ||
// import GDSCNITANDHRA_WS2022_DSA_006 from "../../public/certificates/page_013.pdf"; | ||
// import GDSCNITANDHRA_WS2022_WEB_007 from "../../public/certificates/page_014.pdf"; | ||
// import GDSCNITANDHRA_WS2022_GGH_007 from "../../public/certificates/page_015.pdf"; | ||
// import GDSCNITANDHRA_WS2022_WEB_008 from "../../public/certificates/page_016.pdf"; | ||
// import GDSCNITANDHRA_WS2022_GGH_008 from "../../public/certificates/page_017.pdf"; | ||
// import GDSCNITANDHRA_WS2022_GGH_009 from "../../public/certificates/page_018.pdf"; | ||
// import GDSCNITANDHRA_WS2022_WEB_010 from "../../public/certificates/page_019.pdf"; | ||
// import GDSCNITANDHRA_WS2022_WEB_011 from "../../public/certificates/page_020.pdf"; | ||
|
||
const certificatePairs = { | ||
GDSCNITANDHRA_WS2022_WEB_001: "./page_001.pdf", | ||
GDSCNITANDHRA_WS2022_GGH_001: "./page_002.pdf", | ||
GDSCNITANDHRA_WS2022_WEB_002: "./page_003.pdf", | ||
GDSCNITANDHRA_WS2022_GGH_002: "./page_004.pdf", | ||
GDSCNITANDHRA_WS2022_WEB_003: "./page_00.5pdf", | ||
GDSCNITANDHRA_WS2022_GGH_003: "./page_006.pdf", | ||
GDSCNITANDHRA_WS2022_WEB_004: "./page_007.pdf", | ||
GDSCNITANDHRA_WS2022_GGH_004: "./page_008.pdf", | ||
GDSCNITANDHRA_WS2022_WEB_005: "./page_009.pdf", | ||
GDSCNITANDHRA_WS2022_GGH_005: "./page_010.pdf", | ||
GDSCNITANDHRA_WS2022_WEB_006: "./page_011.pdf", | ||
GDSCNITANDHRA_WS2022_GGH_006: "./page_012.pdf", | ||
GDSCNITANDHRA_WS2022_DSA_006: "./page_013.pdf", | ||
GDSCNITANDHRA_WS2022_WEB_007: "./page_014.pdf", | ||
GDSCNITANDHRA_WS2022_GGH_007: "./page_015.pdf", | ||
GDSCNITANDHRA_WS2022_WEB_008: "./page_016.pdf", | ||
GDSCNITANDHRA_WS2022_GGH_008: "./page_017.pdf", | ||
GDSCNITANDHRA_WS2022_GGH_009: "./page_018.pdf", | ||
GDSCNITANDHRA_WS2022_WEB_010: "./page_019.pdf", | ||
GDSCNITANDHRA_WS2022_WEB_011: "./page_020.pdf", | ||
}; | ||
|
||
function PDF({ id }) { | ||
return ( | ||
<iframe | ||
style={{ | ||
height: "100%", | ||
width: "100%", | ||
position: "absolute", | ||
zIndex: "100", | ||
}} | ||
src={certificatePairs[id]} | ||
allow="autoplay" | ||
/> | ||
); | ||
} | ||
|
||
export default PDF; |
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,11 @@ | ||
import { useRouter } from "next/router"; | ||
import dynamic from "next/dynamic"; | ||
const Load = dynamic(() => import("./PDF.js"), { ssr: false }); | ||
|
||
function Id() { | ||
const router = useRouter(); | ||
const { id } = router.query; | ||
return <Load id={id} />; | ||
} | ||
|
||
export default Id; |
Binary file not shown.
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
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 |
---|---|---|
|
@@ -13,8 +13,6 @@ function Contact() { | |
return ( | ||
<> | ||
<h1 id={styles.contactHeading}>Contact Us</h1> | ||
<Image id={styles.page} src={page} alt="" /> | ||
|
||
<div id={styles.contactContainer}> | ||
{/* <form | ||
action="mailto:[email protected]" | ||
|
@@ -49,27 +47,6 @@ function Contact() { | |
<IframeComponent id={styles.contactUsForm} /> | ||
<Image priority={true} src={curiousity} alt="" /> | ||
</div> | ||
|
||
<div id={styles.socialLinks}> | ||
<p>Lets connect! </p> | ||
<div> | ||
<Link | ||
href="https://www.linkedin.com/company/gdscnitandhra/" | ||
target={"_blank"} | ||
> | ||
<Image src={linkedin} alt="linkedin" /> | ||
</Link> | ||
<Link href="mailto:[email protected]" target={"_blank"}> | ||
<Image src={mail} alt="mail" /> | ||
</Link> | ||
<Link href="https://twitter.com/gdscnitandhra" target={"_blank"}> | ||
<Image src={twitter} alt="twitter" /> | ||
</Link> | ||
<Link href="https://www.youtube.com/@gdscnitandhra"> | ||
<Image src={youtube} alt="youtube" /> | ||
</Link> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
Oops, something went wrong.