-
-
Notifications
You must be signed in to change notification settings - Fork 116
/
index.js
107 lines (104 loc) 路 4.15 KB
/
index.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
import { keyframes, styled } from 'goober';
import { Box } from '../../components/box/box';
import { Logo } from '../../components/logo/logo';
import { Text } from '../../components/text/text';
const bg = keyframes({
from: {
backgroundSize: '100%'
},
'50%': {
backgroundSize: '200%'
},
to: {
backgroundSize: '100%'
}
});
const SuperTitle = styled(Text)(({ theme }) => ({
backgroundImage: `linear-gradient(to left, ${theme.colors['accent-300']}, ${theme.colors['accent-100']})`,
backgroundSize: '100%',
padding: theme.sizes[100],
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
fontWeight: 'bolder',
animation: `${bg} 10s linear infinite`
}));
export default function TheGreatShaveOff() {
return (
<Box centered fill full size={400}>
<SuperTitle size={600} bold>
The Great Shave Off
</SuperTitle>
<Box marginAuto max full size={400}>
<Text size={400} bold>
Hello there!
</Text>
<Box size={200} />
<Text>
<Logo /> is all about keeping it small and offer the same functionalities. So
with that, we're launching a new challenge open to <b>everyone</b> who wants to
try it!
</Text>
<Box size={200} />
<Text>
In exchange of your byte shavings we are offering <b>1USD</b> dollar for each{' '}
<b>1B</b> removed from goober's output, minified and gzipped.
</Text>
<Box size={400} />
<Text size={400}>How it's all gonna happen</Text>
<Box size={200} />
<Text>
Step 1: Clone the repo from 馃憠{' '}
<Text
as="a"
href="https://github.com/cristianbote/goober"
color="accent-100"
bold
>
https://github.com/cristianbote/goober
</Text>
</Text>
<Box size={300} />
<Text>Step 2: Do your magic of shaving off bytes!</Text>
<Box size={300} />
<Text>Step 3: Open a PR to the above repo with the changes.</Text>
<Text faded>
On each PR there's an action that builds out the changes and computes the amout
of shavings.
</Text>
<Box size={300} />
<Text>
Step 4: Submit an expense into <Logo />
's open collective 馃憠{' '}
<Text as="a" href="https://opencollective.com/goober" color="accent-100" bold>
https://opencollective.com/goober
</Text>
</Text>
<Text faded>
The amount should be calculated as per the amount of bytes reported by the
action.
</Text>
<Text as="pre" faded>
-1 B = 1 USD\n-10 B = 10 USD\n-100 B = 100 USD
</Text>
<Box size={400} />
<Text size={400}>That's about it!</Text>
<Text>
If you have more questions don't hesitate to reach out by opening an issue.
</Text>
<Box size={400} />
<Text>
This challenge would not be possible without the financial support from our
backers. And with this we would like to thank them for their support! 馃檹
</Text>
<Box size={200} />
<Text>
If you'd like to support <Logo /> as well go to our{' '}
<Text as="a" href="https://opencollective.com/goober" color="accent-100" bold>
https://opencollective.com/goober
</Text>{' '}
and become one!
</Text>
</Box>
</Box>
);
}