44 lines
2.5 KiB
HTML
44 lines
2.5 KiB
HTML
<!doctype html>
|
|
<html lang="fa" dir="rtl">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<!-- پیشبارگذاری فونتهای اصلی — بدون این، swap فونت با تأخیر میآید (LCP) -->
|
|
<link rel="preload" href="/fonts/pinar/Pinar-Light.woff2" as="font" type="font/woff2" crossorigin />
|
|
<link rel="preload" href="/fonts/pinar/Pinar-Regular.woff2" as="font" type="font/woff2" crossorigin />
|
|
<link rel="preload" href="/fonts/pinar/Pinar-Bold.woff2" as="font" type="font/woff2" crossorigin />
|
|
<title>گروه ساختمانی آرامش</title>
|
|
<meta name="description" content="گروه ساختمانی آرامش — طراحی، اجرا و مدیریت پروژههای ساختمانی؛ خدمات مهندسی، پیمانکاری و سرمایهگذاری ساختوساز." />
|
|
<meta property="og:site_name" content="گروه ساختمانی آرامش" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:locale" content="fa_IR" />
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<script type="application/ld+json">
|
|
{"@context":"https://schema.org","@type":"Organization","name":"گروه ساختمانی آرامش","inLanguage":"fa"}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script>
|
|
// زبان و جهت سند پیش از اولین رندر، از خود مسیر — /en/... انگلیسی و LTR است
|
|
// تا جهت صفحه از نخستین فریم درست باشد (نسخه انگلیسی سمت سرور هم همین را تزریق میکند)
|
|
if (location.pathname === '/en' || location.pathname.startsWith('/en/')) {
|
|
document.documentElement.setAttribute('lang', 'en');
|
|
document.documentElement.setAttribute('dir', 'ltr');
|
|
}
|
|
</script>
|
|
<script type="module">
|
|
// تحلیل رفتار (Umami) — در زمان بیلد تزریق میشود؛ VITE_UMAMI_SRC خالی یعنی خاموش
|
|
if (import.meta.env.VITE_UMAMI_SRC) {
|
|
const s = document.createElement('script');
|
|
s.defer = true;
|
|
s.src = import.meta.env.VITE_UMAMI_SRC;
|
|
s.setAttribute('data-website-id', import.meta.env.VITE_UMAMI_WEBSITE_ID ?? '');
|
|
document.head.appendChild(s);
|
|
}
|
|
</script>
|
|
<script type="module" src="/src/index.tsx"></script>
|
|
</body>
|
|
</html>
|