This commit is contained in:
Elijah Lucian
2021-10-12 22:28:33 -06:00
parent d4483e5041
commit 9f1e2c1ca5
4 changed files with 26 additions and 56 deletions

View File

@@ -1,38 +0,0 @@
.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);
}
}

View File

@@ -1,24 +1,15 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import Webcam from "react-webcam";
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.tsx</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
<div className="app">
<Webcam className="webcam" />
<div className="overlay"></div>
<div className="header"></div>
<div className="headtext">Scan the Record QR Code.</div>
<div className="footer"></div>
</div>
);
}