mirror of
https://github.com/filecoin-project/slate.git
synced 2024-09-20 18:58:59 +03:00
formatting: PR changes
This commit is contained in:
parent
d8834de05e
commit
a4ca447bb5
@ -175,14 +175,13 @@ export default class ApplicationUserControls extends React.Component {
|
|||||||
onClick: () =>
|
onClick: () =>
|
||||||
this._handleAction({
|
this._handleAction({
|
||||||
type: "NAVIGATE",
|
type: "NAVIGATE",
|
||||||
value: "V1_NAVIGATION_PROFILE_EDIT",
|
value: "V1_NAVIGATION_PROFILE_EDIT"
|
||||||
}),
|
})
|
||||||
},
|
},
|
||||||
{ text: "Sign out", onClick: this._handleSignOut },
|
{ text: "Sign out", onClick: this._handleSignOut }
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</Boundary>
|
</Boundary>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
@ -1,17 +1,9 @@
|
|||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
|
|
||||||
import * as Constants from "~/common/constants";
|
import * as Constants from "~/common/constants";
|
||||||
import * as System from "~/components/system";
|
import * as System from "~/components/system";
|
||||||
|
|
||||||
import { css } from "@emotion/react";
|
import { css } from "@emotion/react";
|
||||||
|
|
||||||
const STYLES_ISSUE_CARD_GROUP = css`
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
width: 100%;
|
|
||||||
margin-top: 48px;
|
|
||||||
`;
|
|
||||||
|
|
||||||
const STYLES_ISSUE_CARD = css`
|
const STYLES_ISSUE_CARD = css`
|
||||||
width: 33.33%;
|
width: 33.33%;
|
||||||
height: calc(100vh / 4);
|
height: calc(100vh / 4);
|
||||||
@ -77,12 +69,15 @@ const STYLES_ISSUE_CARD_PARAGRAPH = css`
|
|||||||
|
|
||||||
export default class Issue extends React.Component {
|
export default class Issue extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
const { title, id, url } = this.props;
|
|
||||||
return (
|
return (
|
||||||
<div css={STYLES_ISSUE_CARD}>
|
<div css={STYLES_ISSUE_CARD}>
|
||||||
<a css={STYLES_ISSUE_CARD_PARAGRAPH} href={url} target="_blank">
|
<a
|
||||||
|
css={STYLES_ISSUE_CARD_PARAGRAPH}
|
||||||
|
href={this.props.url}
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
<div css={STYLES_ISSUE_CARD_TEXT}>
|
<div css={STYLES_ISSUE_CARD_TEXT}>
|
||||||
<div css={STYLES_ISSUE_CARD_TITLE}>{title}</div>
|
<div css={STYLES_ISSUE_CARD_TITLE}>{this.props / title}</div>
|
||||||
<div css={STYLES_ISSUE_CARD_EXPLAINER}>
|
<div css={STYLES_ISSUE_CARD_EXPLAINER}>
|
||||||
<div>View Issue</div>
|
<div>View Issue</div>
|
||||||
<div>-></div>
|
<div>-></div>
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
|
|
||||||
import * as Constants from "~/common/constants";
|
import * as Constants from "~/common/constants";
|
||||||
|
|
||||||
import { css, keyframes } from "@emotion/react";
|
import { css, keyframes } from "@emotion/react";
|
||||||
|
Loading…
Reference in New Issue
Block a user