|
@@ -1,4 +1,3 @@
|
|
|
-"use server";
|
|
|
import { getServicesApi, getSocialsApi } from "@/api/customservice";
|
|
|
import { Link } from "@/i18n/routing";
|
|
|
import { getTranslations } from "next-intl/server";
|
|
@@ -22,7 +21,7 @@ const ActionWidget = async () => {
|
|
|
const socials = await getSocialsApi();
|
|
|
const t = await getTranslations("HomePage");
|
|
|
return (
|
|
|
- <div>
|
|
|
+ <>
|
|
|
{/*about*/}
|
|
|
<div
|
|
|
className={
|
|
@@ -40,17 +39,15 @@ const ActionWidget = async () => {
|
|
|
|
|
|
{/*terms*/}
|
|
|
<div className={"pb-[0.1rem] text-center text-[0.13rem]"}>
|
|
|
- {terms.map((item, index) => {
|
|
|
- return (
|
|
|
- <Link
|
|
|
- href={item.url}
|
|
|
- key={index}
|
|
|
- className={"inline-block px-[0.1rem]" + " text-[#adadad]"}
|
|
|
- >
|
|
|
- {t(item.label)}
|
|
|
- </Link>
|
|
|
- );
|
|
|
- })}
|
|
|
+ {terms.map((item, index) => (
|
|
|
+ <Link
|
|
|
+ href={item.url}
|
|
|
+ key={index}
|
|
|
+ className={"inline-block px-[0.1rem]" + " text-[#adadad]"}
|
|
|
+ >
|
|
|
+ {t(item.label)}
|
|
|
+ </Link>
|
|
|
+ ))}
|
|
|
</div>
|
|
|
{/*LICENCIA*/}
|
|
|
<div className={"mx-[0.31rem] text-[0.09rem] text-[#adadad]"}>
|
|
@@ -73,7 +70,7 @@ const ActionWidget = async () => {
|
|
|
</div>
|
|
|
{/*support*/}
|
|
|
<Scroll />
|
|
|
- </div>
|
|
|
+ </>
|
|
|
);
|
|
|
};
|
|
|
|