@anywayseo/tools 2.2.5 → 2.3.0
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/dist/components/index.cjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/layout/footer/extra/index.d.ts +3 -0
- package/dist/{index-BN2dAI6c.js → index-C5BWCSo_.js} +12 -5
- package/dist/{index-BNnjW2A2.mjs → index-DaSzU8Hb.mjs} +12 -5
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types/site/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../index-
|
|
3
|
+
const index = require("../index-C5BWCSo_.js");
|
|
4
4
|
exports.Author = index.Author;
|
|
5
5
|
exports.BonusCard = index.BonusCard;
|
|
6
6
|
exports.Center = index.Center;
|
|
@@ -539,17 +539,22 @@ const Disclaimer = () => {
|
|
|
539
539
|
t("disclaimer.description", { domain: index$1.getDomain(siteUrl) })
|
|
540
540
|
] });
|
|
541
541
|
};
|
|
542
|
+
const Extra = ({ children }) => {
|
|
543
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "section", my: 2, children });
|
|
544
|
+
};
|
|
542
545
|
const Navigation$1 = ({ menu }) => {
|
|
543
546
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
544
547
|
react.SimpleGrid,
|
|
545
548
|
{
|
|
549
|
+
as: "ul",
|
|
546
550
|
columns: { base: 1, sm: 2, md: 4 },
|
|
547
|
-
|
|
548
|
-
|
|
551
|
+
mt: 4,
|
|
552
|
+
mb: 6,
|
|
553
|
+
p: 0,
|
|
549
554
|
spacing: 4,
|
|
550
555
|
justifyItems: { base: "flex-start", md: "center" },
|
|
551
556
|
justifyContent: "space-between",
|
|
552
|
-
children: menu.map(({ path, label }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
557
|
+
children: menu.map(({ path, label }, index2) => /* @__PURE__ */ jsxRuntime.jsx(react.Flex, { as: "li", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
553
558
|
react.Text,
|
|
554
559
|
{
|
|
555
560
|
as: gatsby.Link,
|
|
@@ -561,14 +566,15 @@ const Navigation$1 = ({ menu }) => {
|
|
|
561
566
|
children: label
|
|
562
567
|
},
|
|
563
568
|
path
|
|
564
|
-
))
|
|
569
|
+
) }, index2))
|
|
565
570
|
}
|
|
566
571
|
);
|
|
567
572
|
};
|
|
568
573
|
const Footer = () => {
|
|
569
|
-
var _a;
|
|
574
|
+
var _a, _b;
|
|
570
575
|
const { configs } = index.useSiteContext();
|
|
571
576
|
const navigation = ((_a = configs == null ? void 0 : configs.footer) == null ? void 0 : _a.navigation) ?? [];
|
|
577
|
+
const extra = (_b = configs == null ? void 0 : configs.footer) == null ? void 0 : _b.extra;
|
|
572
578
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
573
579
|
react.Box,
|
|
574
580
|
{
|
|
@@ -578,6 +584,7 @@ const Footer = () => {
|
|
|
578
584
|
py: 4,
|
|
579
585
|
children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { children: [
|
|
580
586
|
/* @__PURE__ */ jsxRuntime.jsx(Navigation$1, { menu: navigation }),
|
|
587
|
+
!!extra && /* @__PURE__ */ jsxRuntime.jsx(Extra, { children: extra }),
|
|
581
588
|
/* @__PURE__ */ jsxRuntime.jsx(Disclaimer, {}),
|
|
582
589
|
/* @__PURE__ */ jsxRuntime.jsx(Brand$1, { brand: /* @__PURE__ */ jsxRuntime.jsx(Logo, {}) }),
|
|
583
590
|
/* @__PURE__ */ jsxRuntime.jsx(Copyright, {})
|
|
@@ -538,17 +538,22 @@ const Disclaimer = () => {
|
|
|
538
538
|
t2("disclaimer.description", { domain: getDomain(siteUrl) })
|
|
539
539
|
] });
|
|
540
540
|
};
|
|
541
|
+
const Extra = ({ children }) => {
|
|
542
|
+
return /* @__PURE__ */ jsx(Box, { as: "section", my: 2, children });
|
|
543
|
+
};
|
|
541
544
|
const Navigation$1 = ({ menu }) => {
|
|
542
545
|
return /* @__PURE__ */ jsx(
|
|
543
546
|
SimpleGrid,
|
|
544
547
|
{
|
|
548
|
+
as: "ul",
|
|
545
549
|
columns: { base: 1, sm: 2, md: 4 },
|
|
546
|
-
|
|
547
|
-
|
|
550
|
+
mt: 4,
|
|
551
|
+
mb: 6,
|
|
552
|
+
p: 0,
|
|
548
553
|
spacing: 4,
|
|
549
554
|
justifyItems: { base: "flex-start", md: "center" },
|
|
550
555
|
justifyContent: "space-between",
|
|
551
|
-
children: menu.map(({ path, label }) => /* @__PURE__ */ jsx(
|
|
556
|
+
children: menu.map(({ path, label }, index) => /* @__PURE__ */ jsx(Flex, { as: "li", children: /* @__PURE__ */ jsx(
|
|
552
557
|
Text,
|
|
553
558
|
{
|
|
554
559
|
as: Link$1,
|
|
@@ -560,14 +565,15 @@ const Navigation$1 = ({ menu }) => {
|
|
|
560
565
|
children: label
|
|
561
566
|
},
|
|
562
567
|
path
|
|
563
|
-
))
|
|
568
|
+
) }, index))
|
|
564
569
|
}
|
|
565
570
|
);
|
|
566
571
|
};
|
|
567
572
|
const Footer = () => {
|
|
568
|
-
var _a;
|
|
573
|
+
var _a, _b;
|
|
569
574
|
const { configs } = useSiteContext();
|
|
570
575
|
const navigation = ((_a = configs == null ? void 0 : configs.footer) == null ? void 0 : _a.navigation) ?? [];
|
|
576
|
+
const extra = (_b = configs == null ? void 0 : configs.footer) == null ? void 0 : _b.extra;
|
|
571
577
|
return /* @__PURE__ */ jsx(
|
|
572
578
|
Box,
|
|
573
579
|
{
|
|
@@ -577,6 +583,7 @@ const Footer = () => {
|
|
|
577
583
|
py: 4,
|
|
578
584
|
children: /* @__PURE__ */ jsxs(Container, { children: [
|
|
579
585
|
/* @__PURE__ */ jsx(Navigation$1, { menu: navigation }),
|
|
586
|
+
!!extra && /* @__PURE__ */ jsx(Extra, { children: extra }),
|
|
580
587
|
/* @__PURE__ */ jsx(Disclaimer, {}),
|
|
581
588
|
/* @__PURE__ */ jsx(Brand$1, { brand: /* @__PURE__ */ jsx(Logo, {}) }),
|
|
582
589
|
/* @__PURE__ */ jsx(Copyright, {})
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-C5BWCSo_.js");
|
|
4
4
|
const index$1 = require("./index-IpSV-c71.js");
|
|
5
5
|
const i18n$1 = require("./index-uq_uSyaC.js");
|
|
6
6
|
const index$2 = require("./index-m97PmVsd.js");
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, B, g, C, h, E, F, a, b, G, c, d, i, H, L, j, e, P, k, S, T, f } from "./index-
|
|
1
|
+
import { A, B, g, C, h, E, F, a, b, G, c, d, i, H, L, j, e, P, k, S, T, f } from "./index-DaSzU8Hb.mjs";
|
|
2
2
|
import { u } from "./index-xuSxvz5z.mjs";
|
|
3
3
|
import { a as a2, G as G2, r } from "./index-DjBQjd1k.mjs";
|
|
4
4
|
import { M } from "./index-C-e_0aJJ.mjs";
|