Skip to content

Instantly share code, notes, and snippets.



Created Jul 18, 2020
What would you like to do?
import React, { Component } from 'react';
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
import { Home } from './Home';
import { About } from './About';
import { Contact } from './Contact';
import { NoMatch } from './NoMatch';
import { Layout } from './components/Layout';
import { NavigationBar } from './components/NavigationBar';
import { Jumbotron } from './components/Jumbotron';
import hansfreeForWebsite from 'handsfree-for-website';
import {Video} from './Video'
import {form} from './form'
import KommunicateChat from './chat';
import {Gallery} from './Gallery'
import contextModule from './handsFreeModules/context';
class App extends Component {
componentDidMount() {
const handsfree = hansfreeForWebsite.init();
render() {
return (
<NavigationBar />
<Jumbotron />
<Route exact path="/" component={Home} />
<Route path="/about" component={About} />
<Route path="/contact" component={Contact} />
<Route path="/Video" component={Video} />
<Route path="/form" component={form} />
<Route path="/Gallery" component={Gallery} />
<Route component={NoMatch} />
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment