File tree 4 files changed +26
-6
lines changed 4 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="UTF-8 " />
5
- < link rel ="icon " type ="image/svg+xml " href ="/vite .svg " />
5
+ < link rel ="icon " type ="image/svg+xml " href ="./src/img/github-mark-white .svg " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
- < title > Vite + React</ title >
7
+ < title >
8
+ Find Users
9
+ </ title >
8
10
</ head >
9
- < body >
11
+ < body class =" relative min-h-screen " >
10
12
< div id ="root "> </ div >
11
13
< script type ="module " src ="/src/main.jsx "> </ script >
12
14
</ body >
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import FindUser from "./components/FindUser";
3
3
import Header from "./components/Header" ;
4
4
import ShowUser from "./components/ShowUser" ;
5
5
import service from "./services/servicesUser" ;
6
+ import { Footer } from "./components/Footer" ;
6
7
7
8
function App ( ) {
8
9
const [ user , setUser ] = useState ( "" ) ;
@@ -38,6 +39,7 @@ function App() {
38
39
No User to search...
39
40
</ h1 >
40
41
) }
42
+ < Footer />
41
43
</ >
42
44
) ;
43
45
}
Original file line number Diff line number Diff line change
1
+ import React from 'react'
2
+ export const Footer = ( ) => {
3
<
F568
span class="diff-text-marker">+ return (
4
+ < footer className = "footer bg-[#988E6F] glass absolute bottom-0 items-center p-4 text-white" >
5
+ < div className = "items-center grid-flow-col" >
6
+
7
+ < p > DevKaliper © 2023 - All right reserved</ p >
8
+ </ div >
9
+ < div className = " md:place-self-center md:justify-self-end" >
10
+ < a href = 'https://github.com/DevKaliper' rel = 'noreferrer' target = '_blank' className = 'flex gap-2 justify-center items-center text-lg font-mono' > < img src = "./src/img/github-mark.png" className = 'invert' width = { 50 } alt = "" /> my Github
11
+ </ a >
12
+
13
+ </ div >
14
+ </ footer >
15
+ )
16
+ }
Original file line number Diff line number Diff line change 1
1
const Header = ( ) => {
2
2
return (
3
- < div className = "navbar glass gap-10 px-32 bg-[#655E4A ]" >
4
- < div className = "flex-1 btn btn-ghost normal-case text-xl relative " >
3
+ < div className = "navbar glass gap-10 px-32 bg-[#988E6F ]" >
4
+ < a href = "https://github.com/" target = "_blank" rel = "noreferrer" className = "flex-1 btn btn-ghost normal-case text-xl relative " >
5
5
< a className = "invisible md:visible" > Intergrated with </ a >
6
6
< img src = "./src/img/GitHub_Logo_White.png" className = "absolute md:relative" alt = "github" width = { 150 } />
7
- </ div >
7
+ </ a >
8
8
< div className = "flex-none" >
9
9
< a href = "https://github.com/DevKaliper/github-find-users" target = "_blank" rel = "noreferrer" className = "btn btn-square btn-ghost flex w-fit h-fit gap-3 justify-center items-center" >
10
10
< img src = "./src/img/github-mark.png" alt = "" width = { 50 } />
You can’t perform that action at this time.
0 commit comments