Spaces:
Running
Running
Commit ยท
02b40c9
1
Parent(s): 8eb16c8
add: top tab nav (โจ Emergence + ๐ง ์ค๋น์ค placeholder)
Browse filesTwo tabs at the page top โ first one is the current emergence viz,
second is a coming-soon placeholder for the next interaction.
- index.html +74 -0
index.html
CHANGED
|
@@ -74,9 +74,61 @@
|
|
| 74 |
.reset-btn:hover { background: var(--border-bright); }
|
| 75 |
.footnote { color: var(--muted); font-size: 12px; text-align: center; margin-top: 18px; line-height: 1.6; }
|
| 76 |
.footnote code { background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 4px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
</style>
|
| 78 |
</head>
|
| 79 |
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
<div class="card">
|
| 81 |
<div class="header">
|
| 82 |
<div>
|
|
@@ -122,6 +174,28 @@
|
|
| 122 |
๊ณต์ ์ฌ์ธํ + ๊ฐ๋ณ ๋
ธ์ด์ฆ ๋ชจ๋ธ (no XOR) โ ๊ณ ๊ฒฐํฉ ์ ๋ ์คํธ๋ฆผ์ด ๋์ผ ์ ํธ๋ก ์๋ ดํด ์ฐ์ ๋๊ฐ ๋๊ฐ์ ์ ๋ ฌ.
|
| 123 |
</div>
|
| 124 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
|
| 126 |
<script>
|
| 127 |
"use strict";
|
|
|
|
| 74 |
.reset-btn:hover { background: var(--border-bright); }
|
| 75 |
.footnote { color: var(--muted); font-size: 12px; text-align: center; margin-top: 18px; line-height: 1.6; }
|
| 76 |
.footnote code { background: rgba(255,255,255,0.06); padding: 1px 6px; border-radius: 4px; }
|
| 77 |
+
|
| 78 |
+
/* tabs */
|
| 79 |
+
.tabs {
|
| 80 |
+
max-width: 1100px;
|
| 81 |
+
margin: 0 auto 12px auto;
|
| 82 |
+
display: flex;
|
| 83 |
+
gap: 4px;
|
| 84 |
+
border-bottom: 1px solid var(--border);
|
| 85 |
+
}
|
| 86 |
+
.tab {
|
| 87 |
+
background: transparent;
|
| 88 |
+
border: none;
|
| 89 |
+
color: var(--muted);
|
| 90 |
+
padding: 10px 18px;
|
| 91 |
+
cursor: pointer;
|
| 92 |
+
font-size: 14px;
|
| 93 |
+
font-weight: 500;
|
| 94 |
+
border-bottom: 2px solid transparent;
|
| 95 |
+
margin-bottom: -1px;
|
| 96 |
+
transition: color 0.15s, border-color 0.15s;
|
| 97 |
+
font-family: inherit;
|
| 98 |
+
}
|
| 99 |
+
.tab:hover { color: var(--text); }
|
| 100 |
+
.tab.active {
|
| 101 |
+
color: var(--text);
|
| 102 |
+
border-bottom-color: var(--blue);
|
| 103 |
+
}
|
| 104 |
+
.tab.disabled {
|
| 105 |
+
opacity: 0.55;
|
| 106 |
+
}
|
| 107 |
+
.tab-panel { display: none; }
|
| 108 |
+
.tab-panel.active { display: block; }
|
| 109 |
+
|
| 110 |
+
/* coming-soon panel */
|
| 111 |
+
.placeholder {
|
| 112 |
+
background: var(--card);
|
| 113 |
+
border: 1px solid var(--border);
|
| 114 |
+
border-radius: 14px;
|
| 115 |
+
padding: 80px 24px;
|
| 116 |
+
max-width: 1100px;
|
| 117 |
+
margin: 0 auto;
|
| 118 |
+
text-align: center;
|
| 119 |
+
}
|
| 120 |
+
.placeholder-icon { font-size: 48px; margin-bottom: 16px; }
|
| 121 |
+
.placeholder-title { font-size: 22px; font-weight: 600; margin: 0 0 8px 0; }
|
| 122 |
+
.placeholder-sub { color: var(--muted); font-size: 14px; }
|
| 123 |
</style>
|
| 124 |
</head>
|
| 125 |
<body>
|
| 126 |
+
<nav class="tabs">
|
| 127 |
+
<button class="tab active" data-tab="emergence">โจ Emergence</button>
|
| 128 |
+
<button class="tab disabled" data-tab="coming-soon">๐ง ์ค๋น์ค</button>
|
| 129 |
+
</nav>
|
| 130 |
+
|
| 131 |
+
<div id="tab-emergence" class="tab-panel active">
|
| 132 |
<div class="card">
|
| 133 |
<div class="header">
|
| 134 |
<div>
|
|
|
|
| 174 |
๊ณต์ ์ฌ์ธํ + ๊ฐ๋ณ ๋
ธ์ด์ฆ ๋ชจ๋ธ (no XOR) โ ๊ณ ๊ฒฐํฉ ์ ๋ ์คํธ๋ฆผ์ด ๋์ผ ์ ํธ๋ก ์๋ ดํด ์ฐ์ ๋๊ฐ ๋๊ฐ์ ์ ๋ ฌ.
|
| 175 |
</div>
|
| 176 |
</div>
|
| 177 |
+
</div>
|
| 178 |
+
|
| 179 |
+
<div id="tab-coming-soon" class="tab-panel">
|
| 180 |
+
<div class="placeholder">
|
| 181 |
+
<div class="placeholder-icon">๐ง</div>
|
| 182 |
+
<h2 class="placeholder-title">์ค๋น์ค</h2>
|
| 183 |
+
<p class="placeholder-sub">๋ ๋ฒ์งธ ์ธํฐ๋์
์ ๊ณง ์ถ๊ฐ๋ฉ๋๋ค.</p>
|
| 184 |
+
</div>
|
| 185 |
+
</div>
|
| 186 |
+
|
| 187 |
+
<script>
|
| 188 |
+
// tab switcher
|
| 189 |
+
document.querySelectorAll(".tab").forEach(btn => {
|
| 190 |
+
btn.addEventListener("click", () => {
|
| 191 |
+
const target = btn.dataset.tab;
|
| 192 |
+
document.querySelectorAll(".tab").forEach(b => b.classList.toggle("active", b === btn));
|
| 193 |
+
document.querySelectorAll(".tab-panel").forEach(p => {
|
| 194 |
+
p.classList.toggle("active", p.id === "tab-" + target);
|
| 195 |
+
});
|
| 196 |
+
});
|
| 197 |
+
});
|
| 198 |
+
</script>
|
| 199 |
|
| 200 |
<script>
|
| 201 |
"use strict";
|