-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP about * WIP wanna help * solved tests regression issues * WIP working on app requests * renamed contactUs to contact * finished about page
- Loading branch information
Showing
42 changed files
with
311 additions
and
387 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
import styled from "@emotion/styled"; | ||
|
||
export default styled.input` | ||
padding: 9px; | ||
border: solid 1px #423737; | ||
const shared = ` | ||
border: solid 1px #463d3d; | ||
background: #332e2e; | ||
color: #e9e5e5; | ||
background: #261d1d; | ||
border-radius: 5px; | ||
border-radius: 3px; | ||
width: 100%; | ||
::placeholder { | ||
color:#806f6f; | ||
} | ||
`; | ||
|
||
export const TextInput = styled.input` | ||
${shared} | ||
padding: 9px; | ||
`; | ||
|
||
export const TextArea = styled.textarea` | ||
${shared} | ||
display: block; | ||
padding: 8px 10px; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import React, { useEffect, useState } from "react"; | ||
import styled from "@emotion/styled"; | ||
import ContactForm from "./contact/ContactForm"; | ||
import { getTitle } from "@shared/utils"; | ||
|
||
export default () => { | ||
const [messageSent, setMessageSent] = useState(false); | ||
useEffect(() => { | ||
document.title = getTitle("/contact"); | ||
}, []); | ||
|
||
return ( | ||
<Container> | ||
<InnerContainer> | ||
<Title>About</Title> | ||
<p>There’s a line I read somewhere:</p> | ||
<p> | ||
“Keyboard shortcuts make the UI disappear until all that’s left is | ||
pure creation” It stuck. | ||
</p> | ||
<p> | ||
KeyboardNinja.me is my geeky attempt to document all those shortcuts, | ||
display them beautifully and help you remember and use them. | ||
<br /> You can save your favorite shortcuts for future reference, | ||
share them with friends and see what others are using. | ||
</p> | ||
<Title>Missing Your App?</Title> | ||
<p style={{ marginBottom: 0 }}> | ||
Wanna see your favorite app in here? missing a feature? found a bug? | ||
<br /> | ||
<br /> | ||
Let me know: | ||
</p> | ||
{!messageSent ? ( | ||
<ContactForm onSend={() => setMessageSent(true)} /> | ||
) : ( | ||
<div> | ||
<Title>Thank You!</Title> | ||
Your message was sent successfully | ||
</div> | ||
)} | ||
</InnerContainer> | ||
</Container> | ||
); | ||
}; | ||
|
||
const Container = styled.div` | ||
display: flex; | ||
justify-content: center; | ||
font-weight: 300; | ||
background: #2c252599; | ||
padding: 20px 10px 0 10px; | ||
border-radius: 7px; | ||
min-height: calc(100vh - 90px); | ||
p { | ||
font-size: 1.1em; | ||
} | ||
`; | ||
|
||
const InnerContainer = styled.div` | ||
max-width: 600px; | ||
color: #e9e5e5; | ||
`; | ||
|
||
const Title = styled.h1` | ||
padding: 35px 0 15px; | ||
font-size: 25px; | ||
text-align: center; | ||
font-weight: 400; | ||
color: #e9e5e5; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.