File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 11import './App.css'
22import About from './components/about'
3- import Certifications from './components/certifications'
43import Contact from './components/contact'
54import Divider from './components/divider'
65import Footer from './components/footer'
@@ -14,7 +13,7 @@ function App() {
1413 return (
1514 < div className = "App mx-auto md:mockup-window md:border bg-base-300 md:my-2 mx-2" >
1615 < div className = "md:px-16 md:py-4 max-[640px]:px-4 bg-base-100" >
17- < Navbar />
16+ < Navbar bio = { bio } />
1817 < Header bio = { bio } />
1918 < About aboutMe = { bio . aboutMe } />
2019 < Divider />
Original file line number Diff line number Diff line change 1- import { bio } from '../data'
2- function Navbar ( ) {
1+ function Navbar ( { bio } ) {
32 return (
43 < div className = "navbar" >
54 < div className = "navbar-start" >
@@ -11,6 +10,15 @@ function Navbar () {
1110 < li > < a > Home</ a > </ li >
1211 < li > < a href = "#about" > About</ a > </ li >
1312 < li > < a href = "#contact" > Contact</ a > </ li >
13+ {
14+ bio . socials . map ( social => {
15+ return (
16+ < li key = { social . id } >
17+ < a href = { social . link } target = "_blank" > { social . title } </ a >
18+ </ li >
19+ )
20+ } )
21+ }
1422 < li > < a href = { bio . resumeUrl } target = "_blank" > Resume</ a > </ li >
1523 </ ul >
1624 </ div >
You can’t perform that action at this time.
0 commit comments