Skip to content

Commit 431b3e3

Browse files
author
Ives van Hoorne
committed
Finish
1 parent 326ba70 commit 431b3e3

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

src/app/containers/Deployment/index.js

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ const DisabledOverlay = styled.div`
7878
margin: 0 auto;
7979
color: white;
8080
font-size: 1.25rem;
81+
z-index: 20;
8182
`;
8283

8384
const DeployAnimationContainer = styled.div`
@@ -96,51 +97,55 @@ const DeployAnimationContainer = styled.div`
9697
const StyledZeitLogo = styled(ZeitLogo)`
9798
position: absolute;
9899
font-size: 4rem;
99-
transform: translateX(80px);
100+
transform: translateY(10px) translateX(80px);
100101
`;
101102

102103
const cubeAnimation = keyframes`
103104
0% {
104-
transform: translateY(10px) translateX(-100px) scale(0, 0);
105+
transform: translateY(20px) translateX(-100px) scale(0, 0);
105106
}
106107
107108
20% {
108-
transform: translateY(10px) translateX(-100px) scale(1, 1);
109+
transform: translateY(20px) translateX(-100px) scale(1, 1);
109110
}
110111
111112
80% {
112-
transform: translateY(10px) translateX(80px) scale(1, 1);
113+
transform: translateY(20px) translateX(80px) scale(1, 1);
113114
}
114115
115116
100% {
116-
transform: translateY(10px) translateX(80px) scale(1, 1);
117+
transform: translateY(20px) translateX(80px) scale(1, 1);
117118
}
118119
`;
119120

120121
const StyledCube = styled(Cube)`
121122
position: absolute;
122123
animation: ${cubeAnimation} 2s ease-in infinite;
123124
animation-delay: ${({ i }) => i * 0.5}s;
124-
transform: translateY(10px) translateX(-100px) scale(0, 0);
125+
transform: translateY(20px) translateX(-100px) scale(0, 0);
125126
`;
126127

127128
const StyledLogo = styled(OpaqueLogo)`
128129
position: absolute;
129-
transform: translateY(5px) translateX(-100px);
130+
transform: translateY(15px) translateX(-100px);
130131
z-index: 10;
131132
`;
132133

133134
const DeployText = styled.div`
134135
${delayInEffect()};
135-
margin-bottom: 1rem;
136+
margin-bottom: 1.5rem;
137+
font-size: 1.125rem;
136138
`;
137139

138-
const DeployedLink = styled.a`${delayInEffect(0.25)};`;
140+
const DeployedLink = styled.a`
141+
${delayInEffect(0.25)};
142+
font-size: 1.25rem;
143+
`;
139144

140145
const DeploymentManagementNotice = styled.div`
141146
${delayInEffect(0.45)};
142147
font-size: 0.75rem;
143-
margin-top: 2rem;
148+
margin-top: 1rem;
144149
`;
145150

146151
type Props = {
@@ -226,7 +231,7 @@ class Deploy extends React.PureComponent<Props, State> {
226231
)}
227232

228233
{this.state.url ? (
229-
<Margin top={1} bottom={1}>
234+
<Margin top={1} bottom={2}>
230235
<Centered horizontal>
231236
<DeployText>Deployed!</DeployText>
232237

0 commit comments

Comments
 (0)