created components matching the wireframe

This commit is contained in:
soyed 2021-03-28 17:20:05 -04:00
parent 4d2ebac513
commit a2a1af5d05
4 changed files with 19783 additions and 51 deletions

19772
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,6 +6,7 @@
"@testing-library/jest-dom": "^5.11.10", "@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.5", "@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.8.3", "@testing-library/user-event": "^12.8.3",
"bootstrap": "^4.6.0",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-scripts": "4.0.3", "react-scripts": "4.0.3",

View file

@ -1,25 +1,31 @@
import logo from './logo.svg'; import { Component } from "react";
import './App.css';
function App() { class App extends Component {
render() {
return ( return (
<div className="App"> <div className="App">
<header className="App-header"> <header className="App-header">
<img src={logo} className="App-logo" alt="logo" /> <h1>Kene's Crib</h1>
<p> <p>Real Website loading.......</p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header> </header>
<section>
<h1>hello everyone</h1>
<div class="alert alert-primary" role="alert">
A simple primary alertcheck it out!
</div>
<div class="alert alert-primary" role="alert">
A simple primary alertcheck it out!
</div>
<div class="alert alert-primary" role="alert">
A simple primary alertcheck it out!
</div>
<div class="alert alert-primary" role="alert">
A simple primary alertcheck it out!
</div>
</section>
</div> </div>
); );
} }
}
export default App; export default App;

View file

@ -1,14 +1,15 @@
import React from 'react'; import React from "react";
import ReactDOM from 'react-dom'; import ReactDOM from "react-dom";
import './index.css'; import "./index.css";
import App from './App'; import App from "./App";
import reportWebVitals from './reportWebVitals'; import reportWebVitals from "./reportWebVitals";
import "bootstrap/dist/css/bootstrap.min.css";
ReactDOM.render( ReactDOM.render(
<React.StrictMode> <React.StrictMode>
<App /> <App />
</React.StrictMode>, </React.StrictMode>,
document.getElementById('root') document.getElementById("root")
); );
// If you want to start measuring performance in your app, pass a function // If you want to start measuring performance in your app, pass a function