mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 06:28:51 +00:00
feat(notes/nui): App configuration in useApps
This commit is contained in:
1 parent
aafc7a8e3d
commit
5ff8855a33
1 file changed
+13
-1
@@ -6,6 +6,7 @@ import {
|
||||
grey,
|
||||
green,
|
||||
purple,
|
||||
yellow,
|
||||
red,
|
||||
amber,
|
||||
} from "@material-ui/core/colors";
|
||||
@@ -14,7 +15,8 @@ import {
|
||||
faAd,
|
||||
faPlaneArrival,
|
||||
faPhoneAlt,
|
||||
faWonSign
|
||||
faWonSign,
|
||||
faStickyNote
|
||||
} from "@fortawesome/free-solid-svg-icons";
|
||||
import { faTwitter } from "@fortawesome/free-brands-svg-icons";
|
||||
|
||||
@@ -33,6 +35,7 @@ import { MessagesApp } from "../../../apps/messages/components/MessagesApp";
|
||||
import { TwitterApp } from "../../../apps/twitter/components/TwitterApp";
|
||||
import { ExampleApp } from "../../../apps/example/components/ExampleApp";
|
||||
import { SelloutApp } from "../../../apps/sellout/components/SelloutApp";
|
||||
import { NotesApp } from "../../../apps/notes/NotesApp";
|
||||
|
||||
const appsState = atom({
|
||||
key: "apps",
|
||||
@@ -110,6 +113,15 @@ const appsState = atom({
|
||||
path: "/sellout",
|
||||
Route: () => <Route path="/sellout" component={SelloutApp} />,
|
||||
},
|
||||
{
|
||||
id: 'NOTES',
|
||||
name: 'APPS_NOTES',
|
||||
icon: <FontAwesomeIcon icon={faStickyNote} fixedWidth />,
|
||||
backgroundColor: yellow[800],
|
||||
color: common.white,
|
||||
path: "/notes",
|
||||
Route: () => <Route path="/notes" component={NotesApp}/>
|
||||
},
|
||||
{
|
||||
id: "EXAMPLE",
|
||||
nameLocale: "APPS_EXAMPLE",
|
||||
|
||||
Reference in new issue
Block a user