File tree 12 files changed +59
-57
lines changed
12 files changed +59
-57
lines changed Original file line number Diff line number Diff line change @@ -71,22 +71,7 @@ html {
71
71
left : 0 ;
72
72
}
73
73
74
- .loading {
75
- display : flex;
76
- align-items : center;
77
- justify-content : center;
78
- color : # e6700f ;
79
- font-size : 40px ;
80
- }
81
74
82
- .fa-spinner {
83
- animation : rotate 800ms infinite linear;
84
- display : none !important ;
85
- }
86
-
87
- .loading .fa-spinner {
88
- display : block !important ;
89
- }
90
75
91
76
@keyframes rotate {
92
77
0% {
@@ -181,29 +166,7 @@ html {
181
166
height : 60px ;
182
167
}
183
168
184
- .search__form {
185
- display : flex;
186
- align-items : center;
187
- }
188
-
189
- .search__box {
190
- padding : 20px 80px 20px 20px ;
191
- border : 2px solid # e6700f ;
192
- border-radius : 40px ;
193
- margin-right : 16px ;
194
- font-size : 18px ;
195
-
196
- }
197
-
198
- .search__button {
199
- border : none;
200
- background-color : # ffffff ;
201
-
202
- }
203
-
204
- .search__button--icon {
205
- font-size : 20px ;
206
- }
169
+
207
170
208
171
.fa-searchengin
209
172
{
@@ -262,18 +225,7 @@ html {
262
225
border-color : # e6700f ;
263
226
}
264
227
265
- /* no results */
266
-
267
- .nores {
268
- height : 500px ;
269
- }
270
228
271
- .nores__para {
272
- margin-top : 40px ;
273
- color : # e6700f ;
274
- font-size : 24px ;
275
- }
276
-
277
229
/* footer */
278
230
279
231
footer {
Original file line number Diff line number Diff line change 1
1
import React , { useEffect , useState } from "react" ;
2
2
import { useParams } from "react-router-dom" ;
3
3
import Loading from "./ui/Loading" ;
4
- import "App.css" ;
4
+ import "./ App.css" ;
5
5
6
6
function AnimeInfo ( ) {
7
7
const { id } = useParams ( ) ;
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import "App.css" ;
2
+ import "./ App.css" ;
3
3
import footerLogo from '../assets/skull.gif' ;
4
4
import { Link } from 'react-router-dom' ;
5
5
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Search from "./ui/Search";
3
3
import Anime from "./ui/Anime" ;
4
4
import Loading from "./ui/Loading" ;
5
5
import mainImg from '../assets/skull-knight.gif' ;
6
- import "App.css" ;
6
+ import "./ App.css" ;
7
7
8
8
function Landing ( { searchRedirect } ) {
9
9
const [ trendingList , setTrending ] = useState ( [ ] ) ;
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import 'App.css' ;
2
+ import './ App.css' ;
3
3
import navLogo from '../assets/2_all-the-anime-logo.png' ;
4
4
import navLogo2 from '../assets/behelit.png' ;
5
5
import { Link } from "react-router-dom" ;
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import "Anime.css" ;
2
+ import "./ Anime.css" ;
3
3
import { Link } from "react-router-dom" ;
4
4
5
5
function Anime ( { title, cover, id } ) {
Original file line number Diff line number Diff line change
1
+ .loading {
2
+ display : flex;
3
+ align-items : center;
4
+ justify-content : center;
5
+ color : # e6700f ;
6
+ font-size : 40px ;
7
+ }
8
+
9
+ .fa-spinner {
10
+ animation : rotate 800ms infinite linear;
11
+ display : none !important ;
12
+ }
13
+
14
+ .loading .fa-spinner {
15
+ display : block !important ;
16
+ }
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
3
- import "../src/App .css"
3
+ import "./Loading .css" ;
4
4
5
5
function Loading ( ) {
6
6
return (
Original file line number Diff line number Diff line change
1
+ /* no results */
2
+
3
+ .nores {
4
+ height : 500px ;
5
+ }
6
+
7
+ .nores__para {
8
+ margin-top : 40px ;
9
+ color : # e6700f ;
10
+ font-size : 24px ;
11
+ }
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
- import "App .css" ;
2
+ import "./NoRes .css" ;
3
3
4
4
function NoRes ( ) {
5
5
return (
Original file line number Diff line number Diff line change
1
+ .search__form {
2
+ display : flex;
3
+ align-items : center;
4
+ }
5
+
6
+ .search__box {
7
+ padding : 20px 80px 20px 20px ;
8
+ border : 2px solid # e6700f ;
9
+ border-radius : 40px ;
10
+ margin-right : 16px ;
11
+ font-size : 18px ;
12
+
13
+ }
14
+
15
+ .search__button {
16
+ border : none;
17
+ background-color : # ffffff ;
18
+
19
+ }
20
+
21
+ .search__button--icon {
22
+ font-size : 20px ;
23
+ }
Original file line number Diff line number Diff line change 1
1
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
2
2
import React from "react" ;
3
3
4
- import "App .css" ;
4
+ import "./Search .css" ;
5
5
6
6
function Search ( { searchRedirect } ) {
7
7
return (
You can’t perform that action at this time.
0 commit comments