Skip to content

Commit a99898f

Browse files
Merge pull request #26 from Aksh-Bansal-dev/latest2
fix: broken img on homepage
2 parents ef39e5d + 7255ff8 commit a99898f

4 files changed

Lines changed: 12 additions & 7 deletions

File tree

frontend/src/components/Navs/homeNav/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ const HomeNav: React.FC = () => {
88
<ul className={styles.nav}>
99
<NavLinks />
1010
</ul>
11-
<img
12-
className={styles.vector}
13-
src="/webix.iiitdmj.ac.in/images/ComponentTMP_0-image7.png"
14-
alt=""
15-
/>
1611
</div>
1712
);
1813
};

frontend/src/components/aboutUs/index.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from "react";
2+
import { Link } from "react-router-dom";
23
import styles from "./style.module.css";
34

45
const AboutUs: React.FC = () => {
@@ -20,7 +21,11 @@ const AboutUs: React.FC = () => {
2021
<p className={styles.para}>
2122
We try to help each other learn new programming skills organize
2223
sessions and competitions let everyone know of ongoing activities in
23-
coding community and how they can use them for their benefits.
24+
coding community and how they can use them for their{" "}
25+
<Link className={styles.hide} to="/bangbang">
26+
benefits
27+
</Link>
28+
.
2429
</p>
2530
<p className={styles.para}>
2631
Be it getting an internship in a startup company, cracking open

frontend/src/components/aboutUs/style.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
font-weight: 400;
2828
margin: 2vh;
2929
}
30+
.hide {
31+
text-decoration: none;
32+
cursor: text;
33+
color: white;
34+
}
3035

3136
.vectors {
3237
padding-top: 65vh;

frontend/src/pages/NotFound/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ const useStyles = makeStyles(() =>
2525
const NotFound: React.FC = () => {
2626
const classes = useStyles();
2727
const location = useLocation();
28-
console.log(location.pathname);
2928
if (location.pathname === "/bangbang") {
3029
return (
3130
<div className={classes.root}>
31+
<input type="hidden" value="You got me!" />
3232
<img
3333
src="https://i.giphy.com/media/gU25raLP4pUu4/giphy.webp"
3434
className={classes.fullScreen}

0 commit comments

Comments
 (0)