Initial commit

This commit is contained in:
Tobias Fried
2020-07-14 17:41:45 -04:00
parent 856e1ac749
commit 3a9cf5dc99
18 changed files with 329 additions and 57 deletions

View File

@@ -0,0 +1,38 @@
.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;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
size: 1em;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

View File

@@ -0,0 +1,9 @@
import React from 'react';
import { render } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
const { getByText } = render(<App />);
const linkElement = getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});

View File

@@ -0,0 +1,24 @@
import React from "react";
import { IconSearch, IconGrid } from "../";
const App = () => {
return (
<div>
<header>
Phosphor Icons{" "}
<a
// className="App-link"
href="https://play.google.com/store/apps/details?id=com.tobiasfried.phosphor"
target="_blank"
rel="noopener noreferrer"
>
on the play store
</a>
</header>
<IconSearch />
<IconGrid />
</div>
);
};
export default App;