mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
QQQ-30: fixes for demo
This commit is contained in:
@ -55,6 +55,7 @@
|
|||||||
],
|
],
|
||||||
"max-len": "off",
|
"max-len": "off",
|
||||||
"no-console": "off",
|
"no-console": "off",
|
||||||
|
"no-constant-condition": "off",
|
||||||
"no-shadow": "off",
|
"no-shadow": "off",
|
||||||
"no-unused-vars": "off",
|
"no-unused-vars": "off",
|
||||||
"no-plusplus": "off",
|
"no-plusplus": "off",
|
||||||
|
10
src/App.tsx
10
src/App.tsx
@ -36,13 +36,13 @@ import { useMaterialUIController, setMiniSidenav, setOpenConfigurator } from "co
|
|||||||
import nfLogo from "assets/images/nutrifresh_one_icon_white.png";
|
import nfLogo from "assets/images/nutrifresh_one_icon_white.png";
|
||||||
import brandWhite from "assets/images/logo-ct.png";
|
import brandWhite from "assets/images/logo-ct.png";
|
||||||
import brandDark from "assets/images/logo-ct-dark.png";
|
import brandDark from "assets/images/logo-ct-dark.png";
|
||||||
|
import { Md5 } from "ts-md5/dist/md5";
|
||||||
import EntityCreate from "./qqq/pages/entity-create";
|
import EntityCreate from "./qqq/pages/entity-create";
|
||||||
import EntityList from "./qqq/pages/entity-list";
|
import EntityList from "./qqq/pages/entity-list";
|
||||||
import EntityView from "./qqq/pages/entity-view";
|
import EntityView from "./qqq/pages/entity-view";
|
||||||
import EntityEdit from "./qqq/pages/entity-edit";
|
import EntityEdit from "./qqq/pages/entity-edit";
|
||||||
import ProcessRun from "./qqq/pages/process-run";
|
import ProcessRun from "./qqq/pages/process-run";
|
||||||
import MDAvatar from "./components/MDAvatar";
|
import MDAvatar from "./components/MDAvatar";
|
||||||
import profilePicture from "./assets/images/team-3.jpg";
|
|
||||||
import ProfileOverview from "./layouts/pages/profile/profile-overview";
|
import ProfileOverview from "./layouts/pages/profile/profile-overview";
|
||||||
import Settings from "./layouts/pages/account/settings";
|
import Settings from "./layouts/pages/account/settings";
|
||||||
import SignInBasic from "./layouts/authentication/sign-in/basic";
|
import SignInBasic from "./layouts/authentication/sign-in/basic";
|
||||||
@ -50,6 +50,10 @@ import Analytics from "./layouts/dashboards/analytics";
|
|||||||
import Sales from "./layouts/dashboards/sales";
|
import Sales from "./layouts/dashboards/sales";
|
||||||
import QClient from "./qqq/utils/QClient";
|
import QClient from "./qqq/utils/QClient";
|
||||||
|
|
||||||
|
const gravatarBase = "http://www.gravatar.com/avatar/";
|
||||||
|
const hash = Md5.hashStr("tim@nutrifreshservices.com");
|
||||||
|
const profilePicture = `${gravatarBase}${hash}`;
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// define the parts of the nav that are static - before the qqq tables etc get dynamic added //
|
// define the parts of the nav that are static - before the qqq tables etc get dynamic added //
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
@ -58,8 +62,8 @@ function getStaticRoutes()
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
type: "collapse",
|
type: "collapse",
|
||||||
name: "Brooklyn Alice",
|
name: "Tim Chamberlain",
|
||||||
key: "brooklyn-alice",
|
key: "tim-chamberlain",
|
||||||
icon: <MDAvatar src={profilePicture} alt="Brooklyn Alice" size="sm" />,
|
icon: <MDAvatar src={profilePicture} alt="Brooklyn Alice" size="sm" />,
|
||||||
collapse: [
|
collapse: [
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user