first commit 2

This commit is contained in:
hmw1001
2026-06-11 18:47:38 +09:00
parent c768729ce6
commit 6f534e33a6
11095 changed files with 1595758 additions and 0 deletions
@@ -0,0 +1,66 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 이 레이아웃 전용 CSS 파일을 불러옵니다.
add_stylesheet('<link rel="stylesheet" href="'.G5_THEME_URL.'/rb.layout_hd/creative_portfolio/style.css?ver='.G5_SERVER_TIME.'">', 0);
// 메뉴 데이터 가져오기
$menu_datas = get_menu_db(0, true);
?>
<header id="header" class="creative-portfolio-header">
<div class="header-container">
<div class="logo-section">
<a href="<?php echo G5_URL; ?>" class="logo-link">
<img src="<?php echo G5_THEME_URL; ?>/img/logo.png" alt="<?php echo $config['cf_title']; ?>" class="logo-img">
</a>
</div>
<!-- 데스크탑 네비게이션 -->
<nav class="main-navigation">
<ul class="nav-menu">
<?php foreach ($menu_datas as $row) { ?>
<li class="nav-item <?php echo (isset($row['sub']) && count($row['sub']) > 0) ? 'has-sub' : ''; ?>">
<a href="<?php echo $row['me_link']; ?>" target="_<?php echo $row['me_target']; ?>" class="nav-link">
<?php echo $row['me_name'] ?>
</a>
<?php if (isset($row['sub']) && count($row['sub']) > 0) { ?>
<ul class="sub-menu">
<?php foreach ($row['sub'] as $sub) { ?>
<li>
<a href="<?php echo $sub['me_link']; ?>" target="_<?php echo $sub['me_target']; ?>" class="sub-link">
<?php echo $sub['me_name'] ?>
</a>
</li>
<?php } ?>
</ul>
<?php } ?>
</li>
<?php } ?>
</ul>
</nav>
<div class="header-actions">
<!-- 모바일 메뉴 토글 버튼 -->
<button type="button" class="mobile-menu-toggle">
<span></span>
<span></span>
<span></span>
</button>
</div>
</div>
</header>
<!-- 모바일 메뉴 패널 (공통 구조) -->
<div class="mobile-nav-panel">
<div class="mobile-nav-header">
<a href="<?php echo G5_URL; ?>" class="mobile-logo">
<img src="<?php echo G5_THEME_URL; ?>/img/logo.png" alt="<?php echo $config['cf_title']; ?>">
</a>
<button type="button" class="mobile-menu-close">&times;</button>
</div>
<nav class="mobile-navigation">
<!-- 모바일 메뉴 내용은 공통 JS에서 자동으로 채웁니다. -->
</nav>
</div>
<div class="mobile-nav-overlay"></div>