Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update about us page #388

Merged
merged 34 commits into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
1517f1d
update about us page
bluebill1049 Jul 24, 2020
e147b18
include interests
bluebill1049 Jul 24, 2020
1457cfd
added description to myself
JeromeDeLeon Jul 24, 2020
ea09c6f
replaced duplicate kotaro's name with keiya
JeromeDeLeon Jul 24, 2020
0c970d7
added github link profile
JeromeDeLeon Jul 24, 2020
78537fb
updated source code to plural for consistency
JeromeDeLeon Jul 24, 2020
59a742e
Update src/pages/about-us.tsx
bluebill1049 Jul 24, 2020
d23d121
Update src/pages/about-us.tsx
bluebill1049 Jul 24, 2020
065471b
Update src/pages/about-us.tsx
bluebill1049 Jul 24, 2020
726d43f
Update src/pages/about-us.tsx
bluebill1049 Jul 24, 2020
d46c656
updated my profile
keiya01 Jul 25, 2020
3fc96d9
fixed some errors
keiya01 Jul 25, 2020
835a09f
include others
bluebill1049 Jul 25, 2020
912e554
finish animation
bluebill1049 Jul 25, 2020
3c8a2a9
fix grammar
bluebill1049 Jul 25, 2020
2688a75
update footer
bluebill1049 Jul 25, 2020
efc5ee6
chagne title to about us
bluebill1049 Jul 25, 2020
9e527bd
chagne title to about us
bluebill1049 Jul 25, 2020
3215dca
page design ready
bluebill1049 Jul 26, 2020
ec025a6
update about us
bluebill1049 Jul 26, 2020
7acbe2d
update with hover effect
bluebill1049 Jul 26, 2020
600fb15
update about us - dohyung
adhrinae Jul 26, 2020
81a9ff5
include target blank
bluebill1049 Jul 26, 2020
6fc8918
Slightly more specific interest
pmaier983 Jul 26, 2020
29ae7d6
update my bio
kotarella1110 Jul 27, 2020
bb09196
Merge branch 'master' into about-us
bluebill1049 Jul 27, 2020
7c72c64
Update about-us.tsx
stramel Jul 27, 2020
dc4e581
update with twitter link
bluebill1049 Jul 28, 2020
189973e
include link to about us
bluebill1049 Jul 28, 2020
43a5120
fix layout issue
bluebill1049 Jul 28, 2020
77fb6d0
Update about-us.tsx
stramel Jul 29, 2020
a1d3885
change font size
bluebill1049 Jul 29, 2020
1798a9b
Merge branch 'master' into about-us
bluebill1049 Jul 29, 2020
d74e243
update my bio
kotarella1110 Jul 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ export default ({ currentLanguage }: { currentLanguage: string }) => {
{nav[currentLanguage].resources}
</Link>
</li>
<li>
<Link to="/about-us">About us</Link>
</li>
</ul>
<p>
Design and Build by{" "}
Expand Down Expand Up @@ -118,23 +121,14 @@ export default ({ currentLanguage }: { currentLanguage: string }) => {
</p>
)}
<p style={{ fontSize: 12 }}>
[ {generic.support[currentLanguage]}{" "}
{generic.support[currentLanguage]}{" "}
<a
href="https://github.com/react-hook-form/react-hook-form"
target="_blank"
rel="noreferrer noopener"
>
@github
</a>
️ ] [ Help make these docs better{" "}
<a
href="https://github.com/react-hook-form/website"
target="_blank"
rel="noreferrer noopener"
>
@github
</a>{" "}
]
</p>
<p
style={{
Expand Down
52 changes: 52 additions & 0 deletions src/components/ResourcePage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,58 @@ p.author {
-webkit-box-orient: vertical;
}

.name {
font-weight: 600;
}

.contentList img {
transition: 0.3s all ease-in;
width: 100%;
}

.contentList img:hover {
transition: 0.3s all ease-out;
opacity: 0.8;
border: 13px solid var(--color-light-blue);
}

.contentList li {
position: relative;
overflow: hidden;
}

.contentList svg {
position: absolute;
z-index: 2;
height: 100%;
width: 100%;
fill: #091129;
}

.interests {
list-style: none;
padding: 0;
margin: 0;
}

.interests > ul {
margin: 0;
padding: 8px 0;
font-size: 14px;
display: flex;
border: 1px solid var(--color-light-blue);
}

.interests li {
flex: 1;
text-align: center;
border-right: 1px solid var(--color-light-blue);
}

.interests li:last-child {
border: none;
}

@media (min-width: 768px) {
.contentList {
display: grid;
Expand Down
176 changes: 176 additions & 0 deletions src/pages/about-us.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
import * as React from "react"
import { AnimateKeyframes, Animate } from "react-simple-animate"
import Seo from "../components/seo"
import Layout from "../components/layout"
import Footer from "../components/Footer"
import containerStyle from "../styles/container.module.css"
import typographyStyles from "../styles/typography.module.css"
import styles from "../components/ResourcePage.module.css"

const data = [
{
name: "Kotaro Sugawara",
imgUrl:
"https://avatars1.githubusercontent.com/u/12913947?s=460&u=949926ee4c1aa8b414d994e29665f7dc3c21bb7b&v=4",
url: "https://github.com/kotarella1110",
bio:
"I am a developer who loves Front-End. I want to deliver the best UX for users all over the world.",
interests: ["📕 manga", "📺 anime", "♨️ onsen"],
},
{
name: "Keiya Sasaki",
imgUrl:
"https://avatars2.githubusercontent.com/u/34934510?s=460&u=4a9c50dd3ec691bf5d55a4c6c413e8f79ec2afef&v=4",
url: "https://github.com/keiya01",
bio:
"I am a developer who loves Front-End. I want to deliver the best UX for users all over the world.",
interests: ["📕 manga", "📺 anime", "♨️ onsen"],
},
{
name: "Jerome De Leon",
imgUrl: "https://avatars3.githubusercontent.com/u/32805276?s=460&v=4",
url: "https://github.com/JeromeDeLeon",
bio:
"My curiosity of how computer works when I was little brings me into becoming a developer of who am I today and I never regret it. It excites me when something is happening that I do not know like my code that I do not understand. 🤪🤪",
interests: ["🎮 games", "💻 code", "🍛 foods"],
},
{
name: "Phillip ED Maier",
imgUrl:
"https://avatars3.githubusercontent.com/u/35811186?s=460&u=011235951b44d56d753335ac4cac32046802b300&v=4",
url: "https://phillip-maier.com/",
bio: "A Software Engineer with a passion for helping others 😄.",
interests: ["🚣 rowing", "🌳 trees", "🎿 skiing"],
},
{
name: "Michael Stramel",
imgUrl:
"https://avatars0.githubusercontent.com/u/855184?s=460&u=b8094edc8d249d4c165cf0253dea3388623e24a9&v=4",
url: "https://github.com/JeromeDeLeon",
stramel marked this conversation as resolved.
Show resolved Hide resolved
bio: "",
interests: ["🎮 games", "💻 source", "🍛 foods"],
stramel marked this conversation as resolved.
Show resolved Hide resolved
},
{
name: "Dohyung Ahn",
imgUrl: "https://avatars0.githubusercontent.com/u/14539203?s=460&v=4",
url: "https://github.com/adhrinae",
bio:
"I am a Software Engineer (mostly frontend) who loves open source and their community. I like translating documentation of open source projects and useful dev articles in Korean. I always try to grow as developer to build the best product that can make me satisfied.",
interests: ["🎮 games", "💻 code", "🎹 piano"],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh wow games and piano :)

what game?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually, console games since I don't have a windows PC to play steam games.
I'm playing Diablo 3 on Nintendo switch these days.
My best pick would be Assassin's Creed series.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hahah nice.

},
{
name: "Beier(Bill) Luo",
imgUrl:
"https://avatars2.githubusercontent.com/u/10513364?s=460&u=a129aade5f9a7a92cf06172b47d67ccefc736933&v=4",
url: "https://github.com/bluebill1049",
bio:
"I started my career as a Designer/Developer, but I have been passionate about building/creating since I was little. Building open source projects has become my hobby, and helping thousands of developers around the world has become my passion. React-Hook-Form is a dream come true.",
interests: ["🎮 games", "🚗 cars", "🐟 fish"],
},
]

export default ({ location }) => {
return (
<Layout location={location} defaultLang="en">
<Seo title="About us" location={location} />
<div className={containerStyle.container}>
<main className={styles.root}>
<h1 className={typographyStyles.headingWithTopMargin} id="main">
About Us
</h1>
<p className={typographyStyles.subHeading}>
Passionate engineers who want to contribute to the community and
help developers around the world.
</p>

<ul
className={styles.contentList}
style={{
marginTop: 50,
}}
>
{data.map(({ url, imgUrl, name, bio, interests }, i) => (
<li key={imgUrl}>
<AnimateKeyframes
play
keyframes={[
{
transform: "translateY(0px)",
},
{
transform: "translateY(50%)",
opacity: 0.8,
},
{
transform: "translateY(50%)",
opacity: 0,
},
]}
easeType="ease-out"
duration={1}
fillMode={"both"}
delay={0.3 * i + 0.4}
render={({ style }) => {
return (
<svg
style={style}
viewBox="0 0 100 100"
width="100%"
height="100%"
preserveAspectRatio="none"
>
<path d="M0,0 100,0 100,100 0,100" />
</svg>
)
}}
/>
<section>
<Animate
play
start={{
transform: "translateY(200px)",
}}
end={{
transform: "translateY(0px)",
}}
easeType="ease-in"
duration={0.5}
delay={0.3 * i + 0.4}
render={({ style }) => {
return (
<div style={style}>
<a
href={url}
style={{
position: "relative",
display: "block",
}}
>
<img src={imgUrl} alt="avatar" />
</a>
<p className={styles.name}>{name}</p>

<section className={styles.interests}>
<ul>
{interests.map((interest) => (
<li>{interest}</li>
))}
</ul>
</section>

<p>{bio}</p>
</div>
)
}}
/>
</section>
</li>
))}
</ul>
</main>

<Footer currentLanguage="en" />
</div>
</Layout>
)
}