From 4847da72b6484884451e26ebb0e2a80aa24f7b5c Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 3 Jul 2021 20:20:22 +0300 Subject: [PATCH] start --- .eslintcache | 1 - .gitignore | 2 ++ package-lock.json | 12 ++++++------ src/components/Header/Header.js | 8 +++----- 4 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 .eslintcache diff --git a/.eslintcache b/.eslintcache deleted file mode 100644 index 90521c4..0000000 --- a/.eslintcache +++ /dev/null @@ -1 +0,0 @@ -[{"E:\\ReactTemplatesTest\\react-material-admin\\src\\index.js":"1","E:\\ReactTemplatesTest\\react-material-admin\\src\\serviceWorker.js":"2","E:\\ReactTemplatesTest\\react-material-admin\\src\\context\\UserContext.js":"3","E:\\ReactTemplatesTest\\react-material-admin\\src\\context\\LayoutContext.js":"4","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\App.js":"5","E:\\ReactTemplatesTest\\react-material-admin\\src\\themes\\index.js":"6","E:\\ReactTemplatesTest\\react-material-admin\\src\\themes\\default.js":"7","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Layout\\Layout.js":"8","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\error\\Error.js":"9","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\login\\Login.js":"10","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\error\\styles.js":"11","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\login\\styles.js":"12","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Layout\\styles.js":"13","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\charts\\Charts.js":"14","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\icons\\Icons.js":"15","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\tables\\Tables.js":"16","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\notifications\\Notifications.js":"17","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\maps\\Maps.js":"18","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\Sidebar.js":"19","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\Dashboard.js":"20","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\typography\\Typography.js":"21","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Header\\Header.js":"22","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\icons\\styles.js":"23","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\notifications\\styles.js":"24","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\mock.js":"25","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\charts\\components\\ApexLineChart.js":"26","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\charts\\components\\ApexHeatmap.js":"27","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Header\\styles.js":"28","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\typography\\styles.js":"29","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\components\\Table\\Table.js":"30","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\styles.js":"31","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\components\\Dot.js":"32","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\components\\BigStat\\BigStat.js":"33","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\styles.js":"34","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\maps\\styles.js":"35","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\PageTitle\\PageTitle.js":"36","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Widget\\Widget.js":"37","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\components\\SidebarLink\\SidebarLink.js":"38","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Notification\\Notification.js":"39","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\UserAvatar\\UserAvatar.js":"40","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Wrappers\\Wrappers.js":"41","E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\components\\BigStat\\styles.js":"42","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\components\\SidebarLink\\styles.js":"43","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\PageTitle\\styles.js":"44","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Widget\\styles.js":"45","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Notification\\styles.js":"46","E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\UserAvatar\\styles.js":"47"},{"size":896,"mtime":1625301182594,"results":"48","hashOfConfig":"49"},{"size":5083,"mtime":1625301182610,"results":"50","hashOfConfig":"49"},{"size":2053,"mtime":1625301182594,"results":"51","hashOfConfig":"49"},{"size":1444,"mtime":1625301182594,"results":"52","hashOfConfig":"49"},{"size":1787,"mtime":1625301182594,"results":"53","hashOfConfig":"49"},{"size":534,"mtime":1625301182610,"results":"54","hashOfConfig":"49"},{"size":3127,"mtime":1625301182610,"results":"55","hashOfConfig":"49"},{"size":4577,"mtime":1625301182594,"results":"56","hashOfConfig":"49"},{"size":1626,"mtime":1625301182610,"results":"57","hashOfConfig":"49"},{"size":9141,"mtime":1625301182610,"results":"58","hashOfConfig":"49"},{"size":1395,"mtime":1625301182610,"results":"59","hashOfConfig":"49"},{"size":3281,"mtime":1625301182610,"results":"60","hashOfConfig":"49"},{"size":710,"mtime":1625301182594,"results":"61","hashOfConfig":"49"},{"size":5790,"mtime":1625301182594,"results":"62","hashOfConfig":"49"},{"size":391433,"mtime":1625301182610,"results":"63","hashOfConfig":"49"},{"size":2146,"mtime":1625301182610,"results":"64","hashOfConfig":"49"},{"size":13862,"mtime":1625301182610,"results":"65","hashOfConfig":"49"},{"size":1010,"mtime":1625301182610,"results":"66","hashOfConfig":"49"},{"size":4400,"mtime":1625301182594,"results":"67","hashOfConfig":"49"},{"size":16126,"mtime":1625301182610,"results":"68","hashOfConfig":"49"},{"size":4632,"mtime":1625301182610,"results":"69","hashOfConfig":"49"},{"size":10439,"mtime":1625301182594,"results":"70","hashOfConfig":"49"},{"size":812,"mtime":1625301182610,"results":"71","hashOfConfig":"49"},{"size":1943,"mtime":1625301182610,"results":"72","hashOfConfig":"49"},{"size":4288,"mtime":1625301182610,"results":"73","hashOfConfig":"49"},{"size":1396,"mtime":1625301182594,"results":"74","hashOfConfig":"49"},{"size":1909,"mtime":1625301182594,"results":"75","hashOfConfig":"49"},{"size":4043,"mtime":1625301182594,"results":"76","hashOfConfig":"49"},{"size":389,"mtime":1625301182610,"results":"77","hashOfConfig":"49"},{"size":1323,"mtime":1625301182610,"results":"78","hashOfConfig":"49"},{"size":3000,"mtime":1625301182610,"results":"79","hashOfConfig":"49"},{"size":902,"mtime":1625301182594,"results":"80","hashOfConfig":"49"},{"size":4160,"mtime":1625301182610,"results":"81","hashOfConfig":"49"},{"size":1363,"mtime":1625301182594,"results":"82","hashOfConfig":"49"},{"size":178,"mtime":1625301182610,"results":"83","hashOfConfig":"49"},{"size":447,"mtime":1625301182594,"results":"84","hashOfConfig":"49"},{"size":2581,"mtime":1625301182594,"results":"85","hashOfConfig":"49"},{"size":4589,"mtime":1625301182594,"results":"86","hashOfConfig":"49"},{"size":3413,"mtime":1625301182594,"results":"87","hashOfConfig":"49"},{"size":620,"mtime":1625301182594,"results":"88","hashOfConfig":"49"},{"size":3971,"mtime":1625301182594,"results":"89","hashOfConfig":"49"},{"size":1075,"mtime":1625301182610,"results":"90","hashOfConfig":"49"},{"size":1474,"mtime":1625301182594,"results":"91","hashOfConfig":"49"},{"size":482,"mtime":1625301182594,"results":"92","hashOfConfig":"49"},{"size":1015,"mtime":1625301182594,"results":"93","hashOfConfig":"49"},{"size":1040,"mtime":1625301182594,"results":"94","hashOfConfig":"49"},{"size":291,"mtime":1625301182594,"results":"95","hashOfConfig":"49"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"4g1sr4",{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"102","messages":"103","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"106","messages":"107","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"112","messages":"113","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"142","messages":"143","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"E:\\ReactTemplatesTest\\react-material-admin\\src\\index.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\serviceWorker.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\context\\UserContext.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\context\\LayoutContext.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\App.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\themes\\index.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\themes\\default.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Layout\\Layout.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\error\\Error.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\login\\Login.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\error\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\login\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Layout\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\charts\\Charts.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\icons\\Icons.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\tables\\Tables.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\notifications\\Notifications.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\maps\\Maps.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\Sidebar.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\Dashboard.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\typography\\Typography.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Header\\Header.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\icons\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\notifications\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\mock.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\charts\\components\\ApexLineChart.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\charts\\components\\ApexHeatmap.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Header\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\typography\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\components\\Table\\Table.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\components\\Dot.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\components\\BigStat\\BigStat.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\maps\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\PageTitle\\PageTitle.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Widget\\Widget.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\components\\SidebarLink\\SidebarLink.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Notification\\Notification.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\UserAvatar\\UserAvatar.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Wrappers\\Wrappers.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\pages\\dashboard\\components\\BigStat\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Sidebar\\components\\SidebarLink\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\PageTitle\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Widget\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\Notification\\styles.js",[],"E:\\ReactTemplatesTest\\react-material-admin\\src\\components\\UserAvatar\\styles.js",[]] \ No newline at end of file diff --git a/.gitignore b/.gitignore index 1578f51..2c24874 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ npm-debug.log* yarn-debug.log* yarn-error.log* + +.eslintcache \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index c8acfc4..b93102a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10469,9 +10469,9 @@ } }, "lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash._reinterpolate": { "version": "3.0.0", @@ -15869,9 +15869,9 @@ } }, "ua-parser-js": { - "version": "0.7.23", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.23.tgz", - "integrity": "sha512-m4hvMLxgGHXG3O3fQVAyyAQpZzDOvwnhOTjYz5Xmr7r/+LpkNy3vJXdVRWgd1TkAb7NGROZuSy96CrlNVjA7KA==" + "version": "0.7.28", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.28.tgz", + "integrity": "sha512-6Gurc1n//gjp9eQNXjD9O3M/sMwVtN5S8Lv9bvOYBfKfDNiIIhqiyi01vMBO45u4zkDE420w/e0se7Vs+sIg+g==" }, "unbox-primitive": { "version": "1.0.1", diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js index a55a222..e6f7e53 100644 --- a/src/components/Header/Header.js +++ b/src/components/Header/Header.js @@ -6,8 +6,7 @@ import { InputBase, Menu, MenuItem, - Fab, - Link + Fab } from "@material-ui/core"; import { Menu as MenuIcon, @@ -24,7 +23,7 @@ import classNames from "classnames"; import useStyles from "./styles"; // components -import { Badge, Typography, Button } from "../Wrappers"; +import { Badge, Typography } from "../Wrappers"; import Notification from "../Notification/Notification"; import UserAvatar from "../UserAvatar/UserAvatar"; @@ -137,10 +136,9 @@ export default function Header(props) { )} - React Material Admin + CDN Admin
-