feat : add react-helmet on pages

This commit is contained in:
alij
2024-06-24 01:18:39 +04:30
parent 3c1df40448
commit d0e3f6be00
8 changed files with 157 additions and 49 deletions

View File

@@ -1,12 +1,27 @@
import { Helmet } from "react-helmet-async";
import Info from "./section/Info";
const About = () => {
return (
<div className="relative w-full h-full py-2">
<div className="relative w-full h-full glass px-4 py-2">
<Info />
<>
<Helmet>
<title>درباره ما</title>
<meta
name="description"
content="بهترین خدمات پینگ برای بازی‌های آنلاین با پرشین پینگ"
/>
<meta
name="keywords"
content="پرشین پینگ, خدمات پینگ, بازی آنلاین, کاهش پینگ , درباره ما"
/>
</Helmet>
<div className="relative w-full h-full py-2">
<div className="relative w-full h-full glass px-4 py-2">
<Info />
</div>
</div>
</div>
</>
);
};

View File

@@ -1,12 +1,26 @@
import { Helmet } from "react-helmet-async";
import Rules from "./section/Rules";
const Rule = () => {
return (
<div className="relative w-full h-full py-2">
<div className="relative w-full h-full glass px-4 py-2">
<Rules />
</div>
</div>
<>
<Helmet>
<title>قوانین</title>
<meta
name="description"
content="بهترین خدمات پینگ برای بازی‌های آنلاین با پرشین پینگ"
/>
<meta
name="keywords"
content="پرشین پینگ, خدمات پینگ, بازی آنلاین, کاهش پینگ , قوانین"
/>
</Helmet>
<div className="relative w-full h-full py-2">
<div className="relative w-full h-full glass px-4 py-2">
<Rules />
</div>
</div>{" "}
</>
);
};

View File

@@ -1,3 +1,4 @@
import { Helmet } from "react-helmet-async";
import BestQuality from "./section/bestQuality/BestQuality";
import FastSell from "./section/fastSell/FastSell";
import Intro from "./section/intro/Intro";
@@ -6,15 +7,29 @@ import ProductList from "./section/productList/ProductList";
const Shop = () => {
return (
<div className="relative w-full h-full py-2">
<div className="relative w-full h-full glass px-4 py-2">
<Intro />
<FastSell />
<NowSell />
<ProductList />
<BestQuality />
<>
<Helmet>
<title>فروشگاه</title>
<meta
name="description"
content="بهترین خدمات پینگ برای بازی‌های آنلاین با پرشین پینگ"
/>
<meta
name="keywords"
content="پرشین پینگ, خدمات پینگ, بازی آنلاین, کاهش پینگ و فروشگاه"
/>
</Helmet>
<div className="relative w-full h-full py-2">
<div className="relative w-full h-full glass px-4 py-2">
<Intro />
<FastSell />
<NowSell />
<ProductList />
<BestQuality />
</div>
</div>
</div>
</>
);
};

View File

@@ -1,12 +1,27 @@
import { Helmet } from "react-helmet-async";
import Tutorials from "./section/Tutorials";
const Tutorial = () => {
return (
<div className="relative w-full h-full py-2">
<div className="relative w-full h-full glass px-4 py-2">
<Tutorials />
<>
<Helmet>
<title>اموزش</title>
<meta
name="description"
content="بهترین خدمات پینگ برای بازی‌های آنلاین با پرشین پینگ"
/>
<meta
name="keywords"
content="پرشین پینگ, خدمات پینگ, بازی آنلاین, کاهش پینگ و آموزش"
/>
</Helmet>
<div className="relative w-full h-full py-2">
<div className="relative w-full h-full glass px-4 py-2">
<Tutorials />
</div>
</div>
</div>
</>
);
};