feat: add standardized team comparison
Publish GitHub Pages output / publish (push) Successful in 42s
Publish GitHub Pages output / publish (push) Successful in 42s
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
import CombinationPage from '../src/routes/combination/+page.svelte';
|
||||
import HoloWorkPage from '../src/routes/tools/holo-work/+page.svelte';
|
||||
import ToolsPage from '../src/routes/tools/+page.svelte';
|
||||
import ComparePage from '../src/routes/compare/+page.svelte';
|
||||
import EventPage from '../src/routes/event/+page.svelte';
|
||||
import DataPage from '../src/routes/data/+page.svelte';
|
||||
import DataCardsPage from '../src/routes/data/cards/+page.svelte';
|
||||
@@ -24,6 +25,7 @@
|
||||
['/rating', RatingPage],
|
||||
['/combination', CombinationPage],
|
||||
['/tools', ToolsPage],
|
||||
['/compare', ComparePage],
|
||||
['/tools/random', ToolsPage],
|
||||
['/tools/holo-work', HoloWorkPage],
|
||||
['/random', ToolsPage],
|
||||
@@ -36,6 +38,7 @@
|
||||
|
||||
function pathFromHash() {
|
||||
const path = window.location.hash.replace(/^#/, '') || '/';
|
||||
if (path === '/tools/compare') return '/compare';
|
||||
return routes.has(path) ? path : '/';
|
||||
}
|
||||
|
||||
@@ -88,6 +91,7 @@
|
||||
<button class="menu-toggle" type="button" aria-controls="primary-navigation" aria-expanded={menuOpen} on:click={() => menuOpen = !menuOpen}>{menuOpen ? '메뉴 닫기' : '전체 메뉴'}</button>
|
||||
<nav id="primary-navigation" class:open={menuOpen} aria-label="주요 메뉴">
|
||||
<a href="#/cards" aria-current={currentPath.startsWith('/cards') ? 'page' : undefined}>카드 목록</a>
|
||||
<a href="#/compare" aria-current={currentPath.startsWith('/compare') ? 'page' : undefined}>편성 비교</a>
|
||||
<a href="#/analysis" aria-current={currentPath.startsWith('/analysis') ? 'page' : undefined}>배치 분석</a>
|
||||
<a href="#/rating" aria-current={currentPath.startsWith('/rating') ? 'page' : undefined}>리더 레이팅</a>
|
||||
<a href="#/combination" aria-current={currentPath.startsWith('/combination') ? 'page' : undefined}>조합 탐색</a>
|
||||
|
||||
Reference in New Issue
Block a user