@ichaingo/footer 1.5.4 → 1.5.6

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 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,CAAC,OAAO,UAAU,MAAM,sBAkD7B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,CAAC,OAAO,UAAU,MAAM,sBAqD7B"}
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
2
  import c from "@ichaingo/image";
3
3
  import a from "@ichaingo/link";
4
- import { useLocale as i } from "next-intl";
4
+ import { useLocale as o } from "next-intl";
5
5
  import t from "@ichaingo/translation";
6
- import { Mail as o } from "lucide-react";
7
- function x() {
8
- const r = i();
6
+ import { Mail as i } from "lucide-react";
7
+ function h() {
8
+ const r = o();
9
9
  return /* @__PURE__ */ e("footer", { className: "md:bg-module text-xs w-full p-3 mt-3", children: /* @__PURE__ */ l("div", { className: "max-w-300 flex flex-col md:flex-row justify-center mx-auto w-full py-3", children: [
10
10
  /* @__PURE__ */ l("div", { className: "w-full md:w-1/2 flex flex-col py-3 md:py-0 gap-3 md:gap-0 justify-between", children: [
11
11
  /* @__PURE__ */ e(c, { src: `${process.env.NEXT_PUBLIC_CDN_URL}/uploads/2025/11/26/6926f275c68ed.png`, width: 116, height: 32, objectFit: "contain" }),
@@ -22,7 +22,7 @@ function x() {
22
22
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-3 py-3 md:py-0", children: [
23
23
  /* @__PURE__ */ e("div", { className: "text-title", children: /* @__PURE__ */ e(t, { value: "contactUs", parentKey: "footer" }) }),
24
24
  /* @__PURE__ */ e("div", { className: "text-subtitle flex flex-col gap-3", children: /* @__PURE__ */ l(a, { href: "mailto:contact@ichatgo.ai", className: "flex items-center", children: [
25
- /* @__PURE__ */ e(o, { className: "w-4 h-4 mr-1" }),
25
+ /* @__PURE__ */ e(i, { className: "w-4 h-4 mr-1" }),
26
26
  "contact@ichatgo.com"
27
27
  ] }) })
28
28
  ] }),
@@ -30,12 +30,13 @@ function x() {
30
30
  /* @__PURE__ */ e("div", { className: "text-title", children: /* @__PURE__ */ e(t, { value: "company", parentKey: "footer" }) }),
31
31
  /* @__PURE__ */ l("div", { className: "text-subtitle flex flex-col gap-3", children: [
32
32
  /* @__PURE__ */ e(a, { href: `${process.env.NEXT_PUBLIC_PROTOCOL_URL}/${r}/privacy-policy.html`, children: /* @__PURE__ */ e(t, { value: "privacyPolicy", parentKey: "footer" }) }),
33
- /* @__PURE__ */ e(a, { href: `${process.env.NEXT_PUBLIC_PROTOCOL_URL}/${r}/terms-of-service.html`, children: /* @__PURE__ */ e(t, { value: "termsOfService", parentKey: "footer" }) })
33
+ /* @__PURE__ */ e(a, { href: `${process.env.NEXT_PUBLIC_PROTOCOL_URL}/${r}/terms-of-service.html`, children: /* @__PURE__ */ e(t, { value: "termsOfService", parentKey: "footer" }) }),
34
+ /* @__PURE__ */ e(a, { href: `${process.env.NEXT_PUBLIC_OFFICIAL_URL}/${r}`, children: /* @__PURE__ */ e(t, { value: "aboutUs", parentKey: "footer" }) })
34
35
  ] })
35
36
  ] })
36
37
  ] })
37
38
  ] }) });
38
39
  }
39
40
  export {
40
- x as default
41
+ h as default
41
42
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichaingo/footer",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "lucide-react": "0.539.0",
25
25
  "react": "19.1.1",
26
26
  "next-intl": "4.6.1",
27
- "@ichaingo/image": "1.5.4",
28
- "@ichaingo/translation": "1.5.4",
29
- "@ichaingo/link": "1.5.4"
27
+ "@ichaingo/link": "1.5.6",
28
+ "@ichaingo/image": "1.5.6",
29
+ "@ichaingo/translation": "1.5.6"
30
30
  }
31
31
  }
package/src/index.tsx CHANGED
@@ -38,6 +38,9 @@ export default function Footer() {
38
38
  <LinkBar href={`${process.env.NEXT_PUBLIC_PROTOCOL_URL}/${locale}/terms-of-service.html`} >
39
39
  <Translation value="termsOfService" parentKey='footer' />
40
40
  </LinkBar>
41
+ <LinkBar href={`${process.env.NEXT_PUBLIC_OFFICIAL_URL}/${locale}`} >
42
+ <Translation value="aboutUs" parentKey='footer' />
43
+ </LinkBar>
41
44
  </div>
42
45
  </div>
43
46
  </div>