feat: Google AdSense 메타태그 및 스크립트 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Johngreen
2026-03-27 19:14:22 +09:00
parent d25ede6d8b
commit ee42222ca3
+12
View File
@@ -1,4 +1,5 @@
import type { Metadata } from 'next'; import type { Metadata } from 'next';
import Script from 'next/script';
import Link from 'next/link'; import Link from 'next/link';
import { auth } from '@/lib/auth'; import { auth } from '@/lib/auth';
import { AuthButtons } from './auth-buttons'; import { AuthButtons } from './auth-buttons';
@@ -8,6 +9,9 @@ import './globals.css';
export const metadata: Metadata = { export const metadata: Metadata = {
title: 'Startover', title: 'Startover',
description: 'Startover - 폐업 · 양도 · 창업을 잇는 중개 플랫폼', description: 'Startover - 폐업 · 양도 · 창업을 잇는 중개 플랫폼',
other: {
'google-adsense-account': 'ca-pub-9505789508299290',
},
}; };
const OPERATOR_ROLES = [ const OPERATOR_ROLES = [
@@ -69,6 +73,14 @@ export default function RootLayout({
}>) { }>) {
return ( return (
<html lang="ko"> <html lang="ko">
<head>
<Script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9505789508299290"
crossOrigin="anonymous"
strategy="afterInteractive"
/>
</head>
<body className="min-h-screen bg-gray-50"> <body className="min-h-screen bg-gray-50">
<Navigation /> <Navigation />
{children} {children}