We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ee0147 commit f19655dCopy full SHA for f19655d
src/components/home-page/HomePage.components.jsx
@@ -2,11 +2,12 @@ import React from "react"
2
import Hero from '../hero/Hero.component'
3
import { NotesList } from '../notes-list/NotesList.component'
4
import { Link } from 'react-router-dom'
5
+import { Button } from '../button/Button.component'
6
7
export const HomePage = ({allNotes}) => (
8
<>
9
<Hero>Nifty Notes App</Hero>
10
+ <Link style={{'text-align': 'center', 'display': 'block'}} to='/add_note'><Button classes="add-note">Add Note</Button></Link>
11
<NotesList notes={allNotes}></NotesList>
- <Link to='/add_note'><button>Add Note</button></Link>
12
</>
13
)
0 commit comments