first commit 2
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_THEME_URL.'/shop/rb.layout/Trend02/style.css?ver='.G5_SERVER_TIME.'">', 0);
|
||||
?>
|
||||
|
||||
<!-- 1. 메인 비주얼 섹션 (Split Layout) -->
|
||||
<div class="main-visual-section-trend02">
|
||||
<div class="visual-text-area">
|
||||
<h1 class="visual-title">MAKE IT BOLD</h1>
|
||||
<p class="visual-subtitle">혁신적인 디자인과 압도적인 존재감. 당신의 공간을 새롭게 정의합니다.</p>
|
||||
<a href="<?php echo G5_SHOP_URL; ?>/list.php?ca_id=10" class="visual-button">Explore Collection</a>
|
||||
</div>
|
||||
<div class="visual-image-area">
|
||||
<!-- 배경 이미지는 CSS로 처리 -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 2. 메인 콘텐츠 영역 -->
|
||||
<div class="main-content-wrapper container">
|
||||
<main class="layout-main-content">
|
||||
<!-- 신상품 섹션 -->
|
||||
<section class="product-section">
|
||||
<h2 class="product-section-title">NEW & NOW</h2>
|
||||
<div class="flex_box" data-layout="main-content-new">
|
||||
<?php if($is_admin) { echo "<div class='guide-box'>관리자 안내: [main-content-new] 영역에 '최신 상품' 모듈을 추가하세요.</div>"; } ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 인기상품 섹션 -->
|
||||
<section class="product-section">
|
||||
<h2 class="product-section-title">BEST OF BEST</h2>
|
||||
<div class="flex_box" data-layout="main-content-best">
|
||||
<?php if($is_admin) { echo "<div class='guide-box'>관리자 안내: [main-content-best] 영역에 '인기 상품' 모듈을 추가하세요.</div>"; } ?>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
@@ -0,0 +1,121 @@
|
||||
/* Trend02 Layout Style - Bold & Modern */
|
||||
|
||||
/* 💡 [추가] 고정 헤더로 인한 겹침 방지 */
|
||||
body {
|
||||
padding-top: 80px; /* 헤더 높이만큼 여백 추가 */
|
||||
}
|
||||
|
||||
/* 1. 메인 비주얼 섹션 (Split Layout) */
|
||||
.main-visual-section-trend02 {
|
||||
display: flex;
|
||||
min-height: 600px; /* 최소 높이 */
|
||||
margin-bottom: 80px;
|
||||
background-color: #1a1a1a; /* 어두운 배경 */
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.visual-text-area {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
padding: 40px 60px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.visual-title {
|
||||
font-size: 4.5rem;
|
||||
font-weight: 900;
|
||||
line-height: 1.1;
|
||||
margin: 0 0 20px;
|
||||
color: #ffeb3b; /* 강조 색상 */
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.visual-subtitle {
|
||||
font-size: 1.4rem;
|
||||
line-height: 1.5;
|
||||
margin: 0 0 40px;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.visual-button {
|
||||
display: inline-block;
|
||||
padding: 15px 40px;
|
||||
background-color: #ffeb3b;
|
||||
color: #1a1a1a;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
border-radius: 5px;
|
||||
transition: all 0.3s ease;
|
||||
border: 2px solid #ffeb3b;
|
||||
}
|
||||
|
||||
.visual-button:hover {
|
||||
background-color: #1a1a1a;
|
||||
color: #ffeb3b;
|
||||
}
|
||||
|
||||
.visual-image-area {
|
||||
flex: 1;
|
||||
background-image: url('https://images.unsplash.com/photo-1550009158-9ebf69173e03?q=80&w=1950&auto=format&fit=crop'); /* 임시 배경 이미지 */
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
/* 2. 메인 콘텐츠 영역 */
|
||||
.main-content-wrapper {
|
||||
max-width: 1280px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.product-section {
|
||||
margin-bottom: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.product-section-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 800;
|
||||
margin: 0 0 10px;
|
||||
color: #333;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.guide-box {
|
||||
padding: 40px;
|
||||
background-color: #f0f0f0;
|
||||
border: 1px dashed #aaa;
|
||||
color: #666;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* 모바일 반응형 */
|
||||
@media (max-width: 1024px) {
|
||||
.main-visual-section-trend02 {
|
||||
flex-direction: column;
|
||||
min-height: auto;
|
||||
}
|
||||
.visual-text-area {
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
.visual-title {
|
||||
font-size: 3rem;
|
||||
}
|
||||
.visual-subtitle {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.visual-image-area {
|
||||
min-height: 300px;
|
||||
}
|
||||
.product-section {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
.product-section-title {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user