Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/lib/features/navigation/main-navbar/MainNavbar.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { Button } from '$lib/components/ui/button';
import { Settings } from 'lucide-svelte';
import { ExternalLink, Settings } from 'lucide-svelte';
import DarkModeButton from './DarkModeButton.svelte';
import Logo from './logo.png';
</script>
Expand All @@ -12,6 +12,10 @@
<img src={Logo} alt="logo" class="size-5" />
<span class="font-semibold"> 아이템 시뮬레이터 </span>
</Button>
<Button variant="primary" href="https://itemsim.com/">
<ExternalLink />
정식 사이트로 이동
</Button>
</div>
<div class="ml-auto flex items-center gap-1 px-4">
<DarkModeButton />
Expand Down
9 changes: 8 additions & 1 deletion src/lib/stores/settings.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,14 @@ let instance: SettingsStore | null = null;

export function getSettingsStore(): SettingsStore {
if (typeof window === 'undefined') {
return new SettingsStore();
return {
layout: 'grid',
columns: 5,
batchAction: 'export',
tooltipVersion: '2',
tooltip1Options: { cannot: {}, incline: { combat: 0 } },
tooltip2Options: { cannot: {}, expand: false, incline: { combat: 0 } }
}
}
if (!instance) {
instance = new SettingsStore();
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
const version = sessionStorage.getItem('next-version') ?? '0';
if (version < '1') {
sessionStorage.setItem('next-version', '1');
alert('아이템 시뮬레이터 프리뷰 버전입니다. 미완성된 기능이나 버그가 있을 수 있습니다.');
alert('[알림] 업데이트가 완료되었습니다. 프리뷰는 일정 기간 유지 후 접속이 불가하므로 https://itemsim.com/를 이용해주세요.');
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion wrangler.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "itemsim",
"name": "itemsim-next",
"compatibility_date": "2025-06-07",
"main": ".svelte-kit/cloudflare/_worker.js",
"assets": {
Expand Down