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 ( return (
<html lang={locale} dir={locale === "en" ? "ltr" : "rtl"}> <html lang={locale} dir={locale === "en" ? "ltr" : "rtl"}>
<head> <head>
<meta name="apple-mobile-web-app-title" content="AdHorizonIntl" /> <meta name="apple-mobile-web-app-title" content="AdHorizonIntl" />
</head> </head>
<body className={`${rubik.variable} ${roboto.variable} `} suppressHydrationWarning> <body className={`${rubik.variable} ${roboto.variable} `} suppressHydrationWarning>

View File

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

View File

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