diff --git a/components/footer.js b/components/footer.js
index 5beaf0b7..f6958658 100644
--- a/components/footer.js
+++ b/components/footer.js
@@ -8,21 +8,15 @@ import Icon from './icon'
const Base = styled(Box)`
background: ${props =>
props.dark
- ? `${theme.colors.darker} radial-gradient(${hexa(
- theme.colors.black,
- 0.5
- )} 1px, transparent 1px)`
+ ? `${theme.colors.darker} radial-gradient(${theme.colors.black} 1px, transparent 1px)`
: `${theme.colors.snow} url('https://hackclub.com/pattern.svg') repeat`};
${props =>
props.dark &&
- css`
+ `
background-size: ${theme.space[4]}px ${theme.space[4]}px;
h2 {
color: ${theme.colors.muted};
}
- ${BottomLine} {
- border-color: ${theme.colors.black};
- }
`} @media print {
display: none;
}
@@ -97,10 +91,6 @@ const Pages = styled(Box)`
}
`
-const BottomLine = styled(Box)`
- border-top: 1px solid ${theme.colors.smoke};
-`
-
const Footer = ({ dark = false, children, ...props }) => (
(
-
-
- Mail: 8605 Santa Monica Blvd #86294, West Hollywood, CA 90069
-
-
-
-
- © {new Date().getFullYear()} Hack Club. 501(c)(3) nonprofit (EIN:
- 81-2908499)
-
-
+
+ Mail: 8605 Santa Monica Blvd #86294, West Hollywood, CA 90069
+
+
+ © {new Date().getFullYear()} Hack Club. 501(c)(3) nonprofit (EIN:
+ 81-2908499)
+
)
diff --git a/components/nav.js b/components/nav.js
index 8ff44c61..2b35be23 100644
--- a/components/nav.js
+++ b/components/nav.js
@@ -92,9 +92,8 @@ const layout = props =>
overflow-y: auto;
text-align: left;
height: 100vh;
- animation: ${slide} 0.25s ease-in;
- @media (prefers-reduced-motion: reduce) {
- animation: none;
+ @media (prefers-reduced-motion: no-preference) {
+ animation: ${slide} 0.25s ease-in;
}
a {
color: ${theme.colors[props.dark ? 'white' : 'black']} !important;
@@ -220,13 +219,13 @@ class Header extends Component {
const baseColor = dark
? color || 'white'
: color === 'white' && scrolled
- ? 'black'
- : color
+ ? 'black'
+ : color
const toggleColor = dark
? color || 'snow'
: toggled || (color === 'white' && scrolled)
- ? 'slate'
- : color
+ ? 'slate'
+ : color
return (
props.children}';
+ position: absolute;
+ top: 0;
+ color: ${theme.colors.smoke};
+ background: ${theme.colors.dark};
+ overflow: hidden;
+ clip: rect(0, 512px, 0, 0);
+ }
+ &:after {
+ left: 2px;
+ text-shadow: -2px 0 ${theme.colors.red};
+ animation: ${animation1} 2s infinite linear alternate-reverse;
+ }
+ &:before {
+ left: -2px;
+ text-shadow: -2px 0 ${theme.colors.cyan};
+ animation: ${animation2} 4s infinite linear alternate-reverse;
+ }
+`
+
+export default () => (
+ <>
+
+
+
+
+
+ 404!
+
+
+ We couldn’t find that page.
+
+
+
+
+
+
+ >
+)