Skip to content

Commit

Permalink
Merge pull request #51 from AdityyaX/main
Browse files Browse the repository at this point in the history
devfoliio integrations done
  • Loading branch information
AdityyaX authored Mar 25, 2024
2 parents c6e8295 + a273949 commit 65a565c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 24 deletions.
4 changes: 2 additions & 2 deletions src/Module/General.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ const TeamInfo = [
];

const titleSponsor = [{src: twenty}];
const platinumSponsor = [{src: seventeen}, {src: fire}];
const goldSponsor = [{src: fifteen}];
const platinumSponsor = [{src: seventeen}, {src: fire}, {src: "https://s3.ap-south-1.amazonaws.com/innohacks3.0/polygon-removebg-preview.png"}];
const goldSponsor = [{src: "https://s3.ap-south-1.amazonaws.com/innohacks3.0/images-removebg-preview.png"}];
const silverSponsor = [{src: eight}, {src: first}, {src: second}, {src: sixteen},
{src: forth}, {src: fifth}, {src: sixth},
{src: seventh}, {src: nine}, {src: twelve},
Expand Down
47 changes: 25 additions & 22 deletions src/components/Landing/index.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { TOP_SECTION } from "../../Module/General";
import MytypedComponent from "../Typed/index.js";
import "./style.css";

import React from "react";
const Btn = (props) => {
return (
<button className={props.class}>
Expand All @@ -14,6 +14,7 @@ const Btn = (props) => {
);
};


const About = () => {
const titleStyle = {
background: "linear-gradient(to right, #26feeb, #ffffff)",
Expand All @@ -36,34 +37,36 @@ const About = () => {
};

const Myinfo = () => {
React.useEffect(() => {
const script = document.createElement('script');
script.src = 'https://apply.devfolio.co/v2/sdk.js';
script.async = true;
script.defer = true;
document.body.appendChild(script);
return () => {
document.body.removeChild(script);
}
}, []);

return (
<div className="Myinfo">
<About />
<p className="topsection"> {TOP_SECTION.SHORT_DESCRIPTION}</p>
<div className="buttom-group">
<div className="join_dis">
<div>
<a
rel="noreferrer"
target="_blank"
href="https://discord.gg/qNmEeAsuqQ"
>
<Btn
ico="fab fa-2x fa-discord"
className="join_disco"
type="&nbsp;&nbsp;&nbsp;Join Discord"
overlay="Now"
style={{ display: "flex", justifyContent: "center" }}
/>
</a>
</div>
<div className="registerbtn">
<div className="buttom-group" style={{display:"flex", flexDirection:"column"}}>

<div
class="apply-button"
data-hackathon-slug="YOUR-HACKATHON-SLUG"
data-button-theme="light"
style={{ height: "44px", width: "312px" }}
></div>
<br />
<div className="registerbtn">
<a href="https://forms.gle/LabTKRJEHvyZuXd78" target="_blank">
{" "}
<Btn className="register" type="Register " overlay="Now" style={{ marginLeft: "50px" }}/>
<Btn class="register" type="Register" overlay="Now" />
</a>
</div>
</div>

</div>
</div>
);
Expand Down

0 comments on commit 65a565c

Please sign in to comment.