Styling updates

This commit is contained in:
uonai 2020-08-10 20:30:09 -05:00
parent 2a3dd5ea5e
commit cd1f962713
4 changed files with 13 additions and 17 deletions

View File

@ -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 = {

View File

@ -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 },

View File

@ -1,4 +1,4 @@
import React from "react";
import * as React from "react";
const STYLES_CONTAINER = {
width: "100%",

View File

@ -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>
);
}
}