mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 14:07:20 +03:00
PR #133 update + rolled back index.js
This commit is contained in:
parent
8f6bcd6a90
commit
fee1657d8f
204
pages/404.js
204
pages/404.js
@ -6,9 +6,10 @@ import { css } from "@emotion/react";
|
||||
import WebsitePrototypeWrapper from "~/components/core/WebsitePrototypeWrapper";
|
||||
|
||||
const STYLES_ROOT = css`
|
||||
width: 80%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: 0px 88px ;
|
||||
@media (max-width: 768px) {
|
||||
padding: 0px 24px ;
|
||||
}
|
||||
`;
|
||||
|
||||
const STYLES_404 = css`
|
||||
@ -65,201 +66,6 @@ const STYLES_GLITCH = css`
|
||||
text-shadow: -2px 0 #fe3a7f;
|
||||
animation: glitch 2s infinite linear;
|
||||
}
|
||||
@-moz-keyframes glitch {
|
||||
0% {
|
||||
clip: rect(64px, 9999px, 66px, 0);
|
||||
}
|
||||
5% {
|
||||
clip: rect(30px, 9999px, 36px, 0);
|
||||
}
|
||||
10% {
|
||||
clip: rect(80px, 9999px, 71px, 0);
|
||||
}
|
||||
15% {
|
||||
clip: rect(65px, 9999px, 64px, 0);
|
||||
}
|
||||
20% {
|
||||
clip: rect(88px, 9999px, 40px, 0);
|
||||
}
|
||||
25% {
|
||||
clip: rect(17px, 9999px, 79px, 0);
|
||||
}
|
||||
30% {
|
||||
clip: rect(24px, 9999px, 26px, 0);
|
||||
}
|
||||
35% {
|
||||
clip: rect(88px, 9999px, 26px, 0);
|
||||
}
|
||||
40% {
|
||||
clip: rect(88px, 9999px, 80px, 0);
|
||||
}
|
||||
45% {
|
||||
clip: rect(28px, 9999px, 51px, 0);
|
||||
}
|
||||
50% {
|
||||
clip: rect(23px, 9999px, 40px, 0);
|
||||
}
|
||||
55% {
|
||||
clip: rect(16px, 9999px, 86px, 0);
|
||||
}
|
||||
60% {
|
||||
clip: rect(23px, 9999px, 94px, 0);
|
||||
}
|
||||
65% {
|
||||
clip: rect(82px, 9999px, 39px, 0);
|
||||
}
|
||||
70% {
|
||||
clip: rect(37px, 9999px, 92px, 0);
|
||||
}
|
||||
75% {
|
||||
clip: rect(71px, 9999px, 52px, 0);
|
||||
}
|
||||
80% {
|
||||
clip: rect(28px, 9999px, 74px, 0);
|
||||
}
|
||||
85% {
|
||||
clip: rect(67px, 9999px, 96px, 0);
|
||||
}
|
||||
90% {
|
||||
clip: rect(40px, 9999px, 88px, 0);
|
||||
}
|
||||
95% {
|
||||
clip: rect(99px, 9999px, 61px, 0);
|
||||
}
|
||||
100% {
|
||||
clip: rect(76px, 9999px, 77px, 0);
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes glitch {
|
||||
0% {
|
||||
clip: rect(64px, 9999px, 66px, 0);
|
||||
}
|
||||
5% {
|
||||
clip: rect(30px, 9999px, 36px, 0);
|
||||
}
|
||||
10% {
|
||||
clip: rect(80px, 9999px, 71px, 0);
|
||||
}
|
||||
15% {
|
||||
clip: rect(65px, 9999px, 64px, 0);
|
||||
}
|
||||
20% {
|
||||
clip: rect(88px, 9999px, 40px, 0);
|
||||
}
|
||||
25% {
|
||||
clip: rect(17px, 9999px, 79px, 0);
|
||||
}
|
||||
30% {
|
||||
clip: rect(24px, 9999px, 26px, 0);
|
||||
}
|
||||
35% {
|
||||
clip: rect(88px, 9999px, 26px, 0);
|
||||
}
|
||||
40% {
|
||||
clip: rect(88px, 9999px, 80px, 0);
|
||||
}
|
||||
45% {
|
||||
clip: rect(28px, 9999px, 51px, 0);
|
||||
}
|
||||
50% {
|
||||
clip: rect(23px, 9999px, 40px, 0);
|
||||
}
|
||||
55% {
|
||||
clip: rect(16px, 9999px, 86px, 0);
|
||||
}
|
||||
60% {
|
||||
clip: rect(23px, 9999px, 94px, 0);
|
||||
}
|
||||
65% {
|
||||
clip: rect(82px, 9999px, 39px, 0);
|
||||
}
|
||||
70% {
|
||||
clip: rect(37px, 9999px, 92px, 0);
|
||||
}
|
||||
75% {
|
||||
clip: rect(71px, 9999px, 52px, 0);
|
||||
}
|
||||
80% {
|
||||
clip: rect(28px, 9999px, 74px, 0);
|
||||
}
|
||||
85% {
|
||||
clip: rect(67px, 9999px, 96px, 0);
|
||||
}
|
||||
90% {
|
||||
clip: rect(40px, 9999px, 88px, 0);
|
||||
}
|
||||
95% {
|
||||
clip: rect(99px, 9999px, 61px, 0);
|
||||
}
|
||||
100% {
|
||||
clip: rect(76px, 9999px, 77px, 0);
|
||||
}
|
||||
}
|
||||
@-o-keyframes glitch {
|
||||
0% {
|
||||
clip: rect(64px, 9999px, 66px, 0);
|
||||
}
|
||||
5% {
|
||||
clip: rect(30px, 9999px, 36px, 0);
|
||||
}
|
||||
10% {
|
||||
clip: rect(80px, 9999px, 71px, 0);
|
||||
}
|
||||
15% {
|
||||
clip: rect(65px, 9999px, 64px, 0);
|
||||
}
|
||||
20% {
|
||||
clip: rect(88px, 9999px, 40px, 0);
|
||||
}
|
||||
25% {
|
||||
clip: rect(17px, 9999px, 79px, 0);
|
||||
}
|
||||
30% {
|
||||
clip: rect(24px, 9999px, 26px, 0);
|
||||
}
|
||||
35% {
|
||||
clip: rect(88px, 9999px, 26px, 0);
|
||||
}
|
||||
40% {
|
||||
clip: rect(88px, 9999px, 80px, 0);
|
||||
}
|
||||
45% {
|
||||
clip: rect(28px, 9999px, 51px, 0);
|
||||
}
|
||||
50% {
|
||||
clip: rect(23px, 9999px, 40px, 0);
|
||||
}
|
||||
55% {
|
||||
clip: rect(16px, 9999px, 86px, 0);
|
||||
}
|
||||
60% {
|
||||
clip: rect(23px, 9999px, 94px, 0);
|
||||
}
|
||||
65% {
|
||||
clip: rect(82px, 9999px, 39px, 0);
|
||||
}
|
||||
70% {
|
||||
clip: rect(37px, 9999px, 92px, 0);
|
||||
}
|
||||
75% {
|
||||
clip: rect(71px, 9999px, 52px, 0);
|
||||
}
|
||||
80% {
|
||||
clip: rect(28px, 9999px, 74px, 0);
|
||||
}
|
||||
85% {
|
||||
clip: rect(67px, 9999px, 96px, 0);
|
||||
}
|
||||
90% {
|
||||
clip: rect(40px, 9999px, 88px, 0);
|
||||
}
|
||||
95% {
|
||||
clip: rect(99px, 9999px, 61px, 0);
|
||||
}
|
||||
100% {
|
||||
clip: rect(76px, 9999px, 77px, 0);
|
||||
}
|
||||
}
|
||||
@keyframes glitch {
|
||||
0% {
|
||||
clip: rect(64px, 9999px, 66px, 0);
|
||||
@ -343,7 +149,7 @@ const STYLES_FOOTERLINKS = css`
|
||||
}
|
||||
`;
|
||||
|
||||
export default class IndexPage extends React.Component {
|
||||
export default class NotFoundPage extends React.Component {
|
||||
render() {
|
||||
const title = `404`;
|
||||
const description = "Oops something broke";
|
||||
|
@ -8,33 +8,16 @@ import WebsitePrototypeWrapper from "~/components/core/WebsitePrototypeWrapper";
|
||||
|
||||
const STYLES_ROOT = css`
|
||||
padding: 128px 88px 256px 88px;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
padding: 128px 24px 128px 24px;
|
||||
}
|
||||
`;
|
||||
const STYLES_NAV = css`
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin: 88px 0px;
|
||||
font-family: ${Constants.font.text};
|
||||
`;
|
||||
|
||||
const STYLES_NAVLINKS = css`
|
||||
display: flex;
|
||||
a{
|
||||
margin-left: 20px;
|
||||
text-decoration none;
|
||||
}
|
||||
`;
|
||||
|
||||
const STYLES_HEADING = css`
|
||||
font-weight: 400;
|
||||
font-size: 2.88rem;
|
||||
line-height: 1.5;
|
||||
color: ${Constants.system.black};
|
||||
|
||||
@media (max-width: 768px) {
|
||||
font-size: 1rem;
|
||||
}
|
||||
@ -45,7 +28,6 @@ const STYLES_PARAGRAPH = css`
|
||||
font-size: 2.88rem;
|
||||
line-height: 1.5;
|
||||
color: ${Constants.system.pitchBlack};
|
||||
|
||||
@media (max-width: 768px) {
|
||||
font-size: 1rem;
|
||||
}
|
||||
@ -95,4 +77,4 @@ export default class IndexPage extends React.Component {
|
||||
</WebsitePrototypeWrapper>
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user