import type { Metadata } from 'next'; import { Inter } from 'next/font/google'; import './globals.css'; import Script from 'next/script'; import { globalScripts } from '../public/js/ContactUS.js'; const inter = Inter({ subsets: ['latin'] }); export const metadata: Metadata = { title: 'AwsLinker - 专业AWS云服务提供商', description: 'AwsLinker是专业的AWS云服务提供商,提供云服务器、云存储、云安全等全方位云计算解决方案。', icons: { icon: [ { url: '/favicon.svg', type: 'image/svg+xml' }, { url: '/favicon.ico', type: 'image/x-icon', sizes: '128x128' } ], apple: [ { url: '/favicon.svg', type: 'image/svg+xml' } ], }, }; export default function RootLayout({ children, }: { children: React.ReactNode; }) { return (
{/* Google Tag Manager */} {/* End Google Tag Manager */} {/* Google Tag Manager (noscript) */} {/* End Google Tag Manager (noscript) */} {children} {/* 全局客服脚本 */} {globalScripts.map((script, index) => ( ))} ); }