mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b38b488a42 | ||
|
|
c39468eb34 |
No files matched your search
@@ -3,8 +3,9 @@ import React, { useState } from 'react';
|
|||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import { BottomNavigation, BottomNavigationAction } from '@material-ui/core';
|
import { BottomNavigation, BottomNavigationAction } from '@material-ui/core';
|
||||||
import { makeStyles } from '@material-ui/core/styles';
|
import { makeStyles } from '@material-ui/core/styles';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import HomeIcon from '@material-ui/icons/Home';
|
||||||
import { faHome, faList, faMoneyCheck } from '@fortawesome/free-solid-svg-icons';
|
import LocalAtmIcon from '@material-ui/icons/LocalAtm';
|
||||||
|
import ListIcon from '@material-ui/icons/List';
|
||||||
|
|
||||||
const useStyles = makeStyles((theme) => ({
|
const useStyles = makeStyles((theme) => ({
|
||||||
root: {
|
root: {
|
||||||
@@ -30,21 +31,9 @@ export const NavigationBar = () => {
|
|||||||
showLabels
|
showLabels
|
||||||
className={classes.root}
|
className={classes.root}
|
||||||
>
|
>
|
||||||
<BottomNavigationAction
|
<BottomNavigationAction component={Link} icon={<HomeIcon />} to="/bank" />
|
||||||
component={Link}
|
<BottomNavigationAction component={Link} icon={<LocalAtmIcon />} to="/bank/account" />
|
||||||
icon={<FontAwesomeIcon icon={faHome} />}
|
<BottomNavigationAction component={Link} icon={<ListIcon />} to="/bank/transactions" />
|
||||||
to="/bank"
|
|
||||||
/>
|
|
||||||
<BottomNavigationAction
|
|
||||||
component={Link}
|
|
||||||
icon={<FontAwesomeIcon icon={faMoneyCheck} />}
|
|
||||||
to="/bank/account"
|
|
||||||
/>
|
|
||||||
<BottomNavigationAction
|
|
||||||
component={Link}
|
|
||||||
icon={<FontAwesomeIcon icon={faList} />}
|
|
||||||
to="/bank/transactions"
|
|
||||||
/>
|
|
||||||
</BottomNavigation>
|
</BottomNavigation>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@@ -2,9 +2,8 @@ import React, { useState } from 'react';
|
|||||||
import { makeStyles } from '@material-ui/core/styles';
|
import { makeStyles } from '@material-ui/core/styles';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
import { BottomNavigation, BottomNavigationAction } from '@material-ui/core';
|
import { BottomNavigation, BottomNavigationAction } from '@material-ui/core';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
||||||
import { faHome } from '@fortawesome/free-solid-svg-icons';
|
|
||||||
import AddCircleIcon from '@material-ui/icons/AddCircle';
|
import AddCircleIcon from '@material-ui/icons/AddCircle';
|
||||||
|
import HomeIcon from '@material-ui/icons/Home';
|
||||||
|
|
||||||
const useStyles = makeStyles((theme) => ({
|
const useStyles = makeStyles((theme) => ({
|
||||||
root: {
|
root: {
|
||||||
@@ -28,11 +27,7 @@ export const NavigationBar = () => {
|
|||||||
showLabels
|
showLabels
|
||||||
className={classes.root}
|
className={classes.root}
|
||||||
>
|
>
|
||||||
<BottomNavigationAction
|
<BottomNavigationAction component={Link} icon={<HomeIcon />} to="/sellout" />
|
||||||
component={Link}
|
|
||||||
icon={<FontAwesomeIcon icon={faHome} />}
|
|
||||||
to="/sellout"
|
|
||||||
/>
|
|
||||||
<BottomNavigationAction component={Link} icon={<AddCircleIcon />} to="/sellout/new" />
|
<BottomNavigationAction component={Link} icon={<AddCircleIcon />} to="/sellout/new" />
|
||||||
</BottomNavigation>
|
</BottomNavigation>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user