Feat(useApps): Adding SelloutIcon app

This commit is contained in:
chip committed 2020-10-10 22:29:08 +02:00
1 parent dc8604d4d1
commit 9db4c7e0be
1 file changed
+14
+14
View File
@@ -7,8 +7,12 @@ import {
green, green,
orange, orange,
purple, purple,
red,
amber, amber,
} from "@material-ui/core/colors"; } from "@material-ui/core/colors";
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faAd } from '@fortawesome/free-solid-svg-icons'
import ContactsIcon from "@material-ui/icons/Contacts"; import ContactsIcon from "@material-ui/icons/Contacts";
import SettingsIcon from "@material-ui/icons/Settings"; import SettingsIcon from "@material-ui/icons/Settings";
import PhoneIcon from "@material-ui/icons/Phone"; import PhoneIcon from "@material-ui/icons/Phone";
@@ -27,6 +31,7 @@ import { BankApp } from "../../../apps/bank/components/BankApp";
import { MessagesApp } from "../../../apps/messages/components/MessagesApp"; import { MessagesApp } from "../../../apps/messages/components/MessagesApp";
import { TwitterApp } from "../../../apps/twitter/components/TwitterApp"; import { TwitterApp } from "../../../apps/twitter/components/TwitterApp";
import { ExampleApp } from "../../../apps/example/components/ExampleApp"; import { ExampleApp } from "../../../apps/example/components/ExampleApp";
import { SelloutApp } from "../../../apps/sellout/components/SelloutApp";
const appsState = atom({ const appsState = atom({
key: "apps", key: "apps",
@@ -95,6 +100,15 @@ const appsState = atom({
path: "/twitter", path: "/twitter",
Route: () => <Route path="/twitter" component={TwitterApp} />, Route: () => <Route path="/twitter" component={TwitterApp} />,
}, },
{
id: "SELLOUT",
nameLocale: "APPS_SELLOUT",
icon: <FontAwesomeIcon icon={faAd} fixedWidth />,
backgroundColor: red[500],
color: common.white,
path: "/sellout",
Route: () => <Route path="/sellout" component={SelloutApp} />,
},
{ {
id: "EXAMPLE", id: "EXAMPLE",
nameLocale: "APPS_EXAMPLE", nameLocale: "APPS_EXAMPLE",