first commit 2
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_THEME_URL.'/shop/rb.layout/Trend03/style.css?ver='.G5_SERVER_TIME.'">', 0);
|
||||
?>
|
||||
|
||||
<!-- 1. 메인 비주얼 섹션 -->
|
||||
<div class="main-visual-section-trend03">
|
||||
<div class="visual-content container">
|
||||
<span class="visual-tag">Eco-Friendly Living</span>
|
||||
<h1 class="visual-title">자연을 닮은<br>편안한 공간</h1>
|
||||
<p class="visual-subtitle">지속 가능한 소재와 따뜻한 감성으로 채우는 당신의 일상.</p>
|
||||
<a href="<?php echo G5_SHOP_URL; ?>/list.php?ca_id=10" class="visual-button">Shop Now</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 2. 메인 콘텐츠 영역 -->
|
||||
<div class="main-content-wrapper container">
|
||||
<main class="layout-main-content">
|
||||
<!-- 추천 상품 섹션 -->
|
||||
<section class="product-section">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">Natural Picks</h2>
|
||||
<p class="section-desc">자연의 숨결이 느껴지는 추천 아이템</p>
|
||||
</div>
|
||||
<div class="flex_box" data-layout="main-content-pick">
|
||||
<?php if($is_admin) { echo "<div class='guide-box'>관리자 안내: [main-content-pick] 영역에 '추천 상품' 모듈을 추가하세요.</div>"; } ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- 베스트 상품 섹션 -->
|
||||
<section class="product-section bg-light">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">Loved by Nature</h2>
|
||||
</div>
|
||||
<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,141 @@
|
||||
/* Trend03 Layout Style - Natural & Organic */
|
||||
|
||||
/* 💡 [추가] 고정 헤더로 인한 겹침 방지 */
|
||||
body {
|
||||
padding-top: 80px;
|
||||
background-color: #fdfbf7; /* 따뜻한 미색 배경 */
|
||||
color: #5a5a5a;
|
||||
/* font-family: 'Noto Serif KR', serif; */ /* 💡 [수정] 관리자 설정 폰트 사용을 위해 주석 처리 */
|
||||
}
|
||||
|
||||
/* 1. 메인 비주얼 섹션 */
|
||||
.main-visual-section-trend03 {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 600px;
|
||||
background-image: url('https://images.unsplash.com/photo-1616486338812-3dadae4b4f9d?q=80&w=2070&auto=format&fit=crop');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 80px;
|
||||
}
|
||||
|
||||
.main-visual-section-trend03::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.2); /* 부드러운 오버레이 */
|
||||
}
|
||||
|
||||
.visual-content {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
color: #fff;
|
||||
padding-left: 50px;
|
||||
}
|
||||
|
||||
.visual-tag {
|
||||
display: inline-block;
|
||||
background-color: #8d9c76; /* 자연스러운 녹색 */
|
||||
color: #fff;
|
||||
padding: 5px 15px;
|
||||
border-radius: 20px;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.visual-title {
|
||||
font-size: 3.5rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
margin: 0 0 20px;
|
||||
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.visual-subtitle {
|
||||
font-size: 1.2rem;
|
||||
margin: 0 0 40px;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.visual-button {
|
||||
display: inline-block;
|
||||
padding: 15px 40px;
|
||||
background-color: #fff;
|
||||
color: #5a5a5a;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
border-radius: 30px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.visual-button:hover {
|
||||
background-color: #8d9c76;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* 2. 메인 콘텐츠 영역 */
|
||||
.main-content-wrapper {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.product-section {
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
|
||||
.section-header {
|
||||
text-align: center;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 2.2rem;
|
||||
color: #4a4a4a;
|
||||
margin: 0 0 10px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.section-title::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 50px;
|
||||
height: 2px;
|
||||
background-color: #8d9c76;
|
||||
margin: 15px auto 0;
|
||||
}
|
||||
|
||||
.section-desc {
|
||||
color: #888;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.guide-box {
|
||||
padding: 40px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #e0e0e0;
|
||||
color: #888;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* 모바일 반응형 */
|
||||
@media (max-width: 768px) {
|
||||
.main-visual-section-trend03 {
|
||||
height: 450px;
|
||||
}
|
||||
.visual-content {
|
||||
padding-left: 20px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
padding-right: 20px;
|
||||
}
|
||||
.visual-title {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user