Skip to content

Commit 87ffdf9

Browse files
Merge pull request #146 from umdevclub/feat/discordLink
hotfix:fixed arrow not responding on homepage
2 parents 3e1e092 + 5492b9f commit 87ffdf9

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

src/resources/data/teamConfig.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const teamConfig: ITeam = {
3636
image: "/assets/team/2025/internal-simi.png",
3737
linkedin: "https://www.linkedin.com/in/similoluwa-adeniyi-a816ab307/",
3838
github: "https://github.com/Simi-jpg",
39+
discord: "https://discord.gg/g9jBx8TC",
3940
},
4041
{
4142
firstName: "Ashley",

src/routes/Home.tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,18 @@ function Home() {
8585
<source type="video/mp4" src={backgroundVideo} />
8686
</video>
8787

88-
<a href="#intro">
89-
<img className="arrow-homepage" src={arrow} alt="" />
90-
</a>
88+
<img
89+
className="arrow-homepage"
90+
src={arrow}
91+
alt=""
92+
style={{ cursor: "pointer" }}
93+
onClick={() => {
94+
const element = document.getElementById("intro");
95+
if (element) {
96+
element.scrollIntoView({ behavior: "smooth" });
97+
}
98+
}}
99+
/>
91100
<div className="white-background" id="intro">
92101
<div className="info">
93102
<div className="aboutAndText">

0 commit comments

Comments
 (0)