Skip to content

Commit

Permalink
Merge pull request #67 from gamandeepsingh/test
Browse files Browse the repository at this point in the history
discord btn added
  • Loading branch information
AdityyaX authored Mar 28, 2024
2 parents dc5c2ce + bc721b1 commit e8a79c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions src/components/Landing/index.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import { TOP_SECTION } from "../../Module/General";
import MytypedComponent from "../Typed/index.js";
import { BiLogoDiscordAlt } from "react-icons/bi";
import "./style.css";
import React from "react";
const Btn = (props) => {
return (
<button className={props.class}>
<i className={props.ico}></i>
<span style={{margin:"10px"}}>
<BiLogoDiscordAlt fontSize={32} />
</span>
{props.type}
<div className="overlay">
<div className="overlay-text">{props.overlay}</div>
Expand Down Expand Up @@ -62,8 +66,9 @@ const Myinfo = () => {
></div>
<br />
<div className="registerbtn">
<a href="https://forms.gle/LabTKRJEHvyZuXd78" target="_blank">
<Btn className="register" type="Register" overlay="Now" />
<a href="https://discord.gg/8c9TrtjqNE" target="_blank">
{/* <BiLogoDiscordAlt fontSize={30}/> */}
<Btn className="discord" type="Discord" overlay="Join Now" />
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/components/Routes/Discord.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, {useEffect} from 'react';

function Discord() {
useEffect(() => {
window.location.href = 'https://discord.gg/8XJSzmtWPp';
window.location.href = 'https://discord.gg/8c9TrtjqNE';
}, []);
return <div></div>;
}
Expand Down

0 comments on commit e8a79c4

Please sign in to comment.