@ichaingo/footer 1.5.6-beta → 1.5.7-beta
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.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -8
- package/package.json +5 -5
- package/src/index.tsx +3 -4
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,wBAA8B,MAAM,+BAqDnC"}
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import c from "@ichaingo/image";
|
|
3
3
|
import a from "@ichaingo/link";
|
|
4
|
-
import {
|
|
4
|
+
import { getLanguage as o } from "@ichaingo/tolgee/language";
|
|
5
5
|
import t from "@ichaingo/translation";
|
|
6
|
-
import { Mail as
|
|
7
|
-
function
|
|
8
|
-
const
|
|
6
|
+
import { Mail as i } from "lucide-react";
|
|
7
|
+
async function h() {
|
|
8
|
+
const r = await 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
|
-
/* @__PURE__ */ e(
|
|
11
|
+
/* @__PURE__ */ e(c, { src: `${process.env.NEXT_PUBLIC_CDN_URL}/uploads/2025/11/26/6926f275c68ed.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" })
|
|
@@ -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(
|
|
25
|
+
/* @__PURE__ */ e(i, { className: "w-4 h-4 mr-1" }),
|
|
26
26
|
"contact@ichatgo.com"
|
|
27
27
|
] }) })
|
|
28
28
|
] }),
|
|
@@ -38,5 +38,5 @@ function x() {
|
|
|
38
38
|
] }) });
|
|
39
39
|
}
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
h as default
|
|
42
42
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ichaingo/footer",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.7-beta",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"lucide-react": "0.539.0",
|
|
25
25
|
"react": "19.1.1",
|
|
26
|
-
"@ichaingo/image": "1.5.
|
|
27
|
-
"@ichaingo/
|
|
28
|
-
"@ichaingo/tolgee": "1.5.
|
|
29
|
-
"@ichaingo/
|
|
26
|
+
"@ichaingo/image": "1.5.7-beta",
|
|
27
|
+
"@ichaingo/link": "1.5.7-beta",
|
|
28
|
+
"@ichaingo/tolgee": "1.5.7-beta",
|
|
29
|
+
"@ichaingo/translation": "1.5.7-beta"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/src/index.tsx
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import ImageBar from '@ichaingo/image';
|
|
3
3
|
import LinkBar from '@ichaingo/link';
|
|
4
|
-
import {
|
|
4
|
+
import { getLanguage } from '@ichaingo/tolgee/language';
|
|
5
5
|
import Translation from '@ichaingo/translation';
|
|
6
6
|
import { Mail } from 'lucide-react';
|
|
7
|
-
export default function Footer() {
|
|
8
|
-
const
|
|
9
|
-
const locale = getLanguage();
|
|
7
|
+
export default async function Footer() {
|
|
8
|
+
const locale = await getLanguage();
|
|
10
9
|
return (
|
|
11
10
|
<footer className='md:bg-module text-xs w-full p-3 mt-3'>
|
|
12
11
|
<div className="max-w-300 flex flex-col md:flex-row justify-center mx-auto w-full py-3">
|