File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 11import { useState } from "react" ;
22import "./index.css" ;
33import Error from "./components/Error/Error" ;
4- import Header from "./components/Header/Header" ;
54import SearchInput from "./components/Search/SearchInput" ;
65import Layout from "./components/Layout/Layout" ;
76
87function App ( ) {
98 const [ search , setSearch ] = useState ( '' )
109 const [ type , setType ] = useState ( '' )
1110 return (
11+
1212 < >
1313 < Layout >
1414 < SearchInput
Original file line number Diff line number Diff line change 11import React from 'react' ;
2- import Header from '../Header/Header' ;
32import Layout from '../Layout/Layout' ;
43import DocItem from './DocItem' ;
54
65const Doc = ( ) => {
76 return (
8- < Layout >
97 < div className = 'w-full md:w-5/6 mx-auto px-4 py-8' >
108 < div className = "grid grid-cols-1 md:grid-cols-2 gap-8" >
119 < div >
@@ -65,7 +63,6 @@ const Doc = () => {
6563 </ div >
6664 </ div >
6765 </ div >
68- </ Layout >
6966 ) ;
7067} ;
7168
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ function Header({ notice }) {
99 GITHUB <span className="text-primary line-through">ERROR</span> SOLVE
1010 </h1> */ }
1111 < Link to = { '/' } >
12- < img src = "assets/TEST2 .png" className = "w-36" alt = "" />
12+ < img src = "assets/logo .png" className = "w-36" alt = "GES " />
1313 </ Link >
1414 < div className = "flex mt-2 md:mt-0 items-center gap-3 text-sm" >
1515 < MdConstruction className = "text-lg" />
Original file line number Diff line number Diff line change 1+ import React , { useState } from 'react'
2+ import Error from "../components/Error/Error" ;
3+ import SearchInput from "../components/Search/SearchInput" ;
4+ import Layout from "../components/Layout/Layout" ;
5+
6+ const Home = ( ) => {
7+ const [ search , setSearch ] = useState ( '' )
8+ const [ type , setType ] = useState ( '' )
9+ return (
10+ < >
11+ < Layout >
12+ < SearchInput
13+ search = { search }
14+ setSearch = { setSearch }
15+ setType = { setType }
16+ />
17+ < Error
18+ search = { search }
19+ type = { type }
20+ />
21+ </ Layout >
22+
23+ </ >
24+ )
25+ }
26+
27+ export default Home
Original file line number Diff line number Diff line change 1+
You can’t perform that action at this time.
0 commit comments