@@ -3,42 +3,57 @@ import {
33 Navbar ,
44 Nav ,
55 NavDropdown ,
6- Image
6+ Image ,
7+ Form ,
8+ FormControl ,
9+ Button
710} from 'react-bootstrap'
811import './NavBar.css'
912import logo from '../../newlogo.png' ;
10-
11- import { Link } from 'react-router-dom'
13+ import { Link , Route } from 'react-router-dom' ;
1214const NavBar = ( ) => {
1315 return (
14- < Navbar collapseOnSelect expand = "lg" bg = "white" variant = " light" fixed = " top" class = "navbar " id = "myNav" >
16+ < nav class = "navbar navbar-expand-lg navbar-light bg- light fixed- top" id = "myNav" >
1517 < div className = "container" >
16- < Navbar . Brand href = "/" > < Link to = "/" > < Image id = "logo" src = { logo } alt = "codeuino logo" style = { { heigth :"20vh" , width :"10vw" } } /> </ Link > </ Navbar . Brand >
17- < Navbar . Toggle aria-controls = "responsive-navbar-nav" data-toggle = "collapse" data-target = "#myDropdown" />
18- < Navbar . Collapse id = "responsive-navbar-nav" style = { { backgroundColor :"white" } } >
19- < Nav className = "mr-auto" >
20-
21- </ Nav >
22- < Nav >
23- < Link to = "/" > < Nav . Link href = "/" className = "nav-key" > Home</ Nav . Link > </ Link >
24- < NavDropdown title = "Activities" className = "nav-key" id = "responsive-navbar-nav" >
25- < NavDropdown . Item data-target = ".navbar-collapse.show" href = "/#/gsoc19" style = { { "textAlign" : "center" } } > GSOC 2019</ NavDropdown . Item >
26- < NavDropdown . Item data-target = ".navbar-collapse.show" href = "/#/gci19" style = { { "textAlign" : "center" } } > GCI 2019-20</ NavDropdown . Item >
27- < NavDropdown . Item data-target = ".navbar-collapse.show" href = "/#/kwoc18" style = { { "textAlign" : "center" } } > KWOC 2018</ NavDropdown . Item >
28- < NavDropdown . Item data-target = ".navbar-collapse.show" href = "/#/gssoc19" style = { { "textAlign" : "center" } } > GSSOC 2019</ NavDropdown . Item >
29- </ NavDropdown >
30- { /* <Navbar.Dropdown>
31-
32- </Navbar.Dropdown> */ }
33- < Link to = "/team" > < Nav . Link href = "/team" className = "nav-key" > Team</ Nav . Link > </ Link >
34- < Nav . Link href = "https://docs.codeuino.org/documentation/" className = "nav-key" > Docs</ Nav . Link >
35- < Link to = "/about" > < Nav . Link href = "/about" className = "nav-key" > About Us</ Nav . Link > </ Link >
36- < Link to = "/bloglist" > < Nav . Link href = "/bloglist" className = "nav-key" > Blog</ Nav . Link > </ Link >
37- < Link to = "/joinus" > < Nav . Link href = "/joinus" className = "nav-key" > Join Us</ Nav . Link > </ Link >
38- </ Nav >
39- </ Navbar . Collapse >
18+ < a class = "navbar-brand" href = "/" > < Image id = "logo" src = { logo } alt = "codeuino logo" style = { { heigth :"20vh" , width :"10vw" } } /> </ a >
19+ < button class = "navbar-toggler" type = "button" data-toggle = "collapse" data-target = "#navbarSupportedContent" aria-controls = "navbarSupportedContent" aria-expanded = "false" aria-label = "Toggle navigation" >
20+ < span class = "navbar-toggler-icon" > </ span >
21+ </ button >
22+ < div class = "collapse navbar-collapse" id = "navbarSupportedContent" >
23+ < ul class = "navbar-nav ml-auto" >
24+ < li class = "nav-item" >
25+ < a class = "nav-link" href = "/" > Home < span class = "sr-only" > (current)</ span > </ a >
26+ </ li >
27+ < li class = "nav-item dropdown" >
28+ < a class = "nav-link dropdown-toggle" href = "#" id = "navbarDropdown" role = "button" data-toggle = "dropdown" aria-haspopup = "true" aria-expanded = "false" >
29+ Activities
30+ </ a >
31+ < div class = "dropdown-menu" aria-labelledby = "navbarDropdown" >
32+ < a class = "dropdown-item" href = "https://docs.codeuino.org/documentation/activities/google-summer-of-code-2019" style = { { textAlign : "center" } } > GSOC 2019</ a >
33+ < a class = "dropdown-item" href = "https://github.com/codeuino/gci" style = { { textAlign : "center" } } > GCI 2019-20</ a >
34+ < a class = "dropdown-item" href = "https://kwoc.kossiitkgp.org/" style = { { textAlign : "center" } } > KWOC 2018</ a >
35+ < a class = "dropdown-item" href = "https://www.gssoc.tech/index.html" style = { { textAlign : "center" } } > GSSOC 2019</ a >
36+ </ div >
37+ </ li >
38+ < li class = "nav-item" >
39+ < a class = "nav-link" href = "/team" > Team< span class = "sr-only" > (current)</ span > </ a >
40+ </ li >
41+ < li class = "nav-item" >
42+ < a class = "nav-link" href = "https://docs.codeuino.org/documentation/" > Docs< span class = "sr-only" > (current)</ span > </ a >
43+ </ li >
44+ < li class = "nav-item" >
45+ < a class = "nav-link" href = "/about" > About Us< span class = "sr-only" > (current)</ span > </ a >
46+ </ li >
47+ < li class = "nav-item" >
48+ < a class = "nav-link" href = "/bloglist" > Blogs< span class = "sr-only" > (current)</ span > </ a >
49+ </ li >
50+ < li class = "nav-item" >
51+ < a class = "nav-link" href = "/bloglist" > Join Us< span class = "sr-only" > (current)</ span > </ a >
52+ </ li >
53+ </ ul >
4054 </ div >
41- </ Navbar >
55+ </ div >
56+ </ nav >
4257 )
4358}
4459export default NavBar
0 commit comments