@bobbykim/mcl-footer 0.6.3 → 0.7.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.
@@ -1,117 +1,114 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.nav__decorator[data-v-962994fc]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-962994fc]:before,.nav__text:hover+.nav__decorator[data-v-962994fc]:before{width:100%}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { openBlock as l, createElementBlock as s, createElementVNode as o, defineComponent as T, ref as L, onMounted as $, Fragment as w, renderList as b, normalizeClass as d, createBlock as I, resolveDynamicComponent as B, markRaw as y, useSlots as M, unref as x, createVNode as z, createCommentVNode as k, toDisplayString as A, renderSlot as O } from "vue";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.nav__decorator[data-v-5578cce0]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-5578cce0]:before,.nav__text:hover+.nav__decorator[data-v-5578cce0]:before{width:100%}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import { defineComponent as b, computed as C, openBlock as s, createElementBlock as l, Fragment as L, renderList as v, createElementVNode as o, normalizeClass as d, useSlots as _, unref as y, createVNode as T, createCommentVNode as w, toDisplayString as I, renderSlot as A } from "vue";
3
3
  import r from "@bobbykim/manguito-theme";
4
- const C = (i, c) => {
5
- const u = i.__vccOpts || i;
6
- for (const [_, p] of c)
7
- u[_] = p;
8
- return u;
9
- }, H = {}, R = {
10
- xmlns: "http://www.w3.org/2000/svg",
11
- viewBox: "0 0 448 512",
12
- fill: "currentColor",
13
- class: "h-md w-md",
14
- role: "img"
15
- }, S = /* @__PURE__ */ o("path", { d: "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z" }, null, -1), V = [
16
- S
17
- ];
18
- function j(i, c) {
19
- return l(), s("svg", R, V);
20
- }
21
- const E = /* @__PURE__ */ C(H, [["render", j]]), D = {}, F = {
22
- xmlns: "http://www.w3.org/2000/svg",
23
- viewBox: "0 0 448 512",
24
- fill: "currentColor",
25
- class: "h-md w-md",
26
- role: "img"
27
- }, G = /* @__PURE__ */ o("path", { d: "M224,202.66A53.34,53.34,0,1,0,277.36,256,53.38,53.38,0,0,0,224,202.66Zm124.71-41a54,54,0,0,0-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31,6.43a54,54,0,0,0-30.41,30.41c-8.28,21-6.43,71.05-6.43,94.33S91,329.26,99.32,350.33a54,54,0,0,0,30.41,30.41c21,8.29,71,6.43,94.31,6.43s73.24,1.93,94.3-6.43a54,54,0,0,0,30.41-30.41c8.35-21,6.43-71.05,6.43-94.33S357.1,182.74,348.75,161.67ZM224,338a82,82,0,1,1,82-82A81.9,81.9,0,0,1,224,338Zm85.38-148.3a19.14,19.14,0,1,1,19.13-19.14A19.1,19.1,0,0,1,309.42,189.74ZM400,32H48A48,48,0,0,0,0,80V432a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V80A48,48,0,0,0,400,32ZM382.88,322c-1.29,25.63-7.14,48.34-25.85,67s-41.4,24.63-67,25.85c-26.41,1.49-105.59,1.49-132,0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61,0-132,1.29-25.63,7.07-48.34,25.85-67s41.47-24.56,67-25.78c26.41-1.49,105.59-1.49,132,0,25.63,1.29,48.33,7.15,67,25.85s24.63,41.42,25.85,67.05C384.37,216.44,384.37,295.56,382.88,322Z" }, null, -1), Z = [
28
- G
29
- ];
30
- function N(i, c) {
31
- return l(), s("svg", F, Z);
32
- }
33
- const X = /* @__PURE__ */ C(D, [["render", N]]), Y = {}, q = {
34
- xmlns: "http://www.w3.org/2000/svg",
35
- viewBox: "0 0 448 512",
36
- fill: "currentColor",
37
- class: "h-md w-md",
38
- role: "img"
39
- }, J = /* @__PURE__ */ o("path", { d: "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z" }, null, -1), K = [
40
- J
41
- ];
42
- function P(i, c) {
43
- return l(), s("svg", q, K);
44
- }
45
- const Q = /* @__PURE__ */ C(Y, [["render", P]]), U = {}, W = {
46
- xmlns: "http://www.w3.org/2000/svg",
47
- viewBox: "0 0 448 512",
48
- fill: "currentColor",
49
- class: "h-md w-md",
50
- role: "img"
51
- }, ee = /* @__PURE__ */ o("path", { d: "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z" }, null, -1), te = [
52
- ee
53
- ];
54
- function oe(i, c) {
55
- return l(), s("svg", W, te);
56
- }
57
- const le = /* @__PURE__ */ C(U, [["render", oe]]), se = { class: "flex flex-wrap" }, ne = ["href", "aria-label"], re = /* @__PURE__ */ T({
4
+ const M = `<svg
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ viewBox="0 0 448 512"
7
+ fill="currentColor"
8
+ class="h-md w-md"
9
+ role="img"
10
+ aria-label="github social icon"
11
+ >
12
+ <!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
13
+ <path
14
+ d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z"
15
+ />
16
+ </svg>`, H = `<svg
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ viewBox="0 0 448 512"
19
+ fill="currentColor"
20
+ class="h-md w-md"
21
+ role="img"
22
+ aria-label="instagram social icon"
23
+ >
24
+ <!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
25
+ <path
26
+ d="M224,202.66A53.34,53.34,0,1,0,277.36,256,53.38,53.38,0,0,0,224,202.66Zm124.71-41a54,54,0,0,0-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31,6.43a54,54,0,0,0-30.41,30.41c-8.28,21-6.43,71.05-6.43,94.33S91,329.26,99.32,350.33a54,54,0,0,0,30.41,30.41c21,8.29,71,6.43,94.31,6.43s73.24,1.93,94.3-6.43a54,54,0,0,0,30.41-30.41c8.35-21,6.43-71.05,6.43-94.33S357.1,182.74,348.75,161.67ZM224,338a82,82,0,1,1,82-82A81.9,81.9,0,0,1,224,338Zm85.38-148.3a19.14,19.14,0,1,1,19.13-19.14A19.1,19.1,0,0,1,309.42,189.74ZM400,32H48A48,48,0,0,0,0,80V432a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V80A48,48,0,0,0,400,32ZM382.88,322c-1.29,25.63-7.14,48.34-25.85,67s-41.4,24.63-67,25.85c-26.41,1.49-105.59,1.49-132,0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61,0-132,1.29-25.63,7.07-48.34,25.85-67s41.47-24.56,67-25.78c26.41-1.49,105.59-1.49,132,0,25.63,1.29,48.33,7.15,67,25.85s24.63,41.42,25.85,67.05C384.37,216.44,384.37,295.56,382.88,322Z"
27
+ />
28
+ </svg>`, z = `<svg
29
+ xmlns="http://www.w3.org/2000/svg"
30
+ viewBox="0 0 448 512"
31
+ fill="currentColor"
32
+ class="h-md w-md"
33
+ role="img"
34
+ aria-label="linkedin social icon"
35
+ >
36
+ <!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
37
+ <path
38
+ d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"
39
+ />
40
+ </svg>`, B = `<svg
41
+ xmlns="http://www.w3.org/2000/svg"
42
+ viewBox="0 0 448 512"
43
+ fill="currentColor"
44
+ class="h-md w-md"
45
+ role="img"
46
+ aria-label="x/twitter social icon"
47
+ >
48
+ <!-- !Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc. -->
49
+ <path
50
+ d="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"
51
+ />
52
+ </svg>`, O = { class: "flex flex-wrap" }, F = ["href", "aria-label"], V = ["innerHTML"], R = /* @__PURE__ */ b({
58
53
  __name: "SocialIcons",
59
54
  props: {
60
55
  iconColor: { default: "light-1" },
61
56
  socialLinks: {}
62
57
  },
63
- setup(i) {
64
- const c = i, u = L([]), _ = () => {
65
- const { linkedin: a, instagram: h, github: m, twitter: g } = c.socialLinks, e = [];
66
- a && e.push({
67
- url: a,
68
- icon: y(Q),
58
+ setup(u) {
59
+ const i = u, c = C(() => {
60
+ var f, m, h, k;
61
+ const t = [];
62
+ return (f = i.socialLinks) != null && f.linkedin && t.push({
63
+ url: i.socialLinks.linkedin,
64
+ icon: z,
69
65
  label: "linkedin social icon"
70
- }), m && e.push({
71
- url: m,
72
- icon: y(E),
66
+ }), (m = i.socialLinks) != null && m.github && t.push({
67
+ url: i.socialLinks.github,
68
+ icon: M,
73
69
  label: "github social icon"
74
- }), h && e.push({
75
- url: h,
76
- icon: y(X),
70
+ }), (h = i.socialLinks) != null && h.instagram && t.push({
71
+ url: i.socialLinks.instagram,
72
+ icon: H,
77
73
  label: "instagram social icon"
78
- }), g && e.push({
79
- url: g,
80
- icon: y(le),
81
- label: "twitter social icon"
82
- }), u.value = e;
83
- }, p = (a) => [
84
- r("TEXTCOLOR", a),
85
- r("RINGCOLOR", a)
74
+ }), (k = i.socialLinks) != null && k.twitter && t.push({
75
+ url: i.socialLinks.twitter,
76
+ icon: B,
77
+ label: "x/twitter social icon"
78
+ }), t;
79
+ }), g = (t) => [
80
+ r("TEXTCOLOR", t),
81
+ r("RINGCOLOR", t)
86
82
  ].join(" ");
87
- return $(() => {
88
- _();
89
- }), (a, h) => (l(), s("ul", se, [
90
- (l(!0), s(w, null, b(u.value, (m, g) => (l(), s("li", {
91
- key: g,
83
+ return (t, f) => (s(), l("ul", O, [
84
+ (s(!0), l(L, null, v(c.value, (m, h) => (s(), l("li", {
85
+ key: h,
92
86
  class: "mr-xs last:mr-0"
93
87
  }, [
94
88
  o("a", {
95
89
  href: m.url,
96
90
  target: "_blank",
97
- class: d(["inline-block outline-none focus:ring-2 hover:ring-2 hover:opacity-70 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear", p(a.iconColor)]),
98
- "aria-label": m.label
91
+ class: d(["inline-block outline-none focus:ring-2 hover:ring-2 hover:opacity-70 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear", g(t.iconColor)]),
92
+ "aria-label": m.label,
93
+ role: "button"
99
94
  }, [
100
- (l(), I(B(m.icon)))
101
- ], 10, ne)
95
+ o("div", {
96
+ innerHTML: m.icon
97
+ }, null, 8, V)
98
+ ], 10, F)
102
99
  ]))), 128))
103
100
  ]));
104
101
  }
105
- }), ie = { class: "container px-xs md:px-lg lg:px-xl" }, ce = { class: "h-lg md:h-xl align-middle mb-xs" }, ae = ["href", "target"], de = ["src", "alt"], ue = {
102
+ }), S = { class: "container px-xs md:px-lg lg:px-xl" }, j = { class: "h-lg md:h-xl align-middle mb-xs" }, E = ["href", "target"], D = ["src", "alt"], $ = {
106
103
  key: 0,
107
104
  class: "mb-xs flex items-center justify-end md:justify-center"
108
- }, me = { class: "flex flex-wrap md:justify-between items-center md:items-start gap-6 md:gap-8" }, fe = { class: "grid gap-2 justify-items-center basis-full md:basis-1/3" }, he = ["innerHTML"], ge = {
105
+ }, G = { class: "flex flex-wrap md:justify-between items-center md:items-start gap-6 md:gap-8" }, Z = { class: "grid gap-2 justify-items-center basis-full md:basis-1/3" }, N = ["innerHTML"], X = {
109
106
  key: 0,
110
107
  class: "text-xs text-white align-middle mb-2"
111
- }, _e = { class: "px-xs md:px-0" }, pe = { class: "text-sm flex flex-col md:flex-row items-center sm:items-start sm:flex-row text-center sm:text-left gap-xs justify-between md:justify-around grow md:basis-1/2" }, ke = { class: "flex flex-wrap md:flex-col justify-center items-center gap-2xs" }, Ce = ["href", "target", "onClick", "innerHTML"], ye = {
108
+ }, P = { class: "px-xs md:px-0" }, Y = { class: "text-sm flex flex-col md:flex-row items-center sm:items-start sm:flex-row text-center sm:text-left gap-xs justify-between md:justify-around grow md:basis-1/2" }, q = { class: "flex flex-wrap md:flex-col justify-center items-center gap-2xs" }, J = ["href", "target", "onClick", "innerHTML"], K = {
112
109
  key: 0,
113
110
  class: "flex flex-wrap md:flex-col justify-center items-center gap-2xs"
114
- }, xe = ["href", "target", "onClick", "innerHTML"], ve = /* @__PURE__ */ T({
111
+ }, Q = ["href", "target", "onClick", "innerHTML"], U = /* @__PURE__ */ b({
115
112
  __name: "MclFooterA",
116
113
  props: {
117
114
  title: {},
@@ -120,7 +117,7 @@ const le = /* @__PURE__ */ C(U, [["render", oe]]), se = { class: "flex flex-wrap
120
117
  copyText: {},
121
118
  logo: {},
122
119
  logoAlt: {},
123
- logoAsLink: { type: Boolean, default: !0 },
120
+ logoAsLink: { type: Boolean, default: !1 },
124
121
  logoLink: {},
125
122
  logoLinkTarget: { default: "_self" },
126
123
  displaySocialIcons: { type: Boolean, default: !0 },
@@ -128,7 +125,7 @@ const le = /* @__PURE__ */ C(U, [["render", oe]]), se = { class: "flex flex-wrap
128
125
  socialLinks: {},
129
126
  menuItems: {},
130
127
  secondaryMenuItems: {},
131
- menuItemAsLink: { type: Boolean, default: !0 },
128
+ menuItemAsLink: { type: Boolean, default: !1 },
132
129
  menuTextSize: { default: "md" },
133
130
  menuTextColor: { default: "light-1" },
134
131
  menuTextBold: { type: Boolean, default: !1 },
@@ -139,116 +136,121 @@ const le = /* @__PURE__ */ C(U, [["render", oe]]), se = { class: "flex flex-wrap
139
136
  headlineColor: { default: "light-1" }
140
137
  },
141
138
  emits: ["logo-click", "menu-click"],
142
- setup(i, { emit: c }) {
143
- const u = i;
144
- M();
145
- const _ = c, p = (e, n) => [
146
- r("BGCOLOR", e),
147
- r("BORDER", n)
148
- ].join(" "), a = (e, n) => [
149
- r("H2", e),
150
- r("TEXTCOLOR", n)
151
- ].join(" "), h = (e, n, t) => {
152
- const f = [
139
+ setup(u, { emit: i }) {
140
+ const c = u;
141
+ _();
142
+ const g = i, t = C(() => {
143
+ const { bgColor: e, borderTopColor: a } = c;
144
+ return [
145
+ r("BGCOLOR", e),
146
+ r("BORDER", a)
147
+ ].join(" ");
148
+ }), f = C(() => {
149
+ const { titleSize: e, titleColor: a } = c;
150
+ return [
151
+ r("H2", e),
152
+ r("TEXTCOLOR", a)
153
+ ].join(" ");
154
+ }), m = C(() => {
155
+ const { menuTextSize: e, menuTextColor: a, menuTextBold: n } = c;
156
+ return [
153
157
  r("BODYTEXT", e),
154
- r("TEXTCOLOR", n)
155
- ];
156
- return t && f.push("font-bold"), f.join(" ");
157
- }, m = (e) => {
158
- const { logoAsLink: n, logoLink: t, logoLinkTarget: f } = u;
159
- !n && e.preventDefault(), _("logo-click", e, t, f);
160
- }, g = (e, n) => {
161
- const { menuItemAsLink: t } = u;
162
- !t && e.preventDefault(), _("menu-click", e, n);
158
+ r("TEXTCOLOR", a)
159
+ ].join(" ");
160
+ }), h = (e) => {
161
+ const { logoAsLink: a, logoLink: n, logoLinkTarget: p } = c;
162
+ !a && e.preventDefault(), g("logo-click", e, n, p);
163
+ }, k = (e, a) => {
164
+ const { menuItemAsLink: n } = c;
165
+ !n && e.preventDefault(), g("menu-click", e, a);
163
166
  };
164
- return (e, n) => (l(), s("footer", {
165
- class: d(["border-t-2 py-6 sm:py-8 md:py-12", p(e.bgColor, e.borderTopColor)])
167
+ return (e, a) => (s(), l("footer", {
168
+ class: d(["border-t-2 py-6 sm:py-8 md:py-12", t.value])
166
169
  }, [
167
- o("div", ie, [
170
+ o("div", S, [
168
171
  o("div", {
169
- class: d(["flex flex-col md:flex-row flex-wrap justify-between mb-xs md:mb-md px-xs md:px-md border-b-2", x(r)("BORDER", e.headlineColor)])
172
+ class: d(["flex flex-col md:flex-row flex-wrap justify-between mb-xs md:mb-md px-xs md:px-md border-b-2", y(r)("BORDER", e.headlineColor)])
170
173
  }, [
171
- o("div", ce, [
174
+ o("div", j, [
172
175
  o("a", {
173
176
  href: e.logoLink,
174
177
  target: e.logoLinkTarget,
175
- class: d(["h-full inline-block outline-none focus:ring-2 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear", x(r)("RINGCOLOR", e.titleColor)]),
176
- onClick: n[0] || (n[0] = (t) => m(t))
178
+ class: d(["h-full inline-block outline-none focus:ring-2 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear", y(r)("RINGCOLOR", e.titleColor)]),
179
+ onClick: a[0] || (a[0] = (n) => h(n))
177
180
  }, [
178
181
  o("img", {
179
182
  class: "inline-block h-full",
180
183
  src: e.logo,
181
184
  alt: e.logoAlt
182
- }, null, 8, de)
183
- ], 10, ae)
185
+ }, null, 8, D)
186
+ ], 10, E)
184
187
  ]),
185
- e.displaySocialIcons ? (l(), s("div", ue, [
186
- z(re, {
188
+ e.displaySocialIcons ? (s(), l("div", $, [
189
+ T(R, {
187
190
  "social-links": e.socialLinks,
188
191
  "icon-color": e.socialIconColor
189
192
  }, null, 8, ["social-links", "icon-color"])
190
- ])) : k("", !0)
193
+ ])) : w("", !0)
191
194
  ], 2),
192
- o("div", me, [
193
- o("div", fe, [
195
+ o("div", G, [
196
+ o("div", Z, [
194
197
  o("h2", {
195
- class: d(["inline-block align-middle tracking-wider", a(e.titleSize, e.titleColor)]),
198
+ class: d(["inline-block align-middle tracking-wider", f.value]),
196
199
  innerHTML: e.title
197
- }, null, 10, he),
198
- e.copyText ? (l(), s("small", ge, " © " + A(e.copyText + " " + (/* @__PURE__ */ new Date()).getFullYear()), 1)) : k("", !0),
199
- o("div", _e, [
200
- O(e.$slots, "default", {}, void 0, !0)
200
+ }, null, 10, N),
201
+ e.copyText ? (s(), l("small", X, " © " + I(e.copyText + " " + (/* @__PURE__ */ new Date()).getFullYear()), 1)) : w("", !0),
202
+ o("div", P, [
203
+ A(e.$slots, "default", {}, void 0, !0)
201
204
  ])
202
205
  ]),
203
- o("nav", pe, [
204
- o("ul", ke, [
205
- (l(!0), s(w, null, b(e.menuItems, (t, f) => (l(), s("li", {
206
- key: `first-nav-${f}`,
206
+ o("nav", Y, [
207
+ o("ul", q, [
208
+ (s(!0), l(L, null, v(e.menuItems, (n, p) => (s(), l("li", {
209
+ key: `first-nav-${p}`,
207
210
  class: "inline-block"
208
211
  }, [
209
212
  o("a", {
210
- href: t.url,
211
- target: t.target ? t.target : "_self",
212
- class: d([
213
- "tracking-wide outline-none nav__text",
214
- h(e.menuTextSize, e.menuTextColor, e.menuTextBold)
215
- ]),
216
- onClick: (v) => g(v, t),
217
- innerHTML: t.title
218
- }, null, 10, Ce),
219
- e.displayHighlight ? (l(), s("div", {
213
+ href: n.url,
214
+ target: n.target ? n.target : "_self",
215
+ class: d(["tracking-wide outline-none nav__text", m.value]),
216
+ onClick: (x) => k(x, n),
217
+ innerHTML: n.title
218
+ }, null, 10, J),
219
+ e.displayHighlight ? (s(), l("div", {
220
220
  key: 0,
221
- class: d(["relative top-3xs h-3xs nav__decorator", x(r)("BEFOREBG", e.highlightColor)])
222
- }, null, 2)) : k("", !0)
221
+ class: d(["relative top-3xs h-3xs nav__decorator", y(r)("BEFOREBG", e.highlightColor)])
222
+ }, null, 2)) : w("", !0)
223
223
  ]))), 128))
224
224
  ]),
225
- e.secondaryMenuItems ? (l(), s("ul", ye, [
226
- (l(!0), s(w, null, b(e.secondaryMenuItems, (t, f) => (l(), s("li", {
227
- key: `second-nav-${f}`,
225
+ e.secondaryMenuItems ? (s(), l("ul", K, [
226
+ (s(!0), l(L, null, v(e.secondaryMenuItems, (n, p) => (s(), l("li", {
227
+ key: `second-nav-${p}`,
228
228
  class: "inline-block"
229
229
  }, [
230
230
  o("a", {
231
- href: t.url,
232
- target: t.target ? t.target : "_self",
233
- class: d([
234
- "tracking-wide outline-none nav__text",
235
- h(e.menuTextSize, e.menuTextColor, e.menuTextBold)
236
- ]),
237
- onClick: (v) => g(v, t),
238
- innerHTML: t.title
239
- }, null, 10, xe),
240
- e.displayHighlight ? (l(), s("div", {
231
+ href: n.url,
232
+ target: n.target ? n.target : "_self",
233
+ class: d(["tracking-wide outline-none nav__text", m.value]),
234
+ onClick: (x) => k(x, n),
235
+ innerHTML: n.title
236
+ }, null, 10, Q),
237
+ e.displayHighlight ? (s(), l("div", {
241
238
  key: 0,
242
- class: d(["relative top-3xs h-3xs nav__decorator", x(r)("BEFOREBG", e.highlightColor)])
243
- }, null, 2)) : k("", !0)
239
+ class: d(["relative top-3xs h-3xs nav__decorator", y(r)("BEFOREBG", e.highlightColor)])
240
+ }, null, 2)) : w("", !0)
244
241
  ]))), 128))
245
- ])) : k("", !0)
242
+ ])) : w("", !0)
246
243
  ])
247
244
  ])
248
245
  ])
249
246
  ], 2));
250
247
  }
251
- }), Te = /* @__PURE__ */ C(ve, [["__scopeId", "data-v-962994fc"]]);
248
+ }), W = (u, i) => {
249
+ const c = u.__vccOpts || u;
250
+ for (const [g, t] of i)
251
+ c[g] = t;
252
+ return c;
253
+ }, oe = /* @__PURE__ */ W(U, [["__scopeId", "data-v-5578cce0"]]);
252
254
  export {
253
- Te as MclFooterA
255
+ oe as MclFooterA
254
256
  };
@@ -1,2 +1,50 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.nav__decorator[data-v-962994fc]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-962994fc]:before,.nav__text:hover+.nav__decorator[data-v-962994fc]:before{width:100%}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- (function(i,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@bobbykim/manguito-theme")):typeof define=="function"&&define.amd?define(["exports","vue","@bobbykim/manguito-theme"],e):(i=typeof globalThis<"u"?globalThis:i||self,e(i.MclFooter={},i.Vue,i.ManguitoTheme))})(this,function(i,e,l){"use strict";const g=(s,r)=>{const a=s.__vccOpts||s;for(const[p,k]of r)a[p]=k;return a},u={},B={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",class:"h-md w-md",role:"img"},y=[e.createElementVNode("path",{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z"},null,-1)];function C(s,r){return e.openBlock(),e.createElementBlock("svg",B,y)}const w=g(u,[["render",C]]),x={},E={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",class:"h-md w-md",role:"img"},b=[e.createElementVNode("path",{d:"M224,202.66A53.34,53.34,0,1,0,277.36,256,53.38,53.38,0,0,0,224,202.66Zm124.71-41a54,54,0,0,0-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31,6.43a54,54,0,0,0-30.41,30.41c-8.28,21-6.43,71.05-6.43,94.33S91,329.26,99.32,350.33a54,54,0,0,0,30.41,30.41c21,8.29,71,6.43,94.31,6.43s73.24,1.93,94.3-6.43a54,54,0,0,0,30.41-30.41c8.35-21,6.43-71.05,6.43-94.33S357.1,182.74,348.75,161.67ZM224,338a82,82,0,1,1,82-82A81.9,81.9,0,0,1,224,338Zm85.38-148.3a19.14,19.14,0,1,1,19.13-19.14A19.1,19.1,0,0,1,309.42,189.74ZM400,32H48A48,48,0,0,0,0,80V432a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V80A48,48,0,0,0,400,32ZM382.88,322c-1.29,25.63-7.14,48.34-25.85,67s-41.4,24.63-67,25.85c-26.41,1.49-105.59,1.49-132,0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61,0-132,1.29-25.63,7.07-48.34,25.85-67s41.47-24.56,67-25.78c26.41-1.49,105.59-1.49,132,0,25.63,1.29,48.33,7.15,67,25.85s24.63,41.42,25.85,67.05C384.37,216.44,384.37,295.56,382.88,322Z"},null,-1)];function T(s,r){return e.openBlock(),e.createElementBlock("svg",E,b)}const V=g(x,[["render",T]]),L={},z={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",class:"h-md w-md",role:"img"},$=[e.createElementVNode("path",{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"},null,-1)];function M(s,r){return e.openBlock(),e.createElementBlock("svg",z,$)}const N=g(L,[["render",M]]),I={},A={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",class:"h-md w-md",role:"img"},O=[e.createElementVNode("path",{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"},null,-1)];function R(s,r){return e.openBlock(),e.createElementBlock("svg",A,O)}const H=g(I,[["render",R]]),S={class:"flex flex-wrap"},j=["href","aria-label"],F=e.defineComponent({__name:"SocialIcons",props:{iconColor:{default:"light-1"},socialLinks:{}},setup(s){const r=s,a=e.ref([]),p=()=>{const{linkedin:c,instagram:f,github:d,twitter:h}=r.socialLinks,o=[];c&&o.push({url:c,icon:e.markRaw(N),label:"linkedin social icon"}),d&&o.push({url:d,icon:e.markRaw(w),label:"github social icon"}),f&&o.push({url:f,icon:e.markRaw(V),label:"instagram social icon"}),h&&o.push({url:h,icon:e.markRaw(H),label:"twitter social icon"}),a.value=o},k=c=>[l("TEXTCOLOR",c),l("RINGCOLOR",c)].join(" ");return e.onMounted(()=>{p()}),(c,f)=>(e.openBlock(),e.createElementBlock("ul",S,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(d,h)=>(e.openBlock(),e.createElementBlock("li",{key:h,class:"mr-xs last:mr-0"},[e.createElementVNode("a",{href:d.url,target:"_blank",class:e.normalizeClass(["inline-block outline-none focus:ring-2 hover:ring-2 hover:opacity-70 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear",k(c.iconColor)]),"aria-label":d.label},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.icon)))],10,j)]))),128))]))}}),D={class:"container px-xs md:px-lg lg:px-xl"},G={class:"h-lg md:h-xl align-middle mb-xs"},Z=["href","target"],X=["src","alt"],q={key:0,class:"mb-xs flex items-center justify-end md:justify-center"},Y={class:"flex flex-wrap md:justify-between items-center md:items-start gap-6 md:gap-8"},P={class:"grid gap-2 justify-items-center basis-full md:basis-1/3"},J=["innerHTML"],K={key:0,class:"text-xs text-white align-middle mb-2"},Q={class:"px-xs md:px-0"},U={class:"text-sm flex flex-col md:flex-row items-center sm:items-start sm:flex-row text-center sm:text-left gap-xs justify-between md:justify-around grow md:basis-1/2"},W={class:"flex flex-wrap md:flex-col justify-center items-center gap-2xs"},v=["href","target","onClick","innerHTML"],ee={key:0,class:"flex flex-wrap md:flex-col justify-center items-center gap-2xs"},oe=["href","target","onClick","innerHTML"],te=g(e.defineComponent({__name:"MclFooterA",props:{title:{},titleSize:{default:"md"},titleColor:{default:"light-1"},copyText:{},logo:{},logoAlt:{},logoAsLink:{type:Boolean,default:!0},logoLink:{},logoLinkTarget:{default:"_self"},displaySocialIcons:{type:Boolean,default:!0},socialIconColor:{default:"light-1"},socialLinks:{},menuItems:{},secondaryMenuItems:{},menuItemAsLink:{type:Boolean,default:!0},menuTextSize:{default:"md"},menuTextColor:{default:"light-1"},menuTextBold:{type:Boolean,default:!1},displayHighlight:{type:Boolean,default:!0},highlightColor:{default:"primary"},bgColor:{default:"dark-3"},borderTopColor:{default:"primary"},headlineColor:{default:"light-1"}},emits:["logo-click","menu-click"],setup(s,{emit:r}){const a=s;e.useSlots();const p=r,k=(o,n)=>[l("BGCOLOR",o),l("BORDER",n)].join(" "),c=(o,n)=>[l("H2",o),l("TEXTCOLOR",n)].join(" "),f=(o,n,t)=>{const m=[l("BODYTEXT",o),l("TEXTCOLOR",n)];return t&&m.push("font-bold"),m.join(" ")},d=o=>{const{logoAsLink:n,logoLink:t,logoLinkTarget:m}=a;!n&&o.preventDefault(),p("logo-click",o,t,m)},h=(o,n)=>{const{menuItemAsLink:t}=a;!t&&o.preventDefault(),p("menu-click",o,n)};return(o,n)=>(e.openBlock(),e.createElementBlock("footer",{class:e.normalizeClass(["border-t-2 py-6 sm:py-8 md:py-12",k(o.bgColor,o.borderTopColor)])},[e.createElementVNode("div",D,[e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col md:flex-row flex-wrap justify-between mb-xs md:mb-md px-xs md:px-md border-b-2",e.unref(l)("BORDER",o.headlineColor)])},[e.createElementVNode("div",G,[e.createElementVNode("a",{href:o.logoLink,target:o.logoLinkTarget,class:e.normalizeClass(["h-full inline-block outline-none focus:ring-2 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear",e.unref(l)("RINGCOLOR",o.titleColor)]),onClick:n[0]||(n[0]=t=>d(t))},[e.createElementVNode("img",{class:"inline-block h-full",src:o.logo,alt:o.logoAlt},null,8,X)],10,Z)]),o.displaySocialIcons?(e.openBlock(),e.createElementBlock("div",q,[e.createVNode(F,{"social-links":o.socialLinks,"icon-color":o.socialIconColor},null,8,["social-links","icon-color"])])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",Y,[e.createElementVNode("div",P,[e.createElementVNode("h2",{class:e.normalizeClass(["inline-block align-middle tracking-wider",c(o.titleSize,o.titleColor)]),innerHTML:o.title},null,10,J),o.copyText?(e.openBlock(),e.createElementBlock("small",K," © "+e.toDisplayString(o.copyText+" "+new Date().getFullYear()),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Q,[e.renderSlot(o.$slots,"default",{},void 0,!0)])]),e.createElementVNode("nav",U,[e.createElementVNode("ul",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.menuItems,(t,m)=>(e.openBlock(),e.createElementBlock("li",{key:`first-nav-${m}`,class:"inline-block"},[e.createElementVNode("a",{href:t.url,target:t.target?t.target:"_self",class:e.normalizeClass(["tracking-wide outline-none nav__text",f(o.menuTextSize,o.menuTextColor,o.menuTextBold)]),onClick:_=>h(_,t),innerHTML:t.title},null,10,v),o.displayHighlight?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["relative top-3xs h-3xs nav__decorator",e.unref(l)("BEFOREBG",o.highlightColor)])},null,2)):e.createCommentVNode("",!0)]))),128))]),o.secondaryMenuItems?(e.openBlock(),e.createElementBlock("ul",ee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.secondaryMenuItems,(t,m)=>(e.openBlock(),e.createElementBlock("li",{key:`second-nav-${m}`,class:"inline-block"},[e.createElementVNode("a",{href:t.url,target:t.target?t.target:"_self",class:e.normalizeClass(["tracking-wide outline-none nav__text",f(o.menuTextSize,o.menuTextColor,o.menuTextBold)]),onClick:_=>h(_,t),innerHTML:t.title},null,10,oe),o.displayHighlight?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["relative top-3xs h-3xs nav__decorator",e.unref(l)("BEFOREBG",o.highlightColor)])},null,2)):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0)])])])],2))}}),[["__scopeId","data-v-962994fc"]]);i.MclFooterA=te,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.nav__decorator[data-v-5578cce0]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-5578cce0]:before,.nav__text:hover+.nav__decorator[data-v-5578cce0]:before{width:100%}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ (function(a,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@bobbykim/manguito-theme")):typeof define=="function"&&define.amd?define(["exports","vue","@bobbykim/manguito-theme"],e):(a=typeof globalThis<"u"?globalThis:a||self,e(a.MclFooter={},a.Vue,a.ManguitoTheme))})(this,function(a,e,l){"use strict";const u=`<svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ viewBox="0 0 448 512"
5
+ fill="currentColor"
6
+ class="h-md w-md"
7
+ role="img"
8
+ aria-label="github social icon"
9
+ >
10
+ <!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
11
+ <path
12
+ d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM277.3 415.7c-8.4 1.5-11.5-3.7-11.5-8 0-5.4.2-33 .2-55.3 0-15.6-5.2-25.5-11.3-30.7 37-4.1 76-9.2 76-73.1 0-18.2-6.5-27.3-17.1-39 1.7-4.3 7.4-22-1.7-45-13.9-4.3-45.7 17.9-45.7 17.9-13.2-3.7-27.5-5.6-41.6-5.6-14.1 0-28.4 1.9-41.6 5.6 0 0-31.8-22.2-45.7-17.9-9.1 22.9-3.5 40.6-1.7 45-10.6 11.7-15.6 20.8-15.6 39 0 63.6 37.3 69 74.3 73.1-4.8 4.3-9.1 11.7-10.6 22.3-9.5 4.3-33.8 11.7-48.3-13.9-9.1-15.8-25.5-17.1-25.5-17.1-16.2-.2-1.1 10.2-1.1 10.2 10.8 5 18.4 24.2 18.4 24.2 9.7 29.7 56.1 19.7 56.1 19.7 0 13.9.2 36.5.2 40.6 0 4.3-3 9.5-11.5 8-66-22.1-112.2-84.9-112.2-158.3 0-91.8 70.2-161.5 162-161.5S388 165.6 388 257.4c.1 73.4-44.7 136.3-110.7 158.3zm-98.1-61.1c-1.9.4-3.7-.4-3.9-1.7-.2-1.5 1.1-2.8 3-3.2 1.9-.2 3.7.6 3.9 1.9.3 1.3-1 2.6-3 3zm-9.5-.9c0 1.3-1.5 2.4-3.5 2.4-2.2.2-3.7-.9-3.7-2.4 0-1.3 1.5-2.4 3.5-2.4 1.9-.2 3.7.9 3.7 2.4zm-13.7-1.1c-.4 1.3-2.4 1.9-4.1 1.3-1.9-.4-3.2-1.9-2.8-3.2.4-1.3 2.4-1.9 4.1-1.5 2 .6 3.3 2.1 2.8 3.4zm-12.3-5.4c-.9 1.1-2.8.9-4.3-.6-1.5-1.3-1.9-3.2-.9-4.1.9-1.1 2.8-.9 4.3.6 1.3 1.3 1.8 3.3.9 4.1zm-9.1-9.1c-.9.6-2.6 0-3.7-1.5s-1.1-3.2 0-3.9c1.1-.9 2.8-.2 3.7 1.3 1.1 1.5 1.1 3.3 0 4.1zm-6.5-9.7c-.9.9-2.4.4-3.5-.6-1.1-1.3-1.3-2.8-.4-3.5.9-.9 2.4-.4 3.5.6 1.1 1.3 1.3 2.8.4 3.5zm-6.7-7.4c-.4.9-1.7 1.1-2.8.4-1.3-.6-1.9-1.7-1.5-2.6.4-.6 1.5-.9 2.8-.4 1.3.7 1.9 1.8 1.5 2.6z"
13
+ />
14
+ </svg>`,y=`<svg
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ viewBox="0 0 448 512"
17
+ fill="currentColor"
18
+ class="h-md w-md"
19
+ role="img"
20
+ aria-label="instagram social icon"
21
+ >
22
+ <!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
23
+ <path
24
+ d="M224,202.66A53.34,53.34,0,1,0,277.36,256,53.38,53.38,0,0,0,224,202.66Zm124.71-41a54,54,0,0,0-30.41-30.41c-21-8.29-71-6.43-94.3-6.43s-73.25-1.93-94.31,6.43a54,54,0,0,0-30.41,30.41c-8.28,21-6.43,71.05-6.43,94.33S91,329.26,99.32,350.33a54,54,0,0,0,30.41,30.41c21,8.29,71,6.43,94.31,6.43s73.24,1.93,94.3-6.43a54,54,0,0,0,30.41-30.41c8.35-21,6.43-71.05,6.43-94.33S357.1,182.74,348.75,161.67ZM224,338a82,82,0,1,1,82-82A81.9,81.9,0,0,1,224,338Zm85.38-148.3a19.14,19.14,0,1,1,19.13-19.14A19.1,19.1,0,0,1,309.42,189.74ZM400,32H48A48,48,0,0,0,0,80V432a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V80A48,48,0,0,0,400,32ZM382.88,322c-1.29,25.63-7.14,48.34-25.85,67s-41.4,24.63-67,25.85c-26.41,1.49-105.59,1.49-132,0-25.63-1.29-48.26-7.15-67-25.85s-24.63-41.42-25.85-67c-1.49-26.42-1.49-105.61,0-132,1.29-25.63,7.07-48.34,25.85-67s41.47-24.56,67-25.78c26.41-1.49,105.59-1.49,132,0,25.63,1.29,48.33,7.15,67,25.85s24.63,41.42,25.85,67.05C384.37,216.44,384.37,295.56,382.88,322Z"
25
+ />
26
+ </svg>`,w=`<svg
27
+ xmlns="http://www.w3.org/2000/svg"
28
+ viewBox="0 0 448 512"
29
+ fill="currentColor"
30
+ class="h-md w-md"
31
+ role="img"
32
+ aria-label="linkedin social icon"
33
+ >
34
+ <!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
35
+ <path
36
+ d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"
37
+ />
38
+ </svg>`,C=`<svg
39
+ xmlns="http://www.w3.org/2000/svg"
40
+ viewBox="0 0 448 512"
41
+ fill="currentColor"
42
+ class="h-md w-md"
43
+ role="img"
44
+ aria-label="x/twitter social icon"
45
+ >
46
+ <!-- !Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc. -->
47
+ <path
48
+ d="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"
49
+ />
50
+ </svg>`,x={class:"flex flex-wrap"},L=["href","aria-label"],b=["innerHTML"],_=e.defineComponent({__name:"SocialIcons",props:{iconColor:{default:"light-1"},socialLinks:{}},setup(m){const s=m,c=e.computed(()=>{var f,r,p,g;const t=[];return(f=s.socialLinks)!=null&&f.linkedin&&t.push({url:s.socialLinks.linkedin,icon:w,label:"linkedin social icon"}),(r=s.socialLinks)!=null&&r.github&&t.push({url:s.socialLinks.github,icon:u,label:"github social icon"}),(p=s.socialLinks)!=null&&p.instagram&&t.push({url:s.socialLinks.instagram,icon:y,label:"instagram social icon"}),(g=s.socialLinks)!=null&&g.twitter&&t.push({url:s.socialLinks.twitter,icon:C,label:"x/twitter social icon"}),t}),d=t=>[l("TEXTCOLOR",t),l("RINGCOLOR",t)].join(" ");return(t,f)=>(e.openBlock(),e.createElementBlock("ul",x,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(r,p)=>(e.openBlock(),e.createElementBlock("li",{key:p,class:"mr-xs last:mr-0"},[e.createElementVNode("a",{href:r.url,target:"_blank",class:e.normalizeClass(["inline-block outline-none focus:ring-2 hover:ring-2 hover:opacity-70 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear",d(t.iconColor)]),"aria-label":r.label,role:"button"},[e.createElementVNode("div",{innerHTML:r.icon},null,8,b)],10,L)]))),128))]))}}),B={class:"container px-xs md:px-lg lg:px-xl"},E={class:"h-lg md:h-xl align-middle mb-xs"},T=["href","target"],V=["src","alt"],z={key:0,class:"mb-xs flex items-center justify-end md:justify-center"},M={class:"flex flex-wrap md:justify-between items-center md:items-start gap-6 md:gap-8"},I={class:"grid gap-2 justify-items-center basis-full md:basis-1/3"},A=["innerHTML"],H={key:0,class:"text-xs text-white align-middle mb-2"},N={class:"px-xs md:px-0"},F={class:"text-sm flex flex-col md:flex-row items-center sm:items-start sm:flex-row text-center sm:text-left gap-xs justify-between md:justify-around grow md:basis-1/2"},O={class:"flex flex-wrap md:flex-col justify-center items-center gap-2xs"},S=["href","target","onClick","innerHTML"],j={key:0,class:"flex flex-wrap md:flex-col justify-center items-center gap-2xs"},R=["href","target","onClick","innerHTML"],D=((m,s)=>{const c=m.__vccOpts||m;for(const[d,t]of s)c[d]=t;return c})(e.defineComponent({__name:"MclFooterA",props:{title:{},titleSize:{default:"md"},titleColor:{default:"light-1"},copyText:{},logo:{},logoAlt:{},logoAsLink:{type:Boolean,default:!1},logoLink:{},logoLinkTarget:{default:"_self"},displaySocialIcons:{type:Boolean,default:!0},socialIconColor:{default:"light-1"},socialLinks:{},menuItems:{},secondaryMenuItems:{},menuItemAsLink:{type:Boolean,default:!1},menuTextSize:{default:"md"},menuTextColor:{default:"light-1"},menuTextBold:{type:Boolean,default:!1},displayHighlight:{type:Boolean,default:!0},highlightColor:{default:"primary"},bgColor:{default:"dark-3"},borderTopColor:{default:"primary"},headlineColor:{default:"light-1"}},emits:["logo-click","menu-click"],setup(m,{emit:s}){const c=m;e.useSlots();const d=s,t=e.computed(()=>{const{bgColor:o,borderTopColor:i}=c;return[l("BGCOLOR",o),l("BORDER",i)].join(" ")}),f=e.computed(()=>{const{titleSize:o,titleColor:i}=c;return[l("H2",o),l("TEXTCOLOR",i)].join(" ")}),r=e.computed(()=>{const{menuTextSize:o,menuTextColor:i,menuTextBold:n}=c;return[l("BODYTEXT",o),l("TEXTCOLOR",i)].join(" ")}),p=o=>{const{logoAsLink:i,logoLink:n,logoLinkTarget:h}=c;!i&&o.preventDefault(),d("logo-click",o,n,h)},g=(o,i)=>{const{menuItemAsLink:n}=c;!n&&o.preventDefault(),d("menu-click",o,i)};return(o,i)=>(e.openBlock(),e.createElementBlock("footer",{class:e.normalizeClass(["border-t-2 py-6 sm:py-8 md:py-12",t.value])},[e.createElementVNode("div",B,[e.createElementVNode("div",{class:e.normalizeClass(["flex flex-col md:flex-row flex-wrap justify-between mb-xs md:mb-md px-xs md:px-md border-b-2",e.unref(l)("BORDER",o.headlineColor)])},[e.createElementVNode("div",E,[e.createElementVNode("a",{href:o.logoLink,target:o.logoLinkTarget,class:e.normalizeClass(["h-full inline-block outline-none focus:ring-2 ring-offset-2 ring-offset-transparent rounded-md transition-all duration-300 ease-linear",e.unref(l)("RINGCOLOR",o.titleColor)]),onClick:i[0]||(i[0]=n=>p(n))},[e.createElementVNode("img",{class:"inline-block h-full",src:o.logo,alt:o.logoAlt},null,8,V)],10,T)]),o.displaySocialIcons?(e.openBlock(),e.createElementBlock("div",z,[e.createVNode(_,{"social-links":o.socialLinks,"icon-color":o.socialIconColor},null,8,["social-links","icon-color"])])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",M,[e.createElementVNode("div",I,[e.createElementVNode("h2",{class:e.normalizeClass(["inline-block align-middle tracking-wider",f.value]),innerHTML:o.title},null,10,A),o.copyText?(e.openBlock(),e.createElementBlock("small",H," © "+e.toDisplayString(o.copyText+" "+new Date().getFullYear()),1)):e.createCommentVNode("",!0),e.createElementVNode("div",N,[e.renderSlot(o.$slots,"default",{},void 0,!0)])]),e.createElementVNode("nav",F,[e.createElementVNode("ul",O,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.menuItems,(n,h)=>(e.openBlock(),e.createElementBlock("li",{key:`first-nav-${h}`,class:"inline-block"},[e.createElementVNode("a",{href:n.url,target:n.target?n.target:"_self",class:e.normalizeClass(["tracking-wide outline-none nav__text",r.value]),onClick:k=>g(k,n),innerHTML:n.title},null,10,S),o.displayHighlight?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["relative top-3xs h-3xs nav__decorator",e.unref(l)("BEFOREBG",o.highlightColor)])},null,2)):e.createCommentVNode("",!0)]))),128))]),o.secondaryMenuItems?(e.openBlock(),e.createElementBlock("ul",j,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.secondaryMenuItems,(n,h)=>(e.openBlock(),e.createElementBlock("li",{key:`second-nav-${h}`,class:"inline-block"},[e.createElementVNode("a",{href:n.url,target:n.target?n.target:"_self",class:e.normalizeClass(["tracking-wide outline-none nav__text",r.value]),onClick:k=>g(k,n),innerHTML:n.title},null,10,R),o.displayHighlight?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["relative top-3xs h-3xs nav__decorator",e.unref(l)("BEFOREBG",o.highlightColor)])},null,2)):e.createCommentVNode("",!0)]))),128))])):e.createCommentVNode("",!0)])])])],2))}}),[["__scopeId","data-v-5578cce0"]]);a.MclFooterA=D,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobbykim/mcl-footer",
3
- "version": "0.6.3",
3
+ "version": "0.7.0",
4
4
  "description": "a footer components built based on Manguito theme",
5
5
  "type": "module",
6
6
  "files": [
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "license": "MIT",
35
35
  "dependencies": {
36
- "@bobbykim/manguito-theme": "0.22.0",
36
+ "@bobbykim/manguito-theme": "0.22.1",
37
37
  "vue": "^3.3.10"
38
38
  },
39
39
  "devDependencies": {
@@ -45,5 +45,5 @@
45
45
  "vite-plugin-dts": "^3.8.3",
46
46
  "vue-tsc": "^1.8.25"
47
47
  },
48
- "gitHead": "611995a0ec341a9fb5289ab695114ea7b1ac949e"
48
+ "gitHead": "f4cfa987ef03b3b80bfc4cd22cb033a404a249b3"
49
49
  }