chore: update environment files to use localhost for API URLs and add nodemailer types to package-lock

This commit is contained in:
yoosangwook 2025-05-29 10:23:35 +09:00
parent 4d16276221
commit f1617045a5
8 changed files with 748 additions and 1426 deletions

View File

@ -2,7 +2,7 @@ NEXT_PUBLIC_RUN_MODE=development
# 모바일 디바이스로 로컬 서버 확인하려면 자신 IP 주소로 변경 # 모바일 디바이스로 로컬 서버 확인하려면 자신 IP 주소로 변경
# 다시 로컬에서 개발할때는 localhost로 변경 # 다시 로컬에서 개발할때는 localhost로 변경
#route handler #route handler
NEXT_PUBLIC_API_URL=http://172.30.1.23:3000 NEXT_PUBLIC_API_URL=http://localhost:3000
#qsp 로그인 api #qsp 로그인 api
NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120 NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120

View File

@ -2,7 +2,7 @@ NEXT_PUBLIC_RUN_MODE=local
# 모바일 디바이스로 로컬 서버 확인하려면 자신 IP 주소로 변경 # 모바일 디바이스로 로컬 서버 확인하려면 자신 IP 주소로 변경
# 다시 로컬에서 개발할때는 localhost로 변경 # 다시 로컬에서 개발할때는 localhost로 변경
#route handler #route handler
NEXT_PUBLIC_API_URL=http://172.30.1.23:3000 NEXT_PUBLIC_API_URL=http://localhost:3000
#qsp 로그인 api #qsp 로그인 api
NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120 NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120

View File

@ -1,6 +1,6 @@
NEXT_PUBLIC_RUN_MODE=production NEXT_PUBLIC_RUN_MODE=production
#route handler #route handler
NEXT_PUBLIC_API_URL=http://1.248.227.176:3000 NEXT_PUBLIC_API_URL=http://localhost:3000
#qsp 로그인 api #qsp 로그인 api
# NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120 # NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120

10
package-lock.json generated
View File

@ -11,6 +11,7 @@
"@prisma/client": "^6.7.0", "@prisma/client": "^6.7.0",
"@tanstack/react-query": "^5.71.0", "@tanstack/react-query": "^5.71.0",
"@tanstack/react-query-devtools": "^5.71.0", "@tanstack/react-query-devtools": "^5.71.0",
"@types/nodemailer": "^6.4.17",
"axios": "^1.8.4", "axios": "^1.8.4",
"env-cmd": "^10.1.0", "env-cmd": "^10.1.0",
"iron-session": "^8.0.4", "iron-session": "^8.0.4",
@ -1964,6 +1965,15 @@
"undici-types": "~6.19.2" "undici-types": "~6.19.2"
} }
}, },
"node_modules/@types/nodemailer": {
"version": "6.4.17",
"resolved": "https://registry.npmjs.org/@types/nodemailer/-/nodemailer-6.4.17.tgz",
"integrity": "sha512-I9CCaIp6DTldEg7vyUTZi8+9Vo0hi1/T8gv3C89yk1rSAAzoKQ8H8ki/jBYJSFoH/BisgLP8tkZMlQ91CIquww==",
"license": "MIT",
"dependencies": {
"@types/node": "*"
}
},
"node_modules/@types/raf": { "node_modules/@types/raf": {
"version": "3.4.3", "version": "3.4.3",
"resolved": "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz", "resolved": "https://registry.npmjs.org/@types/raf/-/raf-3.4.3.tgz",

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
import getConfigs from '@/config/config.common' import getConfigs from '@/config/config.common'
// 환경마다 달라져야 할 변수, 값들을 정의합니다. (여기는 local 환경에 맞는 값을 지정합니다.) // 환경마다 달라져야 할 변수, 값들을 정의합니다. (여기는 local 환경에 맞는 값을 지정합니다.)
const baseUrl = 'http://172.30.1.23:3000' const baseUrl = 'http://localhost:3000'
const mode = 'local' const mode = 'local'
// 환경마다 달라져야 할 값들을 getConfig 함수에 전달합니다. // 환경마다 달라져야 할 값들을 getConfig 함수에 전달합니다.

View File

@ -1,5 +1,6 @@
@use "../abstracts" as *; @use "../abstracts" as *;
// 조사매물
.pdf-contents{ .pdf-contents{
padding: 0 20px; padding: 0 20px;
border-top: 1px solid #ececec; border-top: 1px solid #ececec;
@ -54,4 +55,84 @@
@include defaultFont($font-s-11, $font-w-400, #FF5656); @include defaultFont($font-s-11, $font-w-400, #FF5656);
border: 1px solid $black-1010; border: 1px solid $black-1010;
min-height: 150px; min-height: 150px;
}
// 지붕재 적합성
.pdf-intro-page{
height: 1080px;
padding: 80px 40px ;
background-color: #fff;
}
.pdf-intro-tit-wrap{
text-align: center;
.pdf-intro-tit{
@include defaultFont($font-s-24, $font-w-500, #101010);
}
.pdf-intro-date{
@include defaultFont($font-s-22, $font-w-400, #101010);
}
}
.pdf-intro-cont-wrap{
margin-top: 70px;
p{
@include defaultFont($font-s-18, $font-w-400, #101010);
}
}
.pdf-table-content{
padding: 20px;
}
.pdf-table-grid-wrap{
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px 20px;
}
.pdf-table-card{
.pdf-table-tit-wrap{
margin-bottom: 5px;
span{
position: relative;
@include defaultFont($font-s-13, $font-w-500, #101010);
padding: 0 10px;
&:first-child{
padding-left: 0;
}
&:last-child{
padding-right: 0;
&::before{
display: none;
}
}
&::before{
content: '';
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
width: 1px;
height: 14px;
background-color: #101010;
}
}
}
}
.pdf-roof-table{
table{
width: 100%;
table-layout: fixed;
border-collapse: collapse;
th{
padding: 0px 5px;
text-align: center;
@include defaultFont($font-s-11, $font-w-500, #fff);
background-color: #18B490;
border: 1px solid #18B490;
}
td{
padding: 0px 5px;
@include defaultFont($font-s-11, $font-w-300, #101010);
border: 1px solid #CBCBCB;
line-height: 1;
}
}
} }

View File

@ -112,4 +112,13 @@
padding: 10px; padding: 10px;
@include defaultFont($font-s-13, $font-w-400, $font-c); @include defaultFont($font-s-13, $font-w-400, $font-c);
} }
}
// 제출팝업
.submit-content{
padding: 15px 10px;
border: 1px solid #D5DEE8;
border-radius: 4px;
background-color: #f5f6fa;
cursor: default;
} }