dev #922

Merged
ysCha merged 2 commits from dev into dev-deploy 2026-06-16 09:25:26 +09:00
3 changed files with 8 additions and 6 deletions

View File

@ -14,7 +14,6 @@ NEXT_PUBLIC_CONVERTER_API_URL="https://v2.convertapi.com/convert/dwg/to/png?Secr
NEXT_PUBLIC_Q_ORDER_AUTO_LOGIN_URL="http://q-order-stg.q-cells.jp:8120/eos/login/autoLogin" NEXT_PUBLIC_Q_ORDER_AUTO_LOGIN_URL="http://q-order-stg.q-cells.jp:8120/eos/login/autoLogin"
NEXT_PUBLIC_Q_MUSUBI_AUTO_LOGIN_URL="http://q-musubi-stg.q-cells.jp:8120/qm/login/autoLogin" NEXT_PUBLIC_Q_MUSUBI_AUTO_LOGIN_URL="http://q-musubi-stg.q-cells.jp:8120/qm/login/autoLogin"
NEXT_PUBLIC_ECONOMIC_SIMULATION_AUTH_URL="http://q-order-stg.q-cells.jp:8120/eos/simulation/auth"
NEXT_PUBLIC_ECONOMIC_SIMULATION_URL="http://q-order-stg.q-cells.jp:8120/eos/simulation/list" NEXT_PUBLIC_ECONOMIC_SIMULATION_URL="http://q-order-stg.q-cells.jp:8120/eos/simulation/list"
# 테스트용 # 테스트용

View File

@ -204,10 +204,10 @@ export default function Header(props) {
], ],
}, },
{ id: 8, name: 'qna.title', url: '/community/qna', children: [] }, { id: 8, name: 'qna.title', url: '/community/qna', children: [] },
...(process.env.NEXT_PUBLIC_RUN_MODE !== 'production' process.env.NEXT_PUBLIC_RUN_MODE !== 'production'
? [{ id: 9, name: 'header.menus.economic.simulation', action: openEconomicSimulation, children: [] }] ? { id: 9, name: 'header.menus.economic.simulation', action: openEconomicSimulation, children: [] }
: []), : null,
] ].filter(Boolean)
const syncSession = useCallback(() => { const syncSession = useCallback(() => {
setSessionState({ ...userSession }) setSessionState({ ...userSession })
@ -258,7 +258,7 @@ export default function Header(props) {
> >
{menu.children.length === 0 ? ( {menu.children.length === 0 ? (
menu.action ? ( menu.action ? (
<button key={`${menu.id}`} onClick={() => menu.action()}> <button key={`${menu.id}`} className="no-arrow" onClick={() => menu.action()}>
{getMessage(menu.name)} {getMessage(menu.name)}
</button> </button>
) : ( ) : (

View File

@ -79,6 +79,9 @@ header{
background: url(/static/images/common/nav-arr.svg)no-repeat center; background: url(/static/images/common/nav-arr.svg)no-repeat center;
transition: all .17s ease-in-out; transition: all .17s ease-in-out;
} }
&.no-arrow:after{
display: none;
}
} }
&:last-child{ &:last-child{
margin-right: 0; margin-right: 0;