main
Amir Hossein Moghiseh 2025-02-25 17:58:18 +03:30
parent f9ed5b73d2
commit 5c3d19289a
3 changed files with 7 additions and 8 deletions

View File

@ -88,7 +88,6 @@ export default async function LocaleLayout({
return (
<html lang={locale} dir={locale === "en" ? "ltr" : "rtl"}>
<head>
<meta name="apple-mobile-web-app-title" content="AdHorizonIntl" />
</head>
<body className={`${rubik.variable} ${roboto.variable} `} suppressHydrationWarning>

View File

@ -1,6 +1,6 @@
{
"name": "MyWebSite",
"short_name": "MySite",
"name": "Advanced Horizon LLC",
"short_name": "AdHorizonInel",
"icons": [
{
"src": "/favicons/web-app-manifest-192x192.png",

View File

@ -1,17 +1,17 @@
import { getMessages } from "next-intl/server"
export default async function ProductDescription({ description }) {
const t = await getMessages()
const t = await getMessages()
return (
<div>
{
description &&
<>
<h2 className="text-2xl font-bold mb-4">{t.PDP.productDescription}</h2>
<div className="prose max-w-none">
<p className="content" dangerouslySetInnerHTML={{ __html: description }}></p>
</div>
</>
<div className="prose max-w-none content" dangerouslySetInnerHTML={{ __html: description }}/>
</>
}
</div>
)