mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Merge branch 'ui-changes'
This commit is contained in:
commit
f3af0eebd4
29 files changed
+400
-248
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import { useConfig } from "../../../config/hooks/useConfig";
|
||||
import React from 'react';
|
||||
import { useConfig } from '../../../config/hooks/useConfig';
|
||||
import {
|
||||
blue,
|
||||
common,
|
||||
@@ -9,8 +9,8 @@ import {
|
||||
yellow,
|
||||
red,
|
||||
amber,
|
||||
} from "@material-ui/core/colors";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
} from '@material-ui/core/colors';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import {
|
||||
faAd,
|
||||
faPlaneArrival,
|
||||
@@ -40,89 +40,89 @@ import { NotesApp } from "../../../apps/notes/NotesApp";
|
||||
import CameraApp from "../../../apps/camera/components/CameraApp";
|
||||
|
||||
const appsState = atom({
|
||||
key: "apps",
|
||||
key: 'apps',
|
||||
default: {
|
||||
preinstalled: [
|
||||
{
|
||||
id: "DIALER",
|
||||
nameLocale: "APPS_DIALER",
|
||||
icon: <FontAwesomeIcon icon={faPhoneAlt} size="xs" />,
|
||||
id: 'DIALER',
|
||||
nameLocale: 'APPS_DIALER',
|
||||
icon: <FontAwesomeIcon icon={faPhoneAlt} size='xs' />,
|
||||
backgroundColor: green[600],
|
||||
color: common.white,
|
||||
path: "/phone",
|
||||
Route: () => <Route path="/phone" component={DialerApp} />,
|
||||
path: '/phone',
|
||||
Route: () => <Route path='/phone' component={DialerApp} />,
|
||||
},
|
||||
{
|
||||
id: "MESSAGES",
|
||||
nameLocale: "APPS_MESSAGES",
|
||||
icon: <MessageIcon fontSize="default" />,
|
||||
id: 'MESSAGES',
|
||||
nameLocale: 'APPS_MESSAGES',
|
||||
icon: <MessageIcon fontSize='default' />,
|
||||
backgroundColor: amber[700],
|
||||
color: common.white,
|
||||
path: "/messages",
|
||||
Route: () => <Route path="/messages" component={MessagesApp} />,
|
||||
path: '/messages',
|
||||
Route: () => <Route path='/messages' component={MessagesApp} />,
|
||||
},
|
||||
{
|
||||
id: "CONTACTS",
|
||||
nameLocale: "APPS_CONTACTS",
|
||||
id: 'CONTACTS',
|
||||
nameLocale: 'APPS_CONTACTS',
|
||||
icon: <ContactsIcon />,
|
||||
backgroundColor: blue[500],
|
||||
color: common.white,
|
||||
path: "/contacts",
|
||||
Route: () => <Route path="/contacts" component={ContactsApp} />,
|
||||
path: '/contacts',
|
||||
Route: () => <Route path='/contacts' component={ContactsApp} />,
|
||||
},
|
||||
{
|
||||
id: "CALCULATOR",
|
||||
nameLocale: "APPS_CALCULATOR",
|
||||
id: 'CALCULATOR',
|
||||
nameLocale: 'APPS_CALCULATOR',
|
||||
icon: <CalculatorIcon />,
|
||||
backgroundColor: purple[500],
|
||||
color: grey[50],
|
||||
path: "/calculator",
|
||||
Route: () => <Route path="/calculator" component={CalculatorApp} />,
|
||||
path: '/calculator',
|
||||
Route: () => <Route path='/calculator' component={CalculatorApp} />,
|
||||
},
|
||||
{
|
||||
id: "SETTINGS",
|
||||
nameLocale: "APPS_SETTINGS",
|
||||
id: 'SETTINGS',
|
||||
nameLocale: 'APPS_SETTINGS',
|
||||
icon: <SettingsIcon />,
|
||||
backgroundColor: grey[700],
|
||||
backgroundColor: '#383838',
|
||||
color: grey[50],
|
||||
path: "/settings",
|
||||
Route: () => <Route path="/settings" component={SettingsApp} />,
|
||||
path: '/settings',
|
||||
Route: () => <Route path='/settings' component={SettingsApp} />,
|
||||
},
|
||||
{
|
||||
id: "BANK",
|
||||
nameLocale: "APPS_BANK",
|
||||
icon: <FontAwesomeIcon icon={faWonSign} size="xs" />,
|
||||
id: 'BANK',
|
||||
nameLocale: 'APPS_BANK',
|
||||
icon: <FontAwesomeIcon icon={faWonSign} size='xs' />,
|
||||
backgroundColor: blue[900],
|
||||
color: common.white,
|
||||
path: "/bank",
|
||||
Route: () => <Route path="/bank" component={BankApp} />,
|
||||
path: '/bank',
|
||||
Route: () => <Route path='/bank' component={BankApp} />,
|
||||
},
|
||||
{
|
||||
id: "TWITTER",
|
||||
nameLocale: "APPS_TWITTER",
|
||||
icon: <FontAwesomeIcon icon={faTwitter} fixedWidth size="xs" />,
|
||||
id: 'TWITTER',
|
||||
nameLocale: 'APPS_TWITTER',
|
||||
icon: <FontAwesomeIcon icon={faTwitter} fixedWidth size='xs' />,
|
||||
backgroundColor: blue[600],
|
||||
color: common.white,
|
||||
path: "/twitter",
|
||||
Route: () => <Route path="/twitter" component={TwitterApp} />,
|
||||
path: '/twitter',
|
||||
Route: () => <Route path='/twitter' component={TwitterApp} />,
|
||||
},
|
||||
{
|
||||
id: "SELLOUT",
|
||||
nameLocale: "APPS_SELLOUT",
|
||||
id: 'SELLOUT',
|
||||
nameLocale: 'APPS_SELLOUT',
|
||||
icon: <FontAwesomeIcon icon={faAd} fixedWidth />,
|
||||
backgroundColor: red[500],
|
||||
color: common.white,
|
||||
path: "/sellout",
|
||||
Route: () => <Route path="/sellout" component={SelloutApp} />,
|
||||
path: '/sellout',
|
||||
Route: () => <Route path='/sellout' component={SelloutApp} />,
|
||||
},
|
||||
{
|
||||
id: 'NOTES',
|
||||
name: 'APPS_NOTES',
|
||||
nameLocale: 'APPS_NOTES',
|
||||
icon: <FontAwesomeIcon icon={faStickyNote} fixedWidth />,
|
||||
backgroundColor: yellow[800],
|
||||
color: common.white,
|
||||
path: "/notes",
|
||||
Route: () => <Route path="/notes" component={NotesApp}/>
|
||||
path: '/notes',
|
||||
Route: () => <Route path='/notes' component={NotesApp} />,
|
||||
},
|
||||
{
|
||||
id: "CAMERA",
|
||||
@@ -139,8 +139,8 @@ const appsState = atom({
|
||||
icon: <FontAwesomeIcon icon={faPlaneArrival} size="sm" />,
|
||||
backgroundColor: blue[500],
|
||||
color: blue[50],
|
||||
path: "/example",
|
||||
Route: () => <Route path="/example" component={ExampleApp} />,
|
||||
path: '/example',
|
||||
Route: () => <Route path='/example' component={ExampleApp} />,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user