Merge branch 'master' of github.com:Re-Ignited-Development/new-phone-who-dis into feature/twitter_likes

This commit is contained in:
erik-sn committed 2020-10-11 14:04:37 -04:00
commit 54d0637e15
145 files changed
+4944 -489

No files matched your search

@@ -7,8 +7,12 @@ import {
green,
orange,
purple,
red,
amber,
} 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 SettingsIcon from "@material-ui/icons/Settings";
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 { TwitterApp } from "../../../apps/twitter/components/TwitterApp";
import { ExampleApp } from "../../../apps/example/components/ExampleApp";
import { SelloutApp } from "../../../apps/sellout/components/SelloutApp";
const appsState = atom({
key: "apps",
@@ -95,6 +100,15 @@ const appsState = atom({
path: "/twitter",
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",
nameLocale: "APPS_EXAMPLE",
@@ -78,9 +78,12 @@ export const useInitKeyboard = () => {
[getters]
);
useEffect(function registerEscapeHandler() {
setEscape({ handler: () => console.log("close phone") });
}, [setEscape]);
useEffect(
function registerEscapeHandler() {
setEscape({ handler: () => console.log("close phone") });
},
[setEscape]
);
};
export const useKeyboard = () => {
@@ -20,7 +20,7 @@ const useStyles = makeStyles((theme) => ({
color: theme.palette.text.primary,
},
icon: {
padding: '4px',
padding: "4px",
color: theme.palette.text.primary,
},
}));
@@ -36,7 +36,12 @@ export const NotificationBar = ({ notifications = [] }) => {
>
<Grid container item wrap="nowrap">
{notifications.map((notification) => (
<Grid item key={notification.key} component={IconButton} className={classes.icon}>
<Grid
item
key={notification.key}
component={IconButton}
className={classes.icon}
>
{notification.icon}
</Grid>
))}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.