Skip to content

Commit 03af7a5

Browse files
authored
Merge pull request #74 from devvsakib/development
pages created issue #73
2 parents 04ad273 + 08eecc9 commit 03af7a5

7 files changed

Lines changed: 103 additions & 14 deletions

File tree

package-lock.json

Lines changed: 73 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { useState } from "react";
22
import "./index.css";
33
import Error from "./components/Error/Error";
4-
import Header from "./components/Header/Header";
54
import SearchInput from "./components/Search/SearchInput";
65
import Layout from "./components/Layout/Layout";
76

87
function App() {
98
const [search, setSearch] = useState('')
109
const [type, setType] = useState('')
1110
return (
11+
1212
<>
1313
<Layout>
1414
<SearchInput

src/components/Doc/Doc.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import React from 'react';
2-
import Header from '../Header/Header';
32
import Layout from '../Layout/Layout';
43
import DocItem from './DocItem';
54

65
const 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

src/components/Header/Header.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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" />

src/pages/Home.jsx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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

src/pages/doc.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)