-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
111 lines (101 loc) · 2.68 KB
/
App.js
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
import React from "react";
import styled from "styled-components";
const Container = styled.div`
background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
url("https://images.unsplash.com/photo-1542731538-f99c9f100885?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1097&q=80");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
position: relative;
`;
const Content = styled.div`
padding: 1rem;
max-width: 500px;
@media only screen and (min-width: 1048px) {
margin-left: 40rem;
}
`;
const Title = styled.h1`
font-size: 4rem;
font-weight: 600;
letter-spacing: 10px;
text-shadow: rgba(255, 224, 0, 0.7) 0 0 18px;
padding-bottom: 1rem;
`;
const Subtitle = styled.h2`
padding-bottom: 2.5rem;
`;
const Text = styled.p`
padding-bottom: 1.5rem;
font-size: 1.3rem;
`;
const Button = styled.button`
color: white;
background: transparent;
border: 2px solid white;
padding: 0.6rem 1rem;
font-size: 1rem;
`;
const PresentedBy = styled.div`
position: absolute;
top: 1rem;
@media only screen and (min-width: 768px) {
left: 1rem;
}
height: 1.6rem;
`;
const Powered = styled.div`
position: absolute;
bottom: 1rem;
@media only screen and (min-width: 768px) {
right: 1rem;
}
height: 2rem;
`;
const InlineImage = styled.img`
max-width: 100%;
max-height: 100%;
object-fit: contain;
padding-top: 14px;
`;
export default () => (
<Container>
<PresentedBy>
An{" "}
<a style={{ color: "inherit" }} href="https://openesq.tech/" target="_">
Open,Esq
</a>{" "}
Venture
</PresentedBy>
<Content>
<Title>PRIMAL ETH</Title>
<Subtitle>A fundraising portal</Subtitle>
<Text>
We are applying to become a Reg C.F. funding portal that's exclusive to
the Ethereum blockchain
</Text>
<a
class="typeform-share button"
href="https://form.typeform.com/to/mZKXwSV9"
data-mode="drawer_left"
target="_blank"
>
<Button>Join our Mailing List</Button>
</a>
</Content>
<Powered>
Powered by{" "}
<a style={{ color: "inherit" }} href="https://www.metacartel.org/" target="_">
<InlineImage src="https://images.squarespace-cdn.com/content/5c598e4ebfba3e5984563a0e/1565305053540-E97I3TTHCYHFU0DMW342/meta_chill+copy.png?content-type=image%2Fpng" />{" "}
MetaCartel
</a>{" "}
on{" "}
<InlineImage src="https://ethereum.org/static/a183661dd70e0e5c70689a0ec95ef0ba/42584/ethereum-icon-purple.png" />{" "}
Ethereum
</Powered>
</Container>
);