Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hot-fix: 1.푸터 수정
Browse files Browse the repository at this point in the history
2.혜택받고 등록하기 서비스 소개에서만 보이게 임시 처리
gbwlxhd97 committed May 23, 2024
1 parent 9fd1a16 commit cfc7b7f
Showing 4 changed files with 40 additions and 13 deletions.
40 changes: 27 additions & 13 deletions src/components/Layout/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -5,30 +5,44 @@ const Footer = () => {
return (
<footer className={styles.FooterWrapper}>
<div className={styles.FooterTitle}>Mongle</div>
<div className={styles.FooterMarketingContent}>
{/* <div className={styles.FooterMarketingContent}>
<button>업체 입점 문의</button>
<button>마케팅/광고 제휴</button>
</div>
<div className={styles.FooterCorpContent}>
</div> */}
{/* <div className={styles.FooterCorpContent}>
<div className={styles.FooterCorpInfo}>
<span className={styles.CEO}>대표이사</span>
<span>사업자등록번호</span>
</div>
<div>
<span>주소</span>
</div>
<div>
<span>[email protected]</span>
</div>
<div>
<div>몽글몽글은 통신판매중개자로서 통신판매의 당사자가 아니며</div>
<div>상품 거래정보 및 거래 등에 대해 책임을 지지 않습니다.</div>
</div>
</div> */}
<div style={{marginTop: '8px'}}>
<span>[email protected]</span>
</div>
<div style={{marginTop: '8px'}}>
<div>몽글몽글은 통신판매중개자로서 통신판매의 당사자가 아니며</div>
<div>상품 거래정보 및 거래 등에 대해 책임을 지지 않습니다.</div>
</div>
<div className={styles.FooterTerms}>
<span>이용약관</span>
<span>전자금융거래 이용약관</span>
<span>개인정보 처리방침</span>
<span
style={{
cursor: 'pointer',
}}
onClick={() => {
if (typeof window !== 'undefined')
window.open('https://bulmang.notion.site/92ba358d0d054122b1cd15772eeb474b?pvs=4',"_blank")
}}>이용약관</span>
<span
style={{
cursor: 'pointer'
}}
onClick={() => {
if (typeof window !== 'undefined')
window.open('https://bulmang.notion.site/3dc543619a2446f3aaf419b3028c2047',"_blank")
}}
>개인정보 처리방침</span>
</div>
</footer>
);
4 changes: 4 additions & 0 deletions src/components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
@@ -14,7 +14,11 @@ const Layout = ({ children }: LayoutProps) => {
<Nav />
{children}
<Footer />
{
typeof window !== 'undefined' &&
window.location.href === '/' &&
<ApplyLink className={styles.LayoutMobileApplyLink} />
}
</div>
);
};
4 changes: 4 additions & 0 deletions src/components/Layout/Nav/Nav.tsx
Original file line number Diff line number Diff line change
@@ -25,7 +25,11 @@ const Nav = () => {
</li>
</div>
<li>
{
typeof window !== 'undefined' &&
window.location.pathname === '/' &&
<ApplyLink className={styles.BenefitButton} />
}
</li>
</ul>
</div>
5 changes: 5 additions & 0 deletions src/components/Lending/LendingApply/LedingApply.tsx
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ import { StaticImage } from 'gatsby-plugin-image';
import ApplyLink from '../../common/ApplyLink';

const LedingApply = () => {

return (
<section className={styles.LendingApplyWrapper}>
<main className={styles.LendingApplyContainer}>
@@ -15,7 +16,11 @@ const LedingApply = () => {
<div>반려견의 건강과 미용 서비스를 한 곳에서 모아보고</div>
<div>효율적으로 관리하세요.</div>
</div>
{
typeof window !== 'undefined' &&
window.location.pathname === '/' &&
<ApplyLink className={styles.LendingApplyButton} />
}
<StaticImage
src="../../../images/lending/lending_apply_image.png"
alt="LendingApplyImage"

0 comments on commit cfc7b7f

Please sign in to comment.