Skip to content

Commit 02226d6

Browse files
committed
replaced link with a href
1 parent ba662f3 commit 02226d6

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

src/App.css

+9-3
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,11 @@ html {
310310
.title {
311311
font-size: 32px;
312312
}
313+
.anime-img--wrapper{
314+
max-width: 300px;
315+
316+
}
317+
313318

314319
.search__form {
315320
justify-content: center;
@@ -326,15 +331,16 @@ html {
326331
.nav__link {
327332
display: none;
328333
}
334+
.nav__link:nth-child(2) {
335+
display: block;
336+
}
329337
.nav__logo
330338
{
331339
width: 120px;
332340
height: 20px;
333341
}
334342

335-
.nav__link:nth-child(1) {
336-
display: block;
337-
}
343+
338344

339345
.header__container {
340346
padding: 20px;

src/components/Footer.jsx

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
import "./Footer.css";
33
import footerLogo from '../assets/skull.gif';
4-
import { Link } from 'react-router-dom';
4+
55

66

77
const Footer = () => {
@@ -11,38 +11,38 @@ const Footer = () => {
1111
<div className="container">
1212
<div className="row">
1313
<div className="footer__container">
14-
<Link to="/#nav">
14+
<a href="/#nav">
1515
<figure className="footer__logo--wrapper">
1616
<img
1717
src={footerLogo}
1818
className="footer__logo"
1919
alt=""
2020
/>
2121
</figure>
22-
</Link>
22+
</a>
2323
<div className="footer__link--list">
2424
<div className="footer__link">
25-
<Link to ="/#nav" className="footer__link--anchor link__hover">
25+
<a href ="/#nav" className="footer__link--anchor link__hover">
2626
Home
27-
</Link>
27+
</a>
2828
</div>
2929
<div className="footer__link">
30-
<Link to="/#search" className="footer__link--anchor link__hover">
30+
<a href="/#search" className="footer__link--anchor link__hover">
3131
Search
32-
</Link>
32+
</a>
3333
</div>
3434
<div className="footer__link">
3535

36-
<Link to="/#trending"
36+
<a href="/#trending"
3737
className="footer__link--anchor link__hover"
3838
>
3939
Trending
40-
</Link>
40+
</a>
4141
</div>
4242
<div className="footer__link">
43-
<Link to ="#popular" className="footer__link--anchor link__hover">
43+
<a href ="#popular" className="footer__link--anchor link__hover">
4444
Popular
45-
</Link>
45+
</a>
4646
</div>
4747
</div>
4848
<div className="footer__copyright">

0 commit comments

Comments
 (0)