diff --git a/.env.local.dev b/.env.local.dev index 8b31ac6e..e323559b 100644 --- a/.env.local.dev +++ b/.env.local.dev @@ -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_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" # 테스트용 diff --git a/src/components/header/Header.jsx b/src/components/header/Header.jsx index 5fe0a9ba..558dc582 100644 --- a/src/components/header/Header.jsx +++ b/src/components/header/Header.jsx @@ -204,10 +204,10 @@ export default function Header(props) { ], }, { id: 8, name: 'qna.title', url: '/community/qna', children: [] }, - ...(process.env.NEXT_PUBLIC_RUN_MODE !== 'production' - ? [{ id: 9, name: 'header.menus.economic.simulation', action: openEconomicSimulation, children: [] }] - : []), - ] + process.env.NEXT_PUBLIC_RUN_MODE !== 'production' + ? { id: 9, name: 'header.menus.economic.simulation', action: openEconomicSimulation, children: [] } + : null, + ].filter(Boolean) const syncSession = useCallback(() => { setSessionState({ ...userSession }) @@ -258,7 +258,7 @@ export default function Header(props) { > {menu.children.length === 0 ? ( menu.action ? ( - ) : ( diff --git a/src/styles/_layout.scss b/src/styles/_layout.scss index 858ab351..e255cfbb 100644 --- a/src/styles/_layout.scss +++ b/src/styles/_layout.scss @@ -79,6 +79,9 @@ header{ background: url(/static/images/common/nav-arr.svg)no-repeat center; transition: all .17s ease-in-out; } + &.no-arrow:after{ + display: none; + } } &:last-child{ margin-right: 0;