mirror of
https://github.com/filecoin-project/slate.git
synced 2024-09-20 02:37:09 +03:00
Styling updates
This commit is contained in:
parent
2a3dd5ea5e
commit
cd1f962713
3
components/stats/Chart.js
vendored
3
components/stats/Chart.js
vendored
@ -1,5 +1,6 @@
|
||||
import * as React from "react";
|
||||
import CreateChart from "./CreateChart";
|
||||
|
||||
import CreateChart from "~/components/stats/CreateChart";
|
||||
|
||||
class Chart extends React.Component {
|
||||
state = {
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React, { Component } from "react";
|
||||
import HardChart from "./HardChart";
|
||||
import Chart from "./Chart";
|
||||
import * as React from "react";
|
||||
|
||||
import HardChart from "~/components/stats/HardChart";
|
||||
import Chart from "~/components/stats/Chart";
|
||||
|
||||
const MOCKDATA = [
|
||||
{ date: "December 17, 1995 03:24:00", category: "1", value: 100 },
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React from "react";
|
||||
import * as React from "react";
|
||||
|
||||
const STYLES_CONTAINER = {
|
||||
width: "100%",
|
||||
|
@ -1,15 +1,13 @@
|
||||
import * as React from "react";
|
||||
import * as Strings from "~/common/strings";
|
||||
import * as Constants from "~/common/constants";
|
||||
import * as SVG from "~/components/system/svg";
|
||||
import * as System from "~/components/system";
|
||||
import * as SchemaTable from "~/common/schema-table";
|
||||
import Section from "~/components/core/Section";
|
||||
import ScenePage from "~/components/core/ScenePage";
|
||||
import { css } from "@emotion/react";
|
||||
|
||||
import * as System from "~/components/system";
|
||||
import Section from "~/components/core/Section";
|
||||
import ChartParent from "~/components/stats/ChartParent";
|
||||
|
||||
import { css } from "@emotion/react";
|
||||
|
||||
const STYLES_ROW = css`
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
@ -309,12 +307,8 @@ const EXAMPLE_MINERS = {
|
||||
|
||||
export default class StatsPage extends React.Component {
|
||||
render() {
|
||||
const title = `Stats Page`;
|
||||
const description = "This is to experiment with analytics.";
|
||||
const url = "https://slate.host/analytics";
|
||||
|
||||
return (
|
||||
<ScenePage>
|
||||
<div>
|
||||
<System.H1>Stats</System.H1>
|
||||
|
||||
<Section
|
||||
@ -408,7 +402,7 @@ export default class StatsPage extends React.Component {
|
||||
<Section title="Node">
|
||||
<ChartParent></ChartParent>
|
||||
</Section>
|
||||
</ScenePage>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user