Compare commits

...

2 Commits

Author SHA1 Message Date
44d7a52790 chore: add production start script
- Introduced a new script in prod.startscript.js to execute the production server using pnpm for streamlined deployment.
2025-06-12 16:07:52 +09:00
99b37e3ac3 chore: update metadata for layout components
- 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.
2025-06-12 16:07:46 +09:00
5 changed files with 22 additions and 2 deletions

2
prod.startscript.js Normal file
View File

@ -0,0 +1,2 @@
var exec = require('child_process').exec
exec('pnpm run start:prod', { windowsHide: true })

View File

@ -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 <div className="container">{children}</div>
}

View File

@ -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 {

View File

@ -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 (
<>

View File

@ -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 (
<>