feat: release version 1.0.9

This commit is contained in:
2026-08-31 12:33:52 +09:00
parent 2998278353
commit 89169c5c0d
15 changed files with 421 additions and 67 deletions
+9
View File
@@ -4,16 +4,20 @@
import CardsPage from '../src/routes/cards/+page.svelte';
import AnalysisPage from '../src/routes/analysis/+page.svelte';
import CombinationPage from '../src/routes/combination/+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';
import DataBoardsPage from '../src/routes/data/boards/+page.svelte';
import { setOfflinePage } from './page-store';
import { events } from '../src/lib/data/events';
import { activeEventAt } from '../src/lib/engine/event-optimization';
const routes = new Map([
['/', HomePage],
['/cards', CardsPage],
['/analysis', AnalysisPage],
['/combination', CombinationPage],
['/event', EventPage],
['/data', DataPage],
['/data/cards', DataCardsPage],
['/data/boards', DataBoardsPage]
@@ -26,6 +30,8 @@
let currentPath = pathFromHash();
let CurrentPage = routes.get(currentPath) ?? HomePage;
let eventNow = Date.now();
$: showEventTab = Boolean(activeEventAt(events, eventNow));
setOfflinePage(currentPath);
function syncRoute() {
@@ -36,6 +42,7 @@
}
onMount(() => {
const eventTimer = window.setInterval(() => eventNow = Date.now(), 1_000);
const rewriteInternalLinks = () => {
for (const anchor of document.querySelectorAll<HTMLAnchorElement>('a[href^="/"]')) {
anchor.href = `#${anchor.getAttribute('href')}`;
@@ -57,6 +64,7 @@
window.removeEventListener('hashchange', syncRoute);
document.removeEventListener('click', handleClick);
linkObserver.disconnect();
window.clearInterval(eventTimer);
};
});
</script>
@@ -68,6 +76,7 @@
<a href="#/cards" aria-current={currentPath.startsWith('/cards') ? 'page' : undefined}>카드 목록</a>
<a href="#/analysis" aria-current={currentPath.startsWith('/analysis') ? 'page' : undefined}>배치 분석</a>
<a href="#/combination" aria-current={currentPath.startsWith('/combination') ? 'page' : undefined}>조합 탐색</a>
{#if showEventTab}<a href="#/event" aria-current={currentPath.startsWith('/event') ? 'page' : undefined}>이벤트 Pt</a>{/if}
<a href="#/data" aria-current={currentPath.startsWith('/data') ? 'page' : undefined}>사용자 데이터</a>
<a
class="report-link"