@ichaingo/footer 1.4.15 → 1.4.16

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/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
- import r from "@ichaingo/image";
2
+ import c from "@ichaingo/image";
3
3
  import a from "@ichaingo/link";
4
- import { useLocale as o } from "next-intl";
4
+ import { useLocale as i } from "next-intl";
5
5
  import t from "@ichaingo/translation";
6
- import { Mail as i } from "lucide-react";
6
+ import { Mail as o } from "lucide-react";
7
7
  function h() {
8
- const c = o();
8
+ const r = i();
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
- /* @__PURE__ */ e(r, { src: "https://cdn.ichaingo.com/uploads/logo-gray-20250826.png", width: 116, height: 32, objectFit: "contain" }),
11
+ /* @__PURE__ */ e(c, { src: "https://cdn.ichatgo.ai/uploads/logo-gray-20250826.png", width: 116, height: 32, objectFit: "contain" }),
12
12
  /* @__PURE__ */ l("div", { className: "text-subtitle", children: [
13
13
  "©2025 iChatGo ",
14
14
  /* @__PURE__ */ e(t, { value: "allRightsReserved", parentKey: "footer" })
@@ -21,16 +21,16 @@ function h() {
21
21
  ] }),
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
- /* @__PURE__ */ e("div", { className: "text-subtitle flex flex-col gap-3", children: /* @__PURE__ */ l(a, { href: "mailto:contact@ichaingo.com", className: "flex items-center", children: [
25
- /* @__PURE__ */ e(i, { className: "w-4 h-4 mr-1" }),
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" }),
26
26
  "contact@ichatgo.com"
27
27
  ] }) })
28
28
  ] }),
29
29
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-3 py-3 md:py-0", children: [
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
- /* @__PURE__ */ e(a, { href: `${process.env.NEXT_PUBLIC_PROTOCOL_URL}/${c}/privacy-policy.html`, children: /* @__PURE__ */ e(t, { value: "privacyPolicy", parentKey: "footer" }) }),
33
- /* @__PURE__ */ e(a, { href: `${process.env.NEXT_PUBLIC_PROTOCOL_URL}/${c}/terms-of-service.html`, children: /* @__PURE__ */ e(t, { value: "termsOfService", parentKey: "footer" }) })
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" }) })
34
34
  ] })
35
35
  ] })
36
36
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichaingo/footer",
3
- "version": "1.4.15",
3
+ "version": "1.4.16",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -21,9 +21,9 @@
21
21
  "lucide-react": "^0.541.0",
22
22
  "react": "^19.1.0",
23
23
  "next-intl": "^4.3.4",
24
- "@ichaingo/image": "1.4.15",
25
- "@ichaingo/translation": "1.4.15",
26
- "@ichaingo/link": "1.4.15"
24
+ "@ichaingo/image": "1.4.16",
25
+ "@ichaingo/translation": "1.4.16",
26
+ "@ichaingo/link": "1.4.16"
27
27
  },
28
28
  "devDependencies": {
29
29
  "rollup-plugin-preserve-use-client": "^3.0.1"
package/src/index.tsx CHANGED
@@ -10,7 +10,7 @@ export default function Footer() {
10
10
  <footer className='md:bg-module text-xs w-full p-3 mt-3'>
11
11
  <div className="max-w-300 flex flex-col md:flex-row justify-center mx-auto w-full py-3">
12
12
  <div className="w-full md:w-1/2 flex flex-col py-3 md:py-0 gap-3 md:gap-0 justify-between">
13
- <ImageBar src='https://cdn.ichaingo.com/uploads/logo-gray-20250826.png' width={116} height={32} objectFit='contain'></ImageBar>
13
+ <ImageBar src='https://cdn.ichatgo.ai/uploads/logo-gray-20250826.png' width={116} height={32} objectFit='contain'></ImageBar>
14
14
  <div className='text-subtitle'>&copy;2025 iChatGo <Translation value="allRightsReserved" parentKey='footer' /></div>
15
15
  </div>
16
16
  <div className="flex flex-col md:flex-row justify-between shrink-0 w-full md:w-1/2">
@@ -23,7 +23,7 @@ export default function Footer() {
23
23
  <div className="flex flex-col gap-3 py-3 md:py-0">
24
24
  <div className="text-title"><Translation value="contactUs" parentKey='footer' /></div>
25
25
  <div className="text-subtitle flex flex-col gap-3">
26
- <LinkBar href="mailto:contact@ichaingo.com" className="flex items-center">
26
+ <LinkBar href="mailto:contact@ichatgo.ai" className="flex items-center">
27
27
  <Mail className="w-4 h-4 mr-1" />
28
28
  contact@ichatgo.com
29
29
  </LinkBar>
@@ -44,11 +44,11 @@ export default function Footer() {
44
44
  {/* <div className='flex items-center justify-center flex-col sm:flex-row'>
45
45
  <span className='mx-1 text-center'>&copy;2025 ichaingo { t('allRightsReserved')}</span>
46
46
 
47
- <a className='flex items-center bg-g hover:underline text-center' href='mailto:contact@ichaingo.com'>
47
+ <a className='flex items-center bg-g hover:underline text-center' href='mailto:contact@ichatgo.ai'>
48
48
  <i className="inline-block mr-1 ">
49
49
  <ImageBar src={EmailIcon} width={14} height={11}></ImageBar>
50
50
  </i>
51
- contact@ichaingo.com
51
+ contact@ichatgo.ai
52
52
  </a>
53
53
  </div> */}
54
54
  </div>