Updated file management
179
src/App.css
Normal file
@@ -0,0 +1,179 @@
|
||||
html, body{
|
||||
background-color: #1b1f27;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body{
|
||||
margin: 0;
|
||||
background-image: url('https://i.pinimg.com/originals/d6/c3/ac/d6c3ac09021dbc0cda8ee27837d2c795.png')
|
||||
}
|
||||
h1, h2, p{
|
||||
font-family: "Roboto Condensed",sans-serif;
|
||||
}
|
||||
h1, h2{
|
||||
color: #ecebeb;
|
||||
}
|
||||
h2{
|
||||
font-size: 2rem;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
h3{
|
||||
color: #a8a8a8;
|
||||
}
|
||||
p{
|
||||
color: #ffffff;
|
||||
font-size: 1rem;
|
||||
}
|
||||
a {
|
||||
color: #a0a0a0a0;
|
||||
text-decoration: none;
|
||||
}
|
||||
.header h1{
|
||||
display: inline-block;
|
||||
margin-bottom: 0px;
|
||||
margin-top: .5rem;
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
.header{
|
||||
margin-bottom: 0px;
|
||||
margin-left: .3rem;
|
||||
padding-bottom: .2rem;
|
||||
background-color: #0f1216;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.navBar li{
|
||||
display: inline;
|
||||
background-color: rgb(156,49,45,.5);
|
||||
border-top: .2rem black solid;
|
||||
border-bottom: .2rem black solid;
|
||||
border-right: .2rem black solid;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.navBar li:hover{
|
||||
background-color: rgb(156,49,45,.8);
|
||||
}
|
||||
.navBar li:first-child{
|
||||
border-left: .2rem black solid;
|
||||
}
|
||||
.navBar li a{
|
||||
color: white;
|
||||
padding-left: 2rem;;
|
||||
padding-right: 2rem;
|
||||
line-height: 1.2vmax;
|
||||
}
|
||||
.navBar{
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 0px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
.foreground{
|
||||
padding-top:5.5rem;
|
||||
padding-left: .5rem;
|
||||
width:100%;
|
||||
background-color: rgb(44,44,44,.5);
|
||||
padding-bottom: 1rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.foreground p{
|
||||
max-width: 40rem;
|
||||
}
|
||||
.sideimg{
|
||||
float: right;
|
||||
display: block;
|
||||
margin-right: 10rem;
|
||||
max-width: 20rem;
|
||||
max-height: 20rem;
|
||||
}
|
||||
.projectList{
|
||||
padding: 0;
|
||||
display: block;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
width: 75rem;
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
border: solid rgba(156,49,45, .8) .3rem;
|
||||
text-align: center;
|
||||
}
|
||||
.project{
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
margin: 1rem;
|
||||
width: 20rem;
|
||||
height: 15rem;
|
||||
border: .3rem rgba(156,49,45, .8) solid;
|
||||
background-color: rgba(22,22,22,.8);
|
||||
}
|
||||
.tab{
|
||||
display: inline;
|
||||
float: right;
|
||||
}
|
||||
.project h3{
|
||||
display: inline-block;
|
||||
border-bottom: black solid .2rem;
|
||||
}
|
||||
.body{
|
||||
color:rgb(212, 212, 212);
|
||||
}
|
||||
.project img{
|
||||
margin-top: auto;
|
||||
height:3rem;
|
||||
}
|
||||
.topBox{
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
height: 65%;
|
||||
}
|
||||
.bottomBox{
|
||||
height: auto;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
.bottomBox a{
|
||||
vertical-align: middle;
|
||||
}
|
||||
.project a img, .project a p{
|
||||
padding: .5rem;
|
||||
filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(52deg) brightness(106%) contrast(101%);
|
||||
}
|
||||
.project a img:hover, .project a p:hover{
|
||||
filter: invert(66%) sepia(0%) saturate(3964%) hue-rotate(99deg) brightness(100%) contrast(105%);
|
||||
}
|
||||
.incomplete{
|
||||
color:red;
|
||||
}
|
||||
.WIP{
|
||||
color:yellow;
|
||||
}
|
||||
.complete{
|
||||
color:green;
|
||||
}
|
||||
.footer{
|
||||
display: block;
|
||||
background-color: rgb(156,49,45);
|
||||
}
|
||||
.socials{
|
||||
padding-left: 3rem;
|
||||
padding-right: 3rem;
|
||||
padding-top: .5rem;
|
||||
padding-bottom: .5rem;
|
||||
margin-right: auto;
|
||||
table-layout: fixed;
|
||||
}
|
||||
.socials img{
|
||||
height: 2rem;
|
||||
margin-right: 2rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px){
|
||||
.socials{
|
||||
margin-left: auto;
|
||||
}
|
||||
.projectList{
|
||||
width: 95%;
|
||||
}
|
||||
}
|
||||
39
src/App.js
Normal file
@@ -0,0 +1,39 @@
|
||||
import { Route, Link, HashRouter as Router } from 'react-router-dom'
|
||||
|
||||
import './App.css';
|
||||
import Nav from './componets/Nav.js'
|
||||
import Socials from './componets/Socials.js'
|
||||
import About from './componets/About.js'
|
||||
import Projects from './Projects';
|
||||
import AOS from 'aos';
|
||||
import 'aos/dist/aos.css'; // You can also use <link> for styles
|
||||
|
||||
AOS.init();
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<Router>
|
||||
<div className="App">
|
||||
<div className="header">
|
||||
<h1>Andrew Simonson</h1>
|
||||
<Nav>
|
||||
<Link to='/'>Home</Link>
|
||||
<a href='resume.pdf' target='_blank'>Resume</a>
|
||||
<Link to='/projects'>Projects</Link>
|
||||
</Nav>
|
||||
</div>
|
||||
<div className='foreground'>
|
||||
|
||||
<Route exact path='/'><About /></Route>
|
||||
<Route exact path='/projects'><Projects /></Route>
|
||||
|
||||
</div>
|
||||
<div className='footer'>
|
||||
<Socials />
|
||||
</div>
|
||||
</div>
|
||||
</Router>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
8
src/App.test.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import App from './App';
|
||||
|
||||
test('renders learn react link', () => {
|
||||
render(<App />);
|
||||
const linkElement = screen.getByText(/learn react/i);
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
});
|
||||
36
src/Projects.js
Normal file
@@ -0,0 +1,36 @@
|
||||
import ProjectList from './componets/ProjectList'
|
||||
import Project from './componets/Project'
|
||||
import github from './assets/github.svg'
|
||||
|
||||
export default function Projects(){
|
||||
return(
|
||||
<>
|
||||
<h2>Projects</h2>
|
||||
<p>Project status is indicated by the color of the project card:<br /><span className='complete'>⬤</span> - Complete<br />
|
||||
<span className='WIP'>⬤</span> - Work In Progress<br /><span className='incomplete'>⬤</span> - incomplete</p>
|
||||
<ProjectList>
|
||||
<Project status='complete' title='Digital Portfolio' link='https://github.com/asimonson1125/asimonson1125.github.io' linkText={<img alt='github' src={github} />}>
|
||||
A personal portfolio site made with React.js
|
||||
</Project>
|
||||
<Project status='WIP' title='Slate' link='https://github.com/asimonson1125/Slate' linkText={<img alt='github' src={github} />}>
|
||||
Slate is a thing
|
||||
</Project>
|
||||
<Project status='WIP' title='Querist' link='https://github.com/asimonson1125/Querist' linkText={<img alt='github' src={github} />}>
|
||||
A modular discord bot to manage class discord servers.
|
||||
</Project>
|
||||
<Project status='complete' title='NationsGame Rolls Simulator' link='https://github.com/asimonson1125/NG-Rolls-Simulator' linkText={<img alt='github' src={github} />}>
|
||||
A simulator for the browser game, NationsGame, to analyze unit composition and predict in-game victors and unit statistics.
|
||||
</Project>
|
||||
<Project status='complete' title='Humans vs. Zombies Bot' link='https://github.com/asimonson1125/HvZ-bot' linkText={<img alt='github' src={github} />}>
|
||||
A Discord bot to handle role management and statistics for RIT's Humans vs. Zombies games.
|
||||
</Project>
|
||||
<Project status='incomplete' title='WallCycle' link='https://github.com/asimonson1125/WallCycle' linkText={<img alt='github' src={github} />}>
|
||||
A GNOME extension that cycles through a folder of wallpapers
|
||||
</Project>
|
||||
<Project status='complete' title='WinKeylogger' link='https://github.com/asimonson1125/WinKeylogger' linkText={<img alt='github' src={github} />}>
|
||||
A C++ keylogger for windows based off a udemy course with my custom modifications and powershell script.
|
||||
</Project>
|
||||
</ProjectList>
|
||||
</>
|
||||
)
|
||||
}
|
||||
10
src/assets/email.svg
Normal file
@@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="256" height="256" viewBox="0 0 256 256" xml:space="preserve">
|
||||
<desc>Created with Fabric.js 1.7.22</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g transform="translate(128 128) scale(0.72 0.72)" style="">
|
||||
<g style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;" transform="translate(-175.05 -175.05) scale(3.89 3.89)" >
|
||||
<path d="M 0 11.755 v 66.489 h 90 V 11.755 H 0 z M 45 50.49 L 7.138 15.755 h 75.724 L 45 50.49 z M 33.099 45 L 4 71.695 V 18.304 L 33.099 45 z M 36.058 47.714 L 45 55.918 l 8.943 -8.204 l 28.919 26.53 H 7.138 L 36.058 47.714 z M 56.901 45 L 86 18.304 v 53.392 L 56.901 45 z" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
BIN
src/assets/ezgif.gif
Normal file
|
After Width: | Height: | Size: 689 KiB |
1
src/assets/github.svg
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version="1.0"?><svg fill="#000000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="48px" height="48px"> <path d="M10.9,2.1c-4.6,0.5-8.3,4.2-8.8,8.7c-0.5,4.7,2.2,8.9,6.3,10.5C8.7,21.4,9,21.2,9,20.8v-1.6c0,0-0.4,0.1-0.9,0.1 c-1.4,0-2-1.2-2.1-1.9c-0.1-0.4-0.3-0.7-0.6-1C5.1,16.3,5,16.3,5,16.2C5,16,5.3,16,5.4,16c0.6,0,1.1,0.7,1.3,1c0.5,0.8,1.1,1,1.4,1 c0.4,0,0.7-0.1,0.9-0.2c0.1-0.7,0.4-1.4,1-1.8c-2.3-0.5-4-1.8-4-4c0-1.1,0.5-2.2,1.2-3C7.1,8.8,7,8.3,7,7.6C7,7.2,7,6.6,7.3,6 c0,0,1.4,0,2.8,1.3C10.6,7.1,11.3,7,12,7s1.4,0.1,2,0.3C15.3,6,16.8,6,16.8,6C17,6.6,17,7.2,17,7.6c0,0.8-0.1,1.2-0.2,1.4 c0.7,0.8,1.2,1.8,1.2,3c0,2.2-1.7,3.5-4,4c0.6,0.5,1,1.4,1,2.3v2.6c0,0.3,0.3,0.6,0.7,0.5c3.7-1.5,6.3-5.1,6.3-9.3 C22,6.1,16.9,1.4,10.9,2.1z"/></svg>
|
||||
|
After Width: | Height: | Size: 759 B |
1
src/assets/instagram.svg
Normal file
@@ -0,0 +1 @@
|
||||
<?xml version="1.0"?><svg fill="#000000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="60px" height="60px"> <path d="M 9.9980469 3 C 6.1390469 3 3 6.1419531 3 10.001953 L 3 20.001953 C 3 23.860953 6.1419531 27 10.001953 27 L 20.001953 27 C 23.860953 27 27 23.858047 27 19.998047 L 27 9.9980469 C 27 6.1390469 23.858047 3 19.998047 3 L 9.9980469 3 z M 22 7 C 22.552 7 23 7.448 23 8 C 23 8.552 22.552 9 22 9 C 21.448 9 21 8.552 21 8 C 21 7.448 21.448 7 22 7 z M 15 9 C 18.309 9 21 11.691 21 15 C 21 18.309 18.309 21 15 21 C 11.691 21 9 18.309 9 15 C 9 11.691 11.691 9 15 9 z M 15 11 A 4 4 0 0 0 11 15 A 4 4 0 0 0 15 19 A 4 4 0 0 0 19 15 A 4 4 0 0 0 15 11 z"/></svg>
|
||||
|
After Width: | Height: | Size: 683 B |
BIN
src/assets/itsa_me.JPG
Normal file
|
After Width: | Height: | Size: 4.5 MiB |
10
src/assets/linkedin.svg
Normal file
@@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="256" height="256" viewBox="0 0 256 256" xml:space="preserve">
|
||||
<desc>Created with Fabric.js 1.7.22</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g transform="translate(128 128) scale(0.72 0.72)" style="">
|
||||
<g style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;" transform="translate(-175.05 -175.05) scale(3.89 3.89)" >
|
||||
<path d="M 45 0 C 20.147 0 0 20.147 0 45 c 0 24.853 20.147 45 45 45 c 24.853 0 45 -20.147 45 -45 C 90 20.147 69.853 0 45 0 z M 31.187 69.956 H 20.822 V 36.617 h 10.365 V 69.956 z M 26.005 32.062 c -3.32 0 -6.005 -2.692 -6.005 -6.007 c 0 -3.318 2.685 -6.011 6.005 -6.011 c 3.313 0 6.005 2.692 6.005 6.011 C 32.01 29.37 29.317 32.062 26.005 32.062 z M 70 69.956 H 59.643 V 53.743 c 0 -3.867 -0.067 -8.84 -5.385 -8.84 c -5.392 0 -6.215 4.215 -6.215 8.562 v 16.491 H 37.686 V 36.617 h 9.939 v 4.559 h 0.141 c 1.383 -2.622 4.764 -5.385 9.804 -5.385 C 68.063 35.791 70 42.694 70 51.671 V 69.956 z" style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" transform=" matrix(1 0 0 1 0 0) " stroke-linecap="round" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
26
src/componets/About.js
Normal file
@@ -0,0 +1,26 @@
|
||||
import React from 'react';
|
||||
import picture from '../assets/itsa_me.JPG'
|
||||
import AOS from 'aos'
|
||||
|
||||
export default function About(){
|
||||
return(
|
||||
<>
|
||||
<div data-aos="fade-in">
|
||||
<h2>A biography</h2>
|
||||
<p>Ahoy, I'm Andrew Simonson</p>
|
||||
<p>I'm primarily an <strong>extremely</strong> forgetful person
|
||||
who, when productive, rewrites fate in favor of my own
|
||||
short-term interests, or rather, whatever half-assed mistake
|
||||
results from the attempt.</p>
|
||||
<p>When I'm not <del>losing my mind</del>wasting time,
|
||||
you can find me building discord bots, playing chess,
|
||||
or actually exercising, doing things like, idk, playing
|
||||
racquetball or soccer.</p>
|
||||
<p>I'm a first year student at <strong>Rochester Institute of Technology </strong>
|
||||
in the <b>Computing Exploration</b> program. I'm from Hagerstown,
|
||||
Maryland.</p>
|
||||
</div>
|
||||
<img alt='me' src={picture} className='sideimg' data-aos='fade-up' />
|
||||
</>
|
||||
)
|
||||
}
|
||||
18
src/componets/Nav.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
|
||||
export default function Nav(props){
|
||||
let items;
|
||||
for(let i = 0; i < props.children.length; i++){
|
||||
items = (
|
||||
<>
|
||||
{items}
|
||||
<li>{props.children[i]}</li>
|
||||
</>
|
||||
)
|
||||
}
|
||||
return(
|
||||
<ul className='navBar'>
|
||||
{items}
|
||||
</ul>
|
||||
)
|
||||
}
|
||||
22
src/componets/Project.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import React from 'react'
|
||||
|
||||
export default class Project extends React.Component {
|
||||
constructor(props){
|
||||
super(props)
|
||||
}
|
||||
|
||||
render(){
|
||||
return (
|
||||
<li className={'project'} data-aos='fade-in' data-aos-offset={0}>
|
||||
<div className='topBox'>
|
||||
<h3>{this.props.title}</h3>
|
||||
<p className={this.props.status + " tab"}>⬤</p>
|
||||
<p className='body'>{this.props.children}</p>
|
||||
</div>
|
||||
<div className='bottomBox'>
|
||||
<a href={this.props.link}>{this.props.linkText}</a>
|
||||
</div>
|
||||
</li>
|
||||
)
|
||||
}
|
||||
}
|
||||
20
src/componets/ProjectList.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from 'react'
|
||||
|
||||
export default function ProjectList(props){
|
||||
let projects;
|
||||
props.children.forEach(function(x){
|
||||
projects = (
|
||||
<>
|
||||
{projects}
|
||||
{x}
|
||||
</>
|
||||
);
|
||||
});
|
||||
return(
|
||||
<>
|
||||
<ul className='projectList'>
|
||||
{projects}
|
||||
</ul>
|
||||
</>
|
||||
);
|
||||
}
|
||||
19
src/componets/Socials.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import React from 'react';
|
||||
|
||||
import github from '../assets/github.svg'
|
||||
import instagram from '../assets/instagram.svg'
|
||||
import linkedin from '../assets/linkedin.svg'
|
||||
import email from '../assets/email.svg'
|
||||
|
||||
export default function Socials(){
|
||||
return(
|
||||
<table class='socials'>
|
||||
<tr>
|
||||
<td><a href='https://github.com/asimonson1125'><img alt='Github' src={github} /></a></td>
|
||||
<td><a href='https://www.instagram.com/an_a.simonson/'><img alt='Instagram' src={instagram} /></a></td>
|
||||
<td><a href='https://www.linkedin.com/in/simonsonandrew/'><img alt='LinkedIn' src={linkedin} /></a></td>
|
||||
<td><a href='mailto:asimonson1125@gmail.com'><img alt='E-mail' src={email} /></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
)
|
||||
}
|
||||
16
src/index.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import App from './App';
|
||||
import reportWebVitals from './reportWebVitals';
|
||||
|
||||
ReactDOM.render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
document.getElementById('root')
|
||||
);
|
||||
|
||||
// If you want to start measuring performance in your app, pass a function
|
||||
// to log results (for example: reportWebVitals(console.log))
|
||||
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
||||
reportWebVitals();
|
||||
1
src/logo.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
13
src/reportWebVitals.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const reportWebVitals = onPerfEntry => {
|
||||
if (onPerfEntry && onPerfEntry instanceof Function) {
|
||||
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
|
||||
getCLS(onPerfEntry);
|
||||
getFID(onPerfEntry);
|
||||
getFCP(onPerfEntry);
|
||||
getLCP(onPerfEntry);
|
||||
getTTFB(onPerfEntry);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
export default reportWebVitals;
|
||||
5
src/setupTests.js
Normal file
@@ -0,0 +1,5 @@
|
||||
// jest-dom adds custom jest matchers for asserting on DOM nodes.
|
||||
// allows you to do things like:
|
||||
// expect(element).toHaveTextContent(/react/i)
|
||||
// learn more: https://github.com/testing-library/jest-dom
|
||||
import '@testing-library/jest-dom';
|
||||