File tree 1 file changed +13
-9
lines changed
1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import AOS from 'aos';
5
5
import 'aos/dist/aos.css' ;
6
6
import 'bulma/css/bulma.css'
7
7
import '../App.css' ;
8
-
8
+ import Scrollchor from 'react-scrollchor' ;
9
9
10
10
AOS . init ( ) ;
11
11
function Navbar ( ) {
@@ -80,16 +80,20 @@ return(
80
80
< a className = "navbar-item text-gray-600 text-md font-bold " href = "/" >
81
81
Home
82
82
</ a >
83
- < a className = "navbar-item text-gray-600 text-md font-bold " href = "#about" >
83
+
84
+ < Scrollchor to = "#about" className = "navbar-item text-gray-600 text-md font-bold" >
85
+
84
86
About
85
- </ a >
87
+ </ Scrollchor >
86
88
87
- < a className = "navbar-item text-gray-600 text-md font-bold" href = "#sponsors" >
88
- Sponsors
89
- </ a >
90
- < a className = "navbar-item text-md font-bold" href = "#contributors" >
91
- Contributors
92
- </ a >
89
+ < Scrollchor to = "#sponsors" className = "navbar-item text-gray-600 text-md font-bold" >
90
+
91
+ Sponsors
92
+ </ Scrollchor >
93
+ < Scrollchor to = "#contributors" className = "navbar-item text-gray-600 text-md font-bold" >
94
+
95
+ Contributors
96
+ </ Scrollchor >
93
97
</ div >
94
98
95
99
< div className = "navbar-end" >
You can’t perform that action at this time.
0 commit comments