Removing less possibility for interpretation of title casing over sentence casing

This commit is contained in:
@wwwjim 2020-09-12 18:12:56 -07:00
parent fdc1b9f65d
commit 4916843e3b
11 changed files with 28 additions and 24 deletions

View File

@ -88,7 +88,9 @@ export default class SidebarAddFileToBucket extends React.Component {
name: "create-alert", name: "create-alert",
detail: { detail: {
alert: { alert: {
message: `We currently do not accept ${file.type} yet but may in the future!`, message: `We currently do not accept ${
file.type
} yet but may in the future!`,
}, },
}, },
}); });
@ -177,7 +179,7 @@ export default class SidebarAddFileToBucket extends React.Component {
marginBottom: "64px", marginBottom: "64px",
}} }}
> >
Upload Data Upload data
</System.P> </System.P>
<input <input
css={STYLES_FILE_HIDDEN} css={STYLES_FILE_HIDDEN}

View File

@ -88,15 +88,17 @@ export default class SidebarCreateSlate extends React.Component {
fontFamily: Constants.font.semiBold, fontFamily: Constants.font.semiBold,
fontSize: Constants.typescale.lvl3, fontSize: Constants.typescale.lvl3,
marginBottom: "64px", marginBottom: "64px",
}}> }}
Create Slate >
Create slate
</System.P> </System.P>
<System.P <System.P
style={{ style={{
fontFamily: Constants.font.semiBold, fontFamily: Constants.font.semiBold,
fontSize: "1.1rem", fontSize: "1.1rem",
}}> }}
>
Name Name
</System.P> </System.P>
<System.Input <System.Input
@ -114,7 +116,8 @@ export default class SidebarCreateSlate extends React.Component {
href={`${this.props.viewer.username}/${Strings.createSlug( href={`${this.props.viewer.username}/${Strings.createSlug(
this.state.name this.state.name
)}`} )}`}
target="_blank"> target="_blank"
>
https://slate.host/ https://slate.host/
{this.props.viewer.username}/{Strings.createSlug(this.state.name)} {this.props.viewer.username}/{Strings.createSlug(this.state.name)}
</a> </a>
@ -124,7 +127,8 @@ export default class SidebarCreateSlate extends React.Component {
full full
style={{ marginTop: 48 }} style={{ marginTop: 48 }}
onClick={this._handleSubmit} onClick={this._handleSubmit}
loading={this.state.loading}> loading={this.state.loading}
>
Create {this.state.name} Create {this.state.name}
</System.ButtonPrimary> </System.ButtonPrimary>
</div> </div>

View File

@ -37,7 +37,7 @@ export default class SidebarDragDropNotice extends React.Component {
fontSize: Constants.typescale.lvl3, fontSize: Constants.typescale.lvl3,
}} }}
> >
Drag & Drop Drag & drop
</System.P> </System.P>
<div css={STYLES_ICONS}> <div css={STYLES_ICONS}>
<SVG.Sound height="24px" style={{ margin: "0 16px" }} /> <SVG.Sound height="24px" style={{ margin: "0 16px" }} />

View File

@ -30,7 +30,7 @@ export default class SidebarRedeemPaymentChannel extends React.Component {
fontSize: Constants.typescale.lvl3, fontSize: Constants.typescale.lvl3,
}} }}
> >
Redeem Payment Channel Redeem payment channel
</System.P> </System.P>
</React.Fragment> </React.Fragment>
); );

View File

@ -146,7 +146,7 @@ export default class SidebarSingleSlateSettings extends React.Component {
marginBottom: 64, marginBottom: 64,
}} }}
> >
Slate Settings Slate settings
</System.P> </System.P>
<System.P css={STYLES_HEADER}>Name</System.P> <System.P css={STYLES_HEADER}>Name</System.P>

View File

@ -83,31 +83,31 @@ class ExampleDisabled extends React.Component {
<br /> <br />
<System.P>Each of the button styles has a full width option.</System.P> <System.P>Each of the button styles has a full width option.</System.P>
<br /> <br />
<System.ButtonPrimary full>Primary Button Full</System.ButtonPrimary> <System.ButtonPrimary full>Primary button full</System.ButtonPrimary>
<br /> <br />
<System.ButtonSecondary full> <System.ButtonSecondary full>
Secondary Button Full Secondary button full
</System.ButtonSecondary> </System.ButtonSecondary>
<br /> <br />
<System.ButtonDisabled full>Disabled Button Full</System.ButtonDisabled> <System.ButtonDisabled full>Disabled button full</System.ButtonDisabled>
<br /> <br />
<br /> <br />
<CodeBlock> <CodeBlock>
{`class ExamplePrimaryFull extends React.Component { {`class ExamplePrimaryFull extends React.Component {
render() { render() {
return <ButtonPrimary full>Primary Button Full</ButtonPrimary>; return <ButtonPrimary full>Primary button full</ButtonPrimary>;
} }
} }
class ExampleSecondaryFull extends React.Component { class ExampleSecondaryFull extends React.Component {
render() { render() {
return <ButtonSecondary full>Secondary Button Full</ButtonSecondary>; return <ButtonSecondary full>Secondary button full</ButtonSecondary>;
} }
} }
class ExampleDisabledFull extends React.Component { class ExampleDisabledFull extends React.Component {
render() { render() {
return <ButtonDisabled full>Disabled Button Full</ButtonDisabled>; return <ButtonDisabled full>Disabled button full</ButtonDisabled>;
} }
}`} }`}
</CodeBlock> </CodeBlock>
@ -123,15 +123,15 @@ class ExampleDisabledFull extends React.Component {
</System.P> </System.P>
<br /> <br />
<System.ButtonPrimary type="label"> <System.ButtonPrimary type="label">
Primary Label Primary label
</System.ButtonPrimary>{" "} </System.ButtonPrimary>{" "}
&nbsp; &nbsp;
<System.ButtonSecondary type="label"> <System.ButtonSecondary type="label">
Secondary Label Secondary label
</System.ButtonSecondary>{" "} </System.ButtonSecondary>{" "}
&nbsp; &nbsp;
<System.ButtonDisabled type="label"> <System.ButtonDisabled type="label">
Disabled Label Disabled label
</System.ButtonDisabled> </System.ButtonDisabled>
<br /> <br />
<br /> <br />

View File

@ -75,7 +75,7 @@ export default class SystemPageRoot extends React.Component {
<CodeBlock> <CodeBlock>
{`import { ButtonPrimary } from "slate-react-system"; {`import { ButtonPrimary } from "slate-react-system";
const Component = () => <ButtonPrimary>Hello World</ButtonPrimary>;`} const Component = () => <ButtonPrimary>Hello world</ButtonPrimary>;`}
</CodeBlock> </CodeBlock>
<br /> <br />
<br /> <br />

View File

@ -73,7 +73,7 @@ export default class SlateReactSystemPage extends React.Component {
type="label" type="label"
htmlFor="file" htmlFor="file"
> >
Upload File To Network With API Upload file To network with API
</System.ButtonPrimary> </System.ButtonPrimary>
<System.TooltipAnchor tooltip="Hello friends!!" /> <System.TooltipAnchor tooltip="Hello friends!!" />
</div> </div>

View File

@ -39,7 +39,6 @@ export default class SceneDeals extends React.Component {
}; };
render() { render() {
console.log(this.props);
return ( return (
<ScenePage> <ScenePage>
<ScenePageHeader title="Deals [WIP]"> <ScenePageHeader title="Deals [WIP]">

View File

@ -206,7 +206,7 @@ export default class SceneEditAccount extends React.Component {
return ( return (
<ScenePage> <ScenePage>
<System.H1>Account Settings</System.H1> <System.H1>Account settings</System.H1>
<System.DescriptionGroup <System.DescriptionGroup
style={{ marginTop: 48 }} style={{ marginTop: 48 }}

View File

@ -24,7 +24,6 @@ export default class SceneSentinel extends React.Component {
} }
render() { render() {
console.log(this.props);
return ( return (
<ScenePage> <ScenePage>
<ScenePageHeader title="Filecoin Network"> <ScenePageHeader title="Filecoin Network">