scenes: add activity scene

This commit is contained in:
@wwwjim 2020-08-07 17:17:54 -07:00
parent 881fc5c455
commit e775670b10
2 changed files with 22 additions and 0 deletions

View File

@ -19,6 +19,7 @@ import SceneLocalData from "~/scenes/SceneLocalData";
import SceneSettingsDeveloper from "~/scenes/SceneSettingsDeveloper"; import SceneSettingsDeveloper from "~/scenes/SceneSettingsDeveloper";
import SceneSignIn from "~/scenes/SceneSignIn"; import SceneSignIn from "~/scenes/SceneSignIn";
import SceneSlate from "~/scenes/SceneSlate"; import SceneSlate from "~/scenes/SceneSlate";
import SceneActivity from "~/scenes/SceneActivity";
// NOTE(jim): // NOTE(jim):
// Sidebars each have a decorator and can be shown to with _handleAction // Sidebars each have a decorator and can be shown to with _handleAction
@ -436,6 +437,7 @@ export default class ApplicationPage extends React.Component {
EDIT_ACCOUNT: <SceneEditAccount />, EDIT_ACCOUNT: <SceneEditAccount />,
SLATES: <SceneSlates />, SLATES: <SceneSlates />,
LOCAL_DATA: <SceneLocalData />, LOCAL_DATA: <SceneLocalData />,
ACTIVITY: <SceneActivity />,
}; };
render() { render() {

20
scenes/SceneActivity.js Normal file
View File

@ -0,0 +1,20 @@
import * as React from "react";
import * as System from "~/components/system";
import { css } from "@emotion/react";
import ScenePage from "~/components/core/ScenePage";
// TODO(jim): Figure out the activity story.
export default class SceneActivity extends React.Component {
render() {
return (
<ScenePage>
<System.DescriptionGroup
label="Coming soon"
description="Your activity on Slate will appear here."
/>
</ScenePage>
);
}
}