mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
New icons for apps
This commit is contained in:
1 parent
03e52dca7f
commit
8dcd85dc07
1 file changed
+14
-18
@@ -5,21 +5,17 @@ import {
|
|||||||
common,
|
common,
|
||||||
grey,
|
grey,
|
||||||
green,
|
green,
|
||||||
orange,
|
|
||||||
purple,
|
purple,
|
||||||
red,
|
red,
|
||||||
amber,
|
amber,
|
||||||
} from "@material-ui/core/colors";
|
} from "@material-ui/core/colors";
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import { faAd } from "@fortawesome/free-solid-svg-icons";
|
import { faAd, faPlaneArrival, faPhoneAlt, faLandmark } from "@fortawesome/free-solid-svg-icons";
|
||||||
|
import { faTwitter } from '@fortawesome/free-brands-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 CalendarTodayIcon from "@material-ui/icons/CalendarToday";
|
|
||||||
import AccountBalanceIcon from "@material-ui/icons/AccountBalance";
|
|
||||||
import MessageIcon from "@material-ui/icons/Message";
|
import MessageIcon from "@material-ui/icons/Message";
|
||||||
import TwitterIcon from "@material-ui/icons/Twitter";
|
|
||||||
import { atom } from "recoil";
|
import { atom } from "recoil";
|
||||||
import { CalculatorIcon } from "../../../apps/calculator/components/CalculatorIcon";
|
import { CalculatorIcon } from "../../../apps/calculator/components/CalculatorIcon";
|
||||||
import { Route } from "react-router-dom";
|
import { Route } from "react-router-dom";
|
||||||
@@ -40,18 +36,18 @@ const appsState = atom({
|
|||||||
{
|
{
|
||||||
id: "DIALER",
|
id: "DIALER",
|
||||||
nameLocale: "APPS_DIALER",
|
nameLocale: "APPS_DIALER",
|
||||||
icon: <PhoneIcon />,
|
icon: <FontAwesomeIcon icon={faPhoneAlt} size="xs" />,
|
||||||
backgroundColor: green[400],
|
backgroundColor: green[600],
|
||||||
color: green[50],
|
color: common.white,
|
||||||
path: "/phone",
|
path: "/phone",
|
||||||
Route: () => <Route path="/phone" component={DialerApp} />,
|
Route: () => <Route path="/phone" component={DialerApp} />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "MESSAGES",
|
id: "MESSAGES",
|
||||||
nameLocale: "APPS_MESSAGES",
|
nameLocale: "APPS_MESSAGES",
|
||||||
icon: <MessageIcon />,
|
icon: <MessageIcon fontSize="default" />,
|
||||||
backgroundColor: amber[400],
|
backgroundColor: amber[700],
|
||||||
color: amber[50],
|
color: common.white,
|
||||||
path: "/messages",
|
path: "/messages",
|
||||||
Route: () => <Route path="/messages" component={MessagesApp} />,
|
Route: () => <Route path="/messages" component={MessagesApp} />,
|
||||||
},
|
},
|
||||||
@@ -60,7 +56,7 @@ const appsState = atom({
|
|||||||
nameLocale: "APPS_CONTACTS",
|
nameLocale: "APPS_CONTACTS",
|
||||||
icon: <ContactsIcon />,
|
icon: <ContactsIcon />,
|
||||||
backgroundColor: blue[500],
|
backgroundColor: blue[500],
|
||||||
color: blue[50],
|
color: common.white,
|
||||||
path: "/contacts",
|
path: "/contacts",
|
||||||
Route: () => <Route path="/contacts" component={ContactsApp} />,
|
Route: () => <Route path="/contacts" component={ContactsApp} />,
|
||||||
},
|
},
|
||||||
@@ -85,16 +81,16 @@ const appsState = atom({
|
|||||||
{
|
{
|
||||||
id: "BANK",
|
id: "BANK",
|
||||||
nameLocale: "APPS_BANK",
|
nameLocale: "APPS_BANK",
|
||||||
icon: <AccountBalanceIcon />,
|
icon: <FontAwesomeIcon icon={faLandmark} size="xs" />,
|
||||||
backgroundColor: orange[600],
|
backgroundColor: blue[900],
|
||||||
color: orange[50],
|
color: common.white,
|
||||||
path: "/bank",
|
path: "/bank",
|
||||||
Route: () => <Route path="/bank" component={BankApp} />,
|
Route: () => <Route path="/bank" component={BankApp} />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "TWITTER",
|
id: "TWITTER",
|
||||||
nameLocale: "APPS_TWITTER",
|
nameLocale: "APPS_TWITTER",
|
||||||
icon: <TwitterIcon />,
|
icon: <FontAwesomeIcon icon={faTwitter} fixedWidth size="xs"/>,
|
||||||
backgroundColor: blue[600],
|
backgroundColor: blue[600],
|
||||||
color: common.white,
|
color: common.white,
|
||||||
path: "/twitter",
|
path: "/twitter",
|
||||||
@@ -112,7 +108,7 @@ const appsState = atom({
|
|||||||
{
|
{
|
||||||
id: "EXAMPLE",
|
id: "EXAMPLE",
|
||||||
nameLocale: "APPS_EXAMPLE",
|
nameLocale: "APPS_EXAMPLE",
|
||||||
icon: <CalendarTodayIcon />,
|
icon: <FontAwesomeIcon icon={faPlaneArrival} size="sm" />,
|
||||||
backgroundColor: blue[500],
|
backgroundColor: blue[500],
|
||||||
color: blue[50],
|
color: blue[50],
|
||||||
path: "/example",
|
path: "/example",
|
||||||
|
|||||||
Reference in new issue
Block a user