{"size": 1340, "ext": "js", "max_stars_repo_path": "store-track/frontend/src/App.js", "max_stars_repo_name": "junioridi/portfolio", "max_stars_repo_stars_event_min_datetime": "2022-01-03T09:45:14.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-03T09:45:14.000Z", "max_issues_repo_path": "store-track/frontend/src/App.js", "max_issues_repo_name": "junioridi/portfolio", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "store-track/frontend/src/App.js", "max_forks_repo_name": "junioridi/portfolio", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.2830188679, "max_line_length": 67, "alphanum_fraction": 0.4940298507}
import React from 'react';
import logo from "./logo.png";
import './App.css';
import { BrowserRouter, Route, Switch } from "react-router-dom";
import Feed from "./Feed.js";
import MaterialList from "./MaterialList.js";
import MainMenu from "./MainMenu.js";
import Material from "./Material.js";

import { AppRegistry, StyleSheet, Text, View } from 'react-native';

const styles = StyleSheet.create({
    box: {padding:50},
    text: {fontWeight: 'bold', color: "#ffffff"},
 
});

function App() {
  
    
    return (
    <div className="App">      
      <header className="App-header">
        <img src={logo} />
        <h1>StoreTrack</h1>
          <View style={styles.box}>
            <Text style={styles.text}>Hellow, world!</Text>
          </View>
      </header>
      <div className="App-body">
        <BrowserRouter>
            <Switch>
                <Route path="/material-list">
                    <MaterialList />
                </Route>
                <Route path="/material/:id">
                    <Material />
                </Route>
                <Route path="/feed">
                    <Feed />
                </Route>
                <Route>
                    <MainMenu />
                </Route>
            </Switch>
        </BrowserRouter>      
      </div>
    </div>
  );
}

export default App;
