Skip to content

Commit 1e97b22

Browse files
committed
some fix
1 parent 6ca7695 commit 1e97b22

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

src/components/Footer/Footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const Footer = () => {
2727
));
2828

2929
return (
30-
<div className={classes.footer}>
30+
<div id="contact" className={classes.footer}>
3131
<div className={classes.inner}>
3232
{/* <MantineLogo size={28} /> */}
3333
<img className={classes.image11} src={logo} alt="Logo" />

src/components/Navbar/Navbar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ const Navbar = () => {
2424
<Group>
2525
<img className={classes.logo} src={logo} alt="Logo" />
2626
<h3>
27-
<a href="/" className={classes.appName}>
27+
<Link to="/" className={classes.appName}>
2828
ZERODAY ALLIANCE
29-
</a>
29+
</Link>
3030
</h3>
3131
</Group>
3232

src/pages/Teams/Teams.jsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { useEffect } from "react";
12
import {
23
MantineProvider,
34
Container,
@@ -15,12 +16,16 @@ import Footer from "../../components/Footer";
1516
import teams from "./data";
1617

1718
const Teams = () => {
19+
useEffect(() => {
20+
scrollTo(0, 0);
21+
}, []);
22+
1823
return (
1924
<MantineProvider defaultColorScheme="dark">
2025
<Navbar />
2126
<Container className={classes.container}>
2227
<Title className={classes.heading} order={1}>
23-
Meet Our Core Teams
28+
Our Core Teams
2429
</Title>
2530
<Stack align="stretch" justify="center" gap="xl">
2631
{teams.map((team, index) => {
@@ -68,7 +73,7 @@ const Teams = () => {
6873
})}
6974
</Stack>
7075
</Container>
71-
<Footer/>
76+
<Footer />
7277
</MantineProvider>
7378
);
7479
};

0 commit comments

Comments
 (0)