feat: add seo tdk

main
guofei 2024-10-25 14:20:01 +08:00
parent 83cac58f29
commit d73e09f58d
4 changed files with 41 additions and 9 deletions

View File

@ -0,0 +1,2 @@
User-agent: *
Allow: /

30
public/sitemap.xml 100644
View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
>
<url>
<loc>https://www.soyootech.com/en</loc>
<priority>0.3</priority>
<lastmod>2024-10-25</lastmod>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://www.soyootech.com/price</loc>
<priority>0.3</priority>
<lastmod>2024-10-25</lastmod>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>https://www.soyootech.com/</loc>
<priority>0.3</priority>
<lastmod>2024-10-25</lastmod>
<changefreq>weekly</changefreq>
</url>
</urlset>

View File

@ -5,6 +5,8 @@ import Footer from "@/app/components/footer";
import Examples from "../components/Examples"; import Examples from "../components/Examples";
export default async function Home(props: { params: { lang: string[] } }) { export default async function Home(props: { params: { lang: string[] } }) {
const lang = props.params.lang || ["zh"]; const lang = props.params.lang || ["zh"];

View File

@ -2,20 +2,18 @@ import type { Metadata } from "next";
import "./globals.css"; import "./globals.css";
import { ReactElement, ReactNode } from "react"; import { ReactElement, ReactNode } from "react";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "北京索游科技", title: "试玩广告先锋 | 北京索游科技",
description: "Generated by create next app", keywords: "试玩广告、互动广告、游戏推广、游戏曝光、玩家参与、unity、facebook、google、tapjoy、vungle、ironsource",
description: "我们致力于试玩广告领域,以创新理念和专业服务为游戏行业注入新活力,提供独特的试玩广告方案,有效提升游戏曝光度,吸引众多玩家参与。",
creator: "Playable Ads 定制服务团队",
}; };
function RootLayout({ children }:{ children: ReactNode } ): ReactElement { function RootLayout({ children }: { children: ReactNode }): ReactElement {
return ( return (
<html lang="en"> <html lang="en">
<body <body>{children}</body>
>
{children}
</body>
</html> </html>
); );
} }
export default RootLayout export default RootLayout;