Skip to content

Commit

Permalink
[#12] feat: start to implement base components
Browse files Browse the repository at this point in the history
  • Loading branch information
damla committed Oct 25, 2021
1 parent 3e24d10 commit 6da0d2c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 40 deletions.
22 changes: 1 addition & 21 deletions client/src/App.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
import logo from './logo.svg';
import './App.css';

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<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>
</div>
);
return <div className="App">{process.env.REACT_APP_BACKEND_ENDPOINT}</div>;
}

export default App;
13 changes: 0 additions & 13 deletions client/src/index.css

This file was deleted.

12 changes: 6 additions & 6 deletions client/src/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import React from "react";
import ReactDOM from "react-dom";
import "./global.index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";

ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
document.getElementById("root")
);

// If you want to start measuring performance in your app, pass a function
Expand Down
5 changes: 5 additions & 0 deletions client/src/pages/Error404/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import styles from "./styles.module.scss";

export default function Error404() {
return <div>error404</div>;
}
Empty file.
3 changes: 3 additions & 0 deletions client/src/pages/Home/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function Home() {
return <div>home</div>;
}
Empty file added client/src/utils/helpers.js
Empty file.

0 comments on commit 6da0d2c

Please sign in to comment.