From 99b37e3ac35fe9458f520905c7aecdc02471b0be Mon Sep 17 00:00:00 2001 From: yoosangwook Date: Thu, 12 Jun 2025 16:07:46 +0900 Subject: [PATCH] chore: update metadata for layout components MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed titles and descriptions in layout.tsx files for the main app, inquiry, suitable, and survey-sale sections to reflect the new project name "HANASYS現地調査" and its specific contexts. --- src/app/inquiry/layout.tsx | 6 ++++++ src/app/layout.tsx | 4 ++-- src/app/suitable/layout.tsx | 6 ++++++ src/app/survey-sale/layout.tsx | 6 ++++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/app/inquiry/layout.tsx b/src/app/inquiry/layout.tsx index 292ae27..2bfcebb 100644 --- a/src/app/inquiry/layout.tsx +++ b/src/app/inquiry/layout.tsx @@ -1,5 +1,11 @@ +import { Metadata } from 'next' import type { ReactNode } from 'react' +export const metadata: Metadata = { + title: 'HANASYS現地調査:お問い合わせ', + description: 'HANASYS現地調査:お問い合わせ', +} + export default function layout({ children }: { children: ReactNode }) { return
{children}
} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 508c340..a7b5426 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -13,8 +13,8 @@ import { sessionOptions } from '@/libs/session' import '@/styles/style.scss' export const metadata: Metadata = { - title: 'Create Next App', - description: 'Generated by create next app', + title: 'HANASYS現地調査', + description: 'HANASYS現地調査', } interface RootLayoutProps { diff --git a/src/app/suitable/layout.tsx b/src/app/suitable/layout.tsx index e5e7c3f..6141455 100644 --- a/src/app/suitable/layout.tsx +++ b/src/app/suitable/layout.tsx @@ -1,9 +1,15 @@ +import { Metadata } from 'next' import type { ReactNode } from 'react' interface SuitableLayoutProps { children: ReactNode } +export const metadata: Metadata = { + title: 'HANASYS現地調査:屋根材積合成', + description: 'HANASYS現地調査:屋根材積合成', +} + export default function layout({ children }: SuitableLayoutProps) { return ( <> diff --git a/src/app/survey-sale/layout.tsx b/src/app/survey-sale/layout.tsx index 6e7278a..90c813e 100644 --- a/src/app/survey-sale/layout.tsx +++ b/src/app/survey-sale/layout.tsx @@ -1,9 +1,15 @@ +import { Metadata } from 'next' import type { ReactNode } from 'react' interface SurveySaleLayoutProps { children: ReactNode } +export const metadata: Metadata = { + title: 'HANASYS現地調査:調査物件', + description: 'HANASYS現地調査:調査物件', +} + export default function layout({ children }: SurveySaleLayoutProps) { return ( <>