first commit 2
This commit is contained in:
@@ -0,0 +1,151 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit;
|
||||
?>
|
||||
|
||||
<div class="pns-product-section container">
|
||||
<div class="section-header text-center">
|
||||
<h2 class="section-title">OUR PRODUCTS</h2>
|
||||
<p class="section-desc">PNS의 기술력이 집약된 다양한 제품을 만나보세요.</p>
|
||||
</div>
|
||||
|
||||
<div class="product-grid">
|
||||
<!-- 아이템 1 -->
|
||||
<div class="product-item">
|
||||
<div class="product-img">
|
||||
<img src="https://www.pnswindow.co.kr/images/main/main_product_01.jpg" alt="ALUMINUM WINDOW">
|
||||
<div class="product-overlay">
|
||||
<a href="#" class="btn-view">VIEW MORE</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="product-info">
|
||||
<h3>ALUMINUM WINDOW</h3>
|
||||
<p>알루미늄 창호</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 아이템 2 -->
|
||||
<div class="product-item">
|
||||
<div class="product-img">
|
||||
<img src="https://www.pnswindow.co.kr/images/main/main_product_02.jpg" alt="PVC WINDOW">
|
||||
<div class="product-overlay">
|
||||
<a href="#" class="btn-view">VIEW MORE</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="product-info">
|
||||
<h3>PVC WINDOW</h3>
|
||||
<p>PVC 창호</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 아이템 3 -->
|
||||
<div class="product-item">
|
||||
<div class="product-img">
|
||||
<img src="https://www.pnswindow.co.kr/images/main/main_product_03.jpg" alt="SYSTEM WINDOW">
|
||||
<div class="product-overlay">
|
||||
<a href="#" class="btn-view">VIEW MORE</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="product-info">
|
||||
<h3>SYSTEM WINDOW</h3>
|
||||
<p>시스템 창호</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.pns-product-section {
|
||||
padding: 100px 20px;
|
||||
}
|
||||
.section-header {
|
||||
margin-bottom: 60px;
|
||||
text-align: center;
|
||||
}
|
||||
.section-title {
|
||||
font-size: 2.5rem;
|
||||
font-weight: 900;
|
||||
color: #333;
|
||||
margin-bottom: 15px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.section-title::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 50px;
|
||||
height: 3px;
|
||||
background-color: #009fe3;
|
||||
margin: 20px auto 0;
|
||||
}
|
||||
.section-desc {
|
||||
color: #666;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.product-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.product-item {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.product-img {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.product-img img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
transition: transform 0.5s;
|
||||
}
|
||||
|
||||
.product-item:hover .product-img img {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
.product-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 159, 227, 0.8); /* PNS Blue Overlay */
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.product-item:hover .product-overlay {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.btn-view {
|
||||
color: #fff;
|
||||
border: 1px solid #fff;
|
||||
padding: 10px 30px;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.product-info h3 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 5px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.product-info p {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.product-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user