添加seo功能
This commit is contained in:
17
src/app/(auth)/privacyPolicy/layout.tsx
Normal file
17
src/app/(auth)/privacyPolicy/layout.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import {ReactNode} from 'react'
|
||||
import {Metadata} from 'next'
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
return {
|
||||
title: '隐私政策',
|
||||
description: '蓝狐代理隐私政策 - 了解我们如何收集、使用和保护您的个人信息',
|
||||
openGraph: {
|
||||
title: '隐私政策',
|
||||
description: '蓝狐代理隐私政策 - 了解我们如何收集、使用和保护您的个人信息',
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
export default function PrivacyPolicyLayout({children}: {children: ReactNode}) {
|
||||
return children
|
||||
}
|
||||
Reference in New Issue
Block a user