@canmingir/link 1.2.56 → 1.2.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +0 -1
- package/LICENSE +201 -0
- package/package.json +2 -1
- package/src/assets/illustrations/avatar-shape.jsx +10 -8
- package/src/assets/illustrations/background-shape.jsx +0 -2
- package/src/assets/illustrations/booking-illustration.jsx +8 -6
- package/src/assets/illustrations/check-in-illustration.jsx +8 -6
- package/src/assets/illustrations/check-out-illustration.jsx +8 -6
- package/src/assets/illustrations/coming-soon-illustration.jsx +8 -6
- package/src/assets/illustrations/forbidden-illustration.jsx +8 -6
- package/src/assets/illustrations/maintenance-illustration.jsx +8 -6
- package/src/assets/illustrations/motivation-illustration.jsx +8 -6
- package/src/assets/illustrations/order-complete-illustration.jsx +8 -6
- package/src/assets/illustrations/page-not-found-illustration.jsx +8 -6
- package/src/assets/illustrations/seo-illustration.jsx +8 -6
- package/src/assets/illustrations/sever-error-illustration.jsx +8 -6
- package/src/assets/illustrations/upgrade-storage-illustration.jsx +8 -6
- package/src/assets/illustrations/upload-illustration.jsx +8 -6
- package/src/components/Iconify/Iconify.jsx +0 -1
- package/src/components/chart/chart.js +0 -2
- package/src/components/chart/index.js +0 -2
- package/src/components/chart/use-chart.js +0 -2
- package/src/components/custom-popover/styles.js +0 -2
- package/src/components/custom-popover/use-popover.js +0 -2
- package/src/components/custom-popover/utils.js +0 -2
- package/src/components/file-thumbnail/utils.js +0 -12
- package/src/components/image/utils.js +0 -2
- package/src/components/label/styles.js +0 -2
- package/src/components/logo/logo.jsx +1 -1
- package/src/components/scrollbar/styles.js +0 -2
- package/src/components/settings/context/settings-context.js +0 -2
- package/src/hooks/use-boolean.js +0 -2
- package/src/hooks/use-event-listener.js +0 -2
- package/src/hooks/use-local-storage.js +0 -4
- package/src/hooks/use-off-set-top.js +0 -2
- package/src/hooks/use-responsive.js +0 -4
- package/src/hooks/use-scroll-to-top.js +0 -2
- package/src/layouts/CompactLayout/CompactLayout.jsx +0 -2
- package/src/layouts/DashboardLayout/DashboardLayout.jsx +0 -2
- package/src/layouts/DashboardLayout/main.jsx +0 -2
- package/src/layouts/DashboardLayout/nav-horizontal.jsx +0 -2
- package/src/layouts/DashboardLayout/nav-vertical.jsx +6 -5
- package/src/layouts/FullScreenLayout/FullScreenLayout.jsx +3 -4
- package/src/layouts/FullScreenLayout/nav-horizontal.jsx +0 -2
- package/src/layouts/FullScreenLayout/nav-vertical.jsx +4 -5
- package/src/layouts/MainLayout/header.jsx +1 -3
- package/src/layouts/MainLayout/nav/desktop/index.jsx +0 -2
- package/src/layouts/MainLayout/nav/desktop/nav-item.jsx +0 -6
- package/src/layouts/MainLayout/nav/desktop/nav-list.jsx +16 -16
- package/src/layouts/MainLayout/nav/mobile/index.jsx +1 -3
- package/src/layouts/MainLayout/nav/mobile/nav-item.jsx +0 -4
- package/src/layouts/MainLayout/nav/mobile/nav-list.jsx +0 -2
- package/src/layouts/TwoSideLayout/TwoSideLayout.jsx +0 -1
- package/src/layouts/auth/classic.jsx +3 -4
- package/src/layouts/auth/modern-compact.jsx +0 -2
- package/src/layouts/auth/modern.jsx +0 -2
- package/src/layouts/common/ProjectBar/utils.js +0 -10
- package/src/layouts/common/account-popover.jsx +0 -2
- package/src/layouts/common/header-shadow.jsx +0 -2
- package/src/layouts/common/header-sim.jsx +7 -4
- package/src/layouts/common/header-simple.jsx +14 -8
- package/src/layouts/common/nav-toggle-button.jsx +1 -3
- package/src/layouts/common/notifications-popover/index.jsx +9 -10
- package/src/layouts/common/notifications-popover/notification-item.jsx +20 -17
- package/src/layouts/common/settings-button.jsx +0 -2
- package/src/layouts/config-layout.js +0 -2
- package/src/lib/Image/utils.js +0 -2
- package/src/lib/Scrollbar/styles.js +0 -2
- package/src/pages/404.jsx +0 -2
- package/src/routes/components/router-link.jsx +0 -2
- package/src/routes/hooks/use-active-link.js +0 -2
- package/src/routes/hooks/use-pathname.js +0 -2
- package/src/routes/hooks/use-router.js +0 -2
- package/src/theme/css.js +0 -12
- package/src/theme/custom-shadows.js +0 -2
- package/src/theme/options/contrast.js +0 -2
- package/src/theme/options/presets.js +0 -4
- package/src/theme/options/right-to-left.jsx +0 -2
- package/src/theme/overrides/components/accordion.js +0 -2
- package/src/theme/overrides/components/alert.js +0 -4
- package/src/theme/overrides/components/appbar.js +0 -2
- package/src/theme/overrides/components/autocomplete.js +0 -2
- package/src/theme/overrides/components/avatar.js +0 -4
- package/src/theme/overrides/components/backdrop.js +0 -2
- package/src/theme/overrides/components/badge.js +0 -2
- package/src/theme/overrides/components/breadcrumbs.js +0 -2
- package/src/theme/overrides/components/button-group.js +0 -4
- package/src/theme/overrides/components/button.js +0 -4
- package/src/theme/overrides/components/card.js +0 -2
- package/src/theme/overrides/components/checkbox.js +0 -2
- package/src/theme/overrides/components/chip.js +0 -4
- package/src/theme/overrides/components/css-baseline.js +0 -2
- package/src/theme/overrides/components/data-grid.js +0 -2
- package/src/theme/overrides/components/date-picker.jsx +0 -2
- package/src/theme/overrides/components/dialog.js +0 -2
- package/src/theme/overrides/components/drawer.js +0 -2
- package/src/theme/overrides/components/fab.js +0 -4
- package/src/theme/overrides/components/form.js +0 -2
- package/src/theme/overrides/components/list.js +0 -2
- package/src/theme/overrides/components/loading-button.js +0 -2
- package/src/theme/overrides/components/menu.js +0 -2
- package/src/theme/overrides/components/pagination.js +0 -4
- package/src/theme/overrides/components/paper.js +0 -2
- package/src/theme/overrides/components/popover.js +0 -2
- package/src/theme/overrides/components/progress.js +0 -4
- package/src/theme/overrides/components/radio.js +0 -2
- package/src/theme/overrides/components/rating.js +0 -2
- package/src/theme/overrides/components/select.js +0 -2
- package/src/theme/overrides/components/skeleton.js +0 -2
- package/src/theme/overrides/components/slider.js +0 -2
- package/src/theme/overrides/components/stepper.js +0 -2
- package/src/theme/overrides/components/svg-icon.js +0 -2
- package/src/theme/overrides/components/switch.js +0 -2
- package/src/theme/overrides/components/table.js +0 -2
- package/src/theme/overrides/components/tabs.js +0 -2
- package/src/theme/overrides/components/textfield.js +0 -2
- package/src/theme/overrides/components/timeline.js +0 -2
- package/src/theme/overrides/components/toggle-button.js +0 -4
- package/src/theme/overrides/components/tooltip.js +0 -2
- package/src/theme/overrides/components/tree-view.js +0 -2
- package/src/theme/overrides/components/typography.js +0 -2
- package/src/theme/overrides/default-props.jsx +4 -7
- package/src/theme/palette.js +0 -4
- package/src/theme/shadows.js +0 -2
- package/src/theme/typography.js +0 -4
- package/src/utils/flatten-array.js +0 -2
- package/src/utils/format-number.js +0 -2
- package/src/utils/format-time.js +0 -2
- package/src/utils/storage-available.js +0 -2
- package/src/widgets/Login/Login.jsx +0 -2
- package/src/widgets/error/not-found-view.jsx +0 -2
- package/project/.eslintrc.cjs +0 -22
- package/project/config.js +0 -18
- package/project/config.menu.js +0 -39
- package/project/config.template.js +0 -31
- package/project/cypress/e2e/layouts.cy.js +0 -170
- package/project/cypress/e2e/login.cy.js +0 -35
- package/project/cypress/e2e/selectbar.cy.js +0 -80
- package/project/cypress/fixtures/CONFIG/MENU_CONFIG.js +0 -39
- package/project/cypress/fixtures/EMPEROR/EMPERORS_GET.json +0 -51
- package/project/cypress/fixtures/EMPEROR/EMPERORS_POST.json +0 -9
- package/project/cypress/fixtures/OAUTH/GITHUB/user.json +0 -46
- package/project/cypress/fixtures/example.json +0 -5
- package/project/cypress/support/commands.js +0 -104
- package/project/cypress/support/e2e.js +0 -1
- package/project/cypress.config.js +0 -10
- package/project/index.html +0 -12
- package/project/media/ProjectIcons/3d.png +0 -0
- package/project/media/ProjectIcons/box.png +0 -0
- package/project/media/ProjectIcons/cafe.png +0 -0
- package/project/media/ProjectIcons/cargo.png +0 -0
- package/project/media/ProjectIcons/cloud.png +0 -0
- package/project/media/ProjectIcons/code.png +0 -0
- package/project/media/ProjectIcons/company.png +0 -0
- package/project/media/ProjectIcons/conversation.png +0 -0
- package/project/media/ProjectIcons/distributed.png +0 -0
- package/project/media/ProjectIcons/fingerprint.png +0 -0
- package/project/media/ProjectIcons/forest.png +0 -0
- package/project/media/ProjectIcons/headphones.png +0 -0
- package/project/media/ProjectIcons/office.png +0 -0
- package/project/media/ProjectIcons/path.png +0 -0
- package/project/media/ProjectIcons/printer.png +0 -0
- package/project/media/ProjectIcons/project.png +0 -0
- package/project/media/ProjectIcons/resume.png +0 -0
- package/project/media/ProjectIcons/rocket.png +0 -0
- package/project/media/ProjectIcons/rtruck.png +0 -0
- package/project/media/ProjectIcons/sign.png +0 -0
- package/project/media/ProjectIcons/site.png +0 -0
- package/project/media/ProjectIcons/truck.png +0 -0
- package/project/media/logo.png +0 -0
- package/project/package-lock.json +0 -22434
- package/project/package.json +0 -42
- package/project/public/assets/background/overlay_2.jpg +0 -0
- package/project/public/assets/illustrations/illustration_dashboard.png +0 -0
- package/project/public/media/largeLogo.png +0 -0
- package/project/public/media/logo.png +0 -0
- package/project/public/vite.svg +0 -1
- package/project/routes.jsx +0 -47
- package/project/server/mock.json +0 -110
- package/project/server/oauthMock.js +0 -27
- package/project/server/package-lock.json +0 -1505
- package/project/server/package.json +0 -20
- package/project/server/server.js +0 -127
- package/project/src/Container.jsx +0 -7
- package/project/src/components/ActionButton.jsx +0 -18
- package/project/src/hooks/useEmperor.jsx +0 -21
- package/project/src/http/index.js +0 -39
- package/project/src/main.jsx +0 -10
- package/project/src/pages/Battles.jsx +0 -16
- package/project/src/pages/Emperor.jsx +0 -50
- package/project/src/pages/index.jsx +0 -33
- package/project/src/theme.js +0 -151
- package/project/src/widgets/ActionButton.jsx +0 -68
- package/project/src/widgets/AddNewEmperor.jsx +0 -120
- package/project/src/widgets/ProjectContainer.jsx +0 -27
- package/project/vite.config.js +0 -6
- package/project/vite.config.js.timestamp-1709564450418-45fdd27900806.mjs +0 -341
- package/src/layouts/MainLayout/footer.jsx +0 -153
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import Box from "@mui/material/Box";
|
|
2
|
-
import Container from "@mui/material/Container";
|
|
3
|
-
import Divider from "@mui/material/Divider";
|
|
4
|
-
import Grid from "@mui/material/Unstable_Grid2";
|
|
5
|
-
import Link from "@mui/material/Link";
|
|
6
|
-
import Logo from "../../components/logo";
|
|
7
|
-
import React from "react";
|
|
8
|
-
import { RouterLink } from "../../routes/components";
|
|
9
|
-
import Stack from "@mui/material/Stack";
|
|
10
|
-
import Typography from "@mui/material/Typography";
|
|
11
|
-
import { usePathname } from "../../routes/hooks";
|
|
12
|
-
|
|
13
|
-
// ----------------------------------------------------------------------
|
|
14
|
-
|
|
15
|
-
const LINKS = [
|
|
16
|
-
{
|
|
17
|
-
headline: "Minimal",
|
|
18
|
-
children: [
|
|
19
|
-
{ name: "About us", href: "/" },
|
|
20
|
-
{ name: "Contact us", href: "/" },
|
|
21
|
-
{ name: "FAQs", href: "/" },
|
|
22
|
-
],
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
headline: "Legal",
|
|
26
|
-
children: [
|
|
27
|
-
{ name: "Terms and Condition", href: "#" },
|
|
28
|
-
{ name: "Privacy Policy", href: "#" },
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
headline: "Contact",
|
|
33
|
-
children: [{ name: "support@minimals.cc", href: "#" }],
|
|
34
|
-
},
|
|
35
|
-
];
|
|
36
|
-
|
|
37
|
-
// ----------------------------------------------------------------------
|
|
38
|
-
|
|
39
|
-
export default function Footer() {
|
|
40
|
-
const pathname = usePathname();
|
|
41
|
-
|
|
42
|
-
const homePage = pathname === "/";
|
|
43
|
-
|
|
44
|
-
const simpleFooter = (
|
|
45
|
-
<Box
|
|
46
|
-
component="footer"
|
|
47
|
-
sx={{
|
|
48
|
-
py: 5,
|
|
49
|
-
textAlign: "center",
|
|
50
|
-
position: "relative",
|
|
51
|
-
bgcolor: "background.default",
|
|
52
|
-
}}
|
|
53
|
-
>
|
|
54
|
-
<Container>
|
|
55
|
-
<Logo sx={{ mb: 1, mx: "auto" }} />
|
|
56
|
-
|
|
57
|
-
<Typography variant="caption" component="div">
|
|
58
|
-
© All rights reserved
|
|
59
|
-
<br /> made by
|
|
60
|
-
<Link href="https://minimals.cc/"> minimals.cc </Link>
|
|
61
|
-
</Typography>
|
|
62
|
-
</Container>
|
|
63
|
-
</Box>
|
|
64
|
-
);
|
|
65
|
-
|
|
66
|
-
const mainFooter = (
|
|
67
|
-
<Box
|
|
68
|
-
component="footer"
|
|
69
|
-
sx={{
|
|
70
|
-
position: "relative",
|
|
71
|
-
bgcolor: "background.default",
|
|
72
|
-
}}
|
|
73
|
-
>
|
|
74
|
-
<Divider />
|
|
75
|
-
|
|
76
|
-
<Container
|
|
77
|
-
sx={{
|
|
78
|
-
pt: 10,
|
|
79
|
-
pb: 5,
|
|
80
|
-
textAlign: { xs: "center", md: "unset" },
|
|
81
|
-
}}
|
|
82
|
-
>
|
|
83
|
-
<Logo sx={{ mb: 3 }} />
|
|
84
|
-
|
|
85
|
-
<Grid
|
|
86
|
-
container
|
|
87
|
-
justifyContent={{
|
|
88
|
-
xs: "center",
|
|
89
|
-
md: "space-between",
|
|
90
|
-
}}
|
|
91
|
-
>
|
|
92
|
-
<Grid xs={8} md={3}>
|
|
93
|
-
<Typography
|
|
94
|
-
variant="body2"
|
|
95
|
-
sx={{
|
|
96
|
-
maxWidth: 270,
|
|
97
|
-
mx: { xs: "auto", md: "unset" },
|
|
98
|
-
}}
|
|
99
|
-
>
|
|
100
|
-
The starting point for your next project with Minimal UI Kit,
|
|
101
|
-
built on the newest version of Material-UI ©, ready to be
|
|
102
|
-
customized to your style.
|
|
103
|
-
</Typography>
|
|
104
|
-
|
|
105
|
-
<Stack
|
|
106
|
-
direction="row"
|
|
107
|
-
sx={{
|
|
108
|
-
justifyContent: { xs: "center", md: "flex-start" },
|
|
109
|
-
mt: 3,
|
|
110
|
-
mb: { xs: 5, md: 0 }
|
|
111
|
-
}}></Stack>
|
|
112
|
-
</Grid>
|
|
113
|
-
|
|
114
|
-
<Grid xs={12} md={6}>
|
|
115
|
-
<Stack spacing={5} direction={{ xs: "column", md: "row" }}>
|
|
116
|
-
{LINKS.map((list) => (
|
|
117
|
-
<Stack
|
|
118
|
-
key={list.headline}
|
|
119
|
-
spacing={2}
|
|
120
|
-
sx={{
|
|
121
|
-
alignItems: { xs: "center", md: "flex-start" },
|
|
122
|
-
width: 1
|
|
123
|
-
}}>
|
|
124
|
-
<Typography component="div" variant="overline">
|
|
125
|
-
{list.headline}
|
|
126
|
-
</Typography>
|
|
127
|
-
|
|
128
|
-
{list.children.map((link) => (
|
|
129
|
-
<Link
|
|
130
|
-
key={link.name}
|
|
131
|
-
component={RouterLink}
|
|
132
|
-
href={link.href}
|
|
133
|
-
color="inherit"
|
|
134
|
-
variant="body2"
|
|
135
|
-
>
|
|
136
|
-
{link.name}
|
|
137
|
-
</Link>
|
|
138
|
-
))}
|
|
139
|
-
</Stack>
|
|
140
|
-
))}
|
|
141
|
-
</Stack>
|
|
142
|
-
</Grid>
|
|
143
|
-
</Grid>
|
|
144
|
-
|
|
145
|
-
<Typography variant="body2" sx={{ mt: 10 }}>
|
|
146
|
-
© 2021. All rights reserved
|
|
147
|
-
</Typography>
|
|
148
|
-
</Container>
|
|
149
|
-
</Box>
|
|
150
|
-
);
|
|
151
|
-
|
|
152
|
-
return homePage ? simpleFooter : mainFooter;
|
|
153
|
-
}
|