Skip to content

Commit

Permalink
Conflict fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Sanchez committed May 17, 2020
2 parents ed33e8d + 7e2db00 commit 8b58758
Show file tree
Hide file tree
Showing 4 changed files with 9,131 additions and 2 deletions.
8 changes: 7 additions & 1 deletion js/app/components/Navbar.js
Expand Up @@ -4,13 +4,19 @@ import { Button } from 'antd/lib/button/button';


const Navbar = (props) => {
<<<<<<< HEAD
return (
<nav>
<Button type='primary'>
<Link activeClassName="active" href="/"> Todo page</Link>
=======
return (<nav>
<Button type='pri'>
<Link activeClassName="active" href="/">! Todo page !</Link>
>>>>>>> 7e2db008e5374bf984c51e053622f1eb58462878
</Button>
<Button>
<Link activeClassName="active" href="/login"> Login page</Link>
<Link activeClassName="active" href="/login">! Login page !</Link>
</Button>
</nav>
)
Expand Down
28 changes: 28 additions & 0 deletions js/app/components/test.js
@@ -0,0 +1,28 @@
import { h} from 'preact';

function TodoItems() {
return (
<ul>
<li>A</li>
<li>B</li>
<li>C</li>
</ul>
)
}

export default TodoItems;
//const App = (
// <ul>
// <TodoItems />
// <li>D</li>
// </ul>
//);

//render(App, container);
// Renders:
// <ul>
// <li>A</li>
// <li>B</li>
// <li>C</li>
// <li>D</li>
// </ul>
3 changes: 2 additions & 1 deletion js/app/pages/TodoPage.js
@@ -1,11 +1,12 @@
import { h, Fragment } from 'preact'

import TodoItems from '../components/test'

const TodoPage = (props) => {

return (
<Fragment>
<h1> Todo Page</h1>
<TodoItems></TodoItems>
</Fragment>


Expand Down

0 comments on commit 8b58758

Please sign in to comment.