Skip to content

Commit

Permalink
Basic structure
Browse files Browse the repository at this point in the history
  • Loading branch information
theandersonn committed Apr 17, 2021
1 parent 2264672 commit 999c1c8
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 90 deletions.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="Online tool to find your screen resolution"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
Expand All @@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>My Screen Resolution</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
38 changes: 0 additions & 38 deletions src/App.css

This file was deleted.

25 changes: 0 additions & 25 deletions src/App.js

This file was deleted.

8 changes: 0 additions & 8 deletions src/App.test.js

This file was deleted.

11 changes: 11 additions & 0 deletions src/components/ScreenResolution/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const ScreenResolution = () => {
console.info('ScreenResolution');

return (
<>
<h1>ScreenResolution</h1>
</>
);
}

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

This file was deleted.

5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import ScreenResolution from './components/ScreenResolution';
import reportWebVitals from './reportWebVitals';

ReactDOM.render(
<React.StrictMode>
<App />
<ScreenResolution />
</React.StrictMode>,
document.getElementById('root')
);
Expand Down
1 change: 0 additions & 1 deletion src/logo.svg

This file was deleted.

0 comments on commit 999c1c8

Please sign in to comment.