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

This commit is contained in:
erik-sn committed 2020-10-11 14:08:29 -04:00
commit 660e171789
11 files changed
+92 -66

No files matched your search

@@ -1,3 +1,3 @@
#sellout-app .Mui-selected {
color: #f44336 !important;
}
}
@@ -1,10 +1,10 @@
import React from 'react'
import { ListingForm } from './ListingForm';
import React from "react";
import { ListingForm } from "./ListingForm";
export const ListingFormContainer = () => {
return (
<div>
<ListingForm />
</div>
)
}
);
};
@@ -1,48 +1,48 @@
import React, { useState } from 'react';
import { makeStyles } from '@material-ui/core/styles';
import React, { useState } from "react";
import { makeStyles } from "@material-ui/core/styles";
import { Link } from "react-router-dom";
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 FaceIcon from '@material-ui/icons/Face';
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faHome } from "@fortawesome/free-solid-svg-icons";
import AddCircleIcon from "@material-ui/icons/AddCircle";
import FaceIcon from "@material-ui/icons/Face";
const useStyles = makeStyles((theme) => ({
root: {
width: '100%'
width: "100%",
},
icon: {
color: "#f44336"
}
}))
color: "#f44336",
},
}));
export const NavigationBar = () => {
const classes = useStyles();
const [activePage, setActivePage] = useState(0);
return (
<BottomNavigation
value={activePage}
value={activePage}
onChange={(event, newPage) => {
setActivePage(newPage)
setActivePage(newPage);
}}
showLabels
className={classes.root}
>
<BottomNavigationAction
<BottomNavigationAction
component={Link}
icon={<FontAwesomeIcon icon={faHome} />}
to="/sellout"
/>
<BottomNavigationAction
<BottomNavigationAction
component={Link}
icon={<AddCircleIcon />}
to="/sellout/new"
/>
<BottomNavigationAction
<BottomNavigationAction
component={Link}
icon={<FaceIcon />}
to="/sellout/new"
/>
</BottomNavigation>
)
}
);
};