Upload files to ''

This commit is contained in:
John K Gomez 2020-04-28 14:18:35 +00:00
parent a82137dc21
commit 6e97ae275b
5 changed files with 196 additions and 0 deletions

75
App.css Normal file
View File

@ -0,0 +1,75 @@
/*.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
*/
/*
thead,
tfoot {
background-color: #3f87a6;
color: #fff;
}
tbody {
background-color: #e4f0f5;
}
caption {
padding: 10px;
caption-side: bottom;
}
table {
border-collapse: collapse;
border: 2px solid rgb(200, 200, 200);
letter-spacing: 1px;
font-family: sans-serif;
font-size: .8rem;
text-align: right;
align-items: right;
}
td,
th {
border: 1px solid rgb(190, 190, 190);
padding: 5px 10px;
}
td {
text-align: center;
}*/

80
App.js Normal file
View File

@ -0,0 +1,80 @@
// import React from 'react';
// import logo from './logo.svg';
// import './App.css';
// function App() {
// return (
// <React.Fragment>
// <NavBar />
// <main className="container">
// <Switch>
// {/* <Route path="/login" component={LoginForm} /> */}
// {/* <Route path="/movies/:id" component={MovieForm} /> */}
// <Route path="/ticket" component={Ticket}></Route>
// <Route path="/operator" component={Operator}></Route>
// <Route path="/cityLine" component={CityLine}></Route>
// <Route path="/notFound" component={NotFound}></Route>
// <Route path="/line" component={Line}></Route>
// <Redirect from='/' exact to ="/home"/>
// <Redirect to ="/notFound"/>
// </Switch>
// {/* <Movies/> */}
// </main>
// </React.Fragment>
// );
// }
// export default App;
import React from "react";
import CityLine from './components/cityLine'
import Operator from './components/operator'
import Ticket from './components/ticket'
import TravelPlanner from './components/travelplanner.jsx'
import Vehicule from './components/vehicule'
import { Container, Row, Col } from 'react-bootstrap'
import './style.css'
//import TravelPlanner from './components/travelplanner';
class App extends React.Component {
constructor() {
super();
this.state = {
status: false
};
this.changeState = this.changeState.bind(this);
}
changeState() {
this.setState(prevState => {
return { status: !prevState.status };
});
}
render() {
return (
<div className='mainGrid'>
<CityLine/>
<Operator />
<Ticket />
<TravelPlanner />
<Vehicule />
<h1>John's app</h1>
</div>
)
}
}
export default App;

13
index.css Normal file
View File

@ -0,0 +1,13 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}

5
index.js Normal file
View File

@ -0,0 +1,5 @@
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
ReactDOM.render(<App />, document.getElementById("root"));

23
style.css Normal file
View File

@ -0,0 +1,23 @@
.span-class {
margin: 0;
padding: 0;
background-color: rgba(235, 21, 21, 0.5);
width: 30%;
display: flex;
flex-direction: row;
align-items: center;
}
.mainGrid {
display: grid;
grid-template-rows: 1fr 1fr 1fr;
grid-template-columns: 1fr 1fr;
gap: 2px;
background-color: rgb(119, 101, 89);
text-align: center;
}