Merge branch 'dev' of https://git.hanasys.jp/qcast3/onsitesurvey into feature/inquiry
This commit is contained in:
commit
478ae3a784
@ -1,9 +0,0 @@
|
||||
import DownloadPdf from '@/components/DownloadPDF'
|
||||
|
||||
export default function page() {
|
||||
return (
|
||||
<>
|
||||
<DownloadPdf />
|
||||
</>
|
||||
)
|
||||
}
|
||||
9
src/app/pdf/suitable/page.tsx
Normal file
9
src/app/pdf/suitable/page.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
import SuitableDownloadPdf from '@/components/pdf/SuitableDownloadPdf'
|
||||
|
||||
export default function page() {
|
||||
return (
|
||||
<>
|
||||
<SuitableDownloadPdf />
|
||||
</>
|
||||
)
|
||||
}
|
||||
9
src/app/pdf/survey-sale/page.tsx
Normal file
9
src/app/pdf/survey-sale/page.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
import SurveySaleDownloadPdf from '@/components/pdf/SurveySaleDownloadPdf'
|
||||
|
||||
export default function page() {
|
||||
return (
|
||||
<>
|
||||
<SurveySaleDownloadPdf />
|
||||
</>
|
||||
)
|
||||
}
|
||||
1465
src/components/pdf/SuitableDownloadPdf.tsx
Normal file
1465
src/components/pdf/SuitableDownloadPdf.tsx
Normal file
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
import { useRef } from 'react'
|
||||
import generatePDF, { Margin, Resolution } from 'react-to-pdf'
|
||||
|
||||
export default function DownloadPdf() {
|
||||
export default function SurveySaleDownloadPdf() {
|
||||
const targetRef = useRef<HTMLDivElement>(null)
|
||||
const handleDownPdf = () => {
|
||||
const options = {
|
||||
@ -10,7 +10,7 @@ export default function Footer() {
|
||||
<div className="footer-inner">
|
||||
COPYRIGHT©2025 Hanwha Japan All Rights Reserved{' '}
|
||||
<span>
|
||||
<Link href="/pdf">PDF</Link>
|
||||
<Link href="/pdf/suitable">PDF</Link>
|
||||
</span>
|
||||
<span>{Config().mode}</span>
|
||||
<span>{Config().baseUrl}</span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user