Skip to content

Instantly share code, notes, and snippets.

@supachaic
Last active January 8, 2019 04:40
Show Gist options
  • Save supachaic/fbee66c91653d004a9215d33b3b3ed0a to your computer and use it in GitHub Desktop.
Save supachaic/fbee66c91653d004a9215d33b3b3ed0a to your computer and use it in GitHub Desktop.
src/views/Home.js
import React, { Component } from 'react';
import { Link } from 'react-router-dom';
export default class Home extends Component {
render() {
return (
<div>
<h2>BNK48 Facial Recognition App</h2>
<li>
<Link to="/photo">Photo Input</Link>
</li>
<li>
<Link to="/camera">Video Camera</Link>
</li>
</div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment