feat: complete placement analysis workflow
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
</script>
|
||||
|
||||
<header class="site-nav">
|
||||
<div class="nav-inner">
|
||||
<a class="brand" href="/" aria-label="홀로도리 홈">홀로도리</a>
|
||||
<nav aria-label="주요 메뉴">
|
||||
<a href="/" aria-current={$page.url.pathname === '/' ? 'page' : undefined}>카드 목록</a>
|
||||
<a href="/analysis" aria-current={$page.url.pathname.startsWith('/analysis') ? 'page' : undefined}>배치 분석</a>
|
||||
<a href="/data" aria-current={$page.url.pathname.startsWith('/data') ? 'page' : undefined}>사용자 데이터</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<slot />
|
||||
|
||||
<style>
|
||||
:global(*) { box-sizing: border-box; }
|
||||
:global(body) { margin: 0; background: #101319; color: #e8ebf1; font-family: Pretendard, "Noto Sans KR", sans-serif; }
|
||||
|
||||
.site-nav {
|
||||
position: sticky;
|
||||
z-index: 20;
|
||||
top: 0;
|
||||
border-bottom: 1px solid rgb(255 255 255 / 8%);
|
||||
background: rgb(16 19 25 / 88%);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
.nav-inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: min(1120px, calc(100% - 40px));
|
||||
min-height: 58px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.brand {
|
||||
color: #f3f5f8;
|
||||
font-size: 16px;
|
||||
font-weight: 850;
|
||||
letter-spacing: -.03em;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav { display: flex; align-items: center; gap: 4px; }
|
||||
|
||||
nav a {
|
||||
padding: 8px 12px;
|
||||
border-radius: 9px;
|
||||
color: #929cad;
|
||||
font-size: 13px;
|
||||
font-weight: 750;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav a:hover { color: #e2e6ed; background: rgb(255 255 255 / 5%); }
|
||||
nav a[aria-current='page'] { color: #f1a1c3; background: rgb(239 139 182 / 12%); }
|
||||
a:focus-visible { outline: 3px solid rgb(239 139 182 / 28%); outline-offset: 2px; }
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.nav-inner { width: calc(100% - 24px); min-height: 54px; }
|
||||
.brand { font-size: 15px; }
|
||||
nav a { padding: 7px 9px; font-size: 12px; }
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user