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

Rewrite Finder using React, Gatsby, and DS (WIP) #24

Merged
merged 150 commits into from
Jul 31, 2018
Merged

Conversation

ifvictr
Copy link
Owner

@ifvictr ifvictr commented Mar 19, 2018

No description provided.

import qs from "query-string";

class IndexPage extends Component {
constructor(props) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a big deal, but the pattern of a static for initial state + automatic function binding is preferable:

https://github.com/withspectrum/spectrum/blob/alpha/src/components/chatInput/index.js#L76-L123

Copy link
Contributor

Choose a reason for hiding this comment

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

the majority of this page component should be relocated to its own component/broken up a bit. most of this functionality should be render-able from any page on the site.

@@ -131,7 +130,7 @@ class ClubCard extends Component {
<Photo src={`/school/${data.id}.jpg`} ready={ready} />
</Box>
<Flex p={3} justify="space-around" flexDirection="column" style={{ flex: 1 }}>
<Heading.h4>{data.name}</Heading.h4>
<Heading.h4 style={{ textTransform: "capitalize" }}>{data.name}</Heading.h4>
Copy link
Contributor

Choose a reason for hiding this comment

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

try the caps prop :)

Copy link
Owner Author

@ifvictr ifvictr Apr 15, 2018

Choose a reason for hiding this comment

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

I don't want it to be uppercased 😛

Copy link
Contributor

Choose a reason for hiding this comment

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

oh! yes. every time I see textTransform I figure it's uppercase. sorry, will quietly duck out of the room now :)

@ifvictr ifvictr mentioned this pull request Jul 11, 2018
@ifvictr ifvictr merged commit 953b36b into master Jul 31, 2018
@ifvictr ifvictr deleted the react-ds-rewrite branch July 31, 2018 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants