-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathapp.js
More file actions
48 lines (41 loc) · 919 Bytes
/
app.js
File metadata and controls
48 lines (41 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import React from 'react';
import styled from 'styled-components';
const Container = styled.div`
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100vh;
font-family: 'Open Sans', sans-serif;
`;
const Wrapper = styled.div`
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
width: 500px;
height: 40%;
`;
const Title = styled.h1`
color: black;
font-size: 2.5rem;
font-weight: 700;
`;
const Paragraph = styled.p`
color: black;
font-size: 1rem;
`;
const Link = styled.a`
color: #00a8e8;
`;
const App = () => (
<Container>
<Wrapper>
<Title>
React Minimal
</Title>
<Paragraph>A simple and (relatively) minimal starter template for react.</Paragraph>
</Wrapper>
</Container>
);
export default App;