feat: 바탕화면 디자인 수정본을 얹는다

`~/Desktop/tech-log-frontend` 의 재디자인 결과물(DESIGN_REVISION.md)을 그대로 가져왔다.
바뀐 것은 소스 일곱과 검사 둘이고, 나머지 파일은 이 저장소의 것과 같았다.

공개 화면 — 홈을 큰 빈 히어로 + 평평한 줄 목록에서 실제 조사 경로로 흐르게 고쳤고,
프로젝트·주제·현재·관련 맥락을 본문 흐름 밖의 고정 레일로 옮겼다(좁은 화면은 접이식 유지).
Case·Concept 장문을 읽기 폭 + 맥락/목차 레일 한 짜임으로 통일했고, Question·Reference 도
같은 짜임으로 다시 세웠다. Case 의 검증 조건은 곁다리 details 줄이 아니라 의도된 근거
공개로 바꿨다. 제목·본문 폭과 프로젝트 목록 밀도를 줄이고 상태 격자를 반응형으로 만들었다.

Studio — Asset Picker 를 파일 이름·미리보기·치수·사용 수를 가진 검색 가능한 줄로 다시
만들었다. 지우는 동작은 Asset 화면에 남긴다.

내가 넣었던 개념 흐름 지도(`MechanismMap`)는 이 수정본이 뺐다 — 소제목을 알약으로 늘어놓은
근사치라 절 사이에 태그를 붙여 놓은 것처럼 보인다는 판단이다. 컴포넌트와 CSS 는 아직 남아
있으나 어디서도 부르지 않는다.

수정본은 Node 22 에서 검증됐다고 적혀 있어 이 저장소가 선언한 Node 24 로 다시 돌렸다:
check:types · lint · test:unit(1829) · test:component(152) · test:tech-log(422) 전부 통과.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015c8cBFUaVr7KLVUx6ujz7D
This commit is contained in:
DongHyeonka
2026-09-16 15:29:16 +09:00
co-authored by Claude Opus 5
parent e621d2c9e4
commit b9d0585bc6
9 changed files with 1262 additions and 319 deletions
@@ -4124,3 +4124,758 @@ summary {
.rail-path a:hover {
color: var(--signal);
}
/* ========================================================================== */
/* 2026-09 product composition pass */
/*
TechLog's information model is relational, but the public UI must not look
like a database dump. These rules establish one reading frame: narrative in
the main column, durable context in the rail, compact disclosure on mobile.
*/
/* ========================================================================== */
:root {
--body-copy: 47rem;
--reading-rail: 15.5rem;
--reading-gap: 4rem;
}
/* Home: product statement -> concrete investigation path, without a dead hero. */
.home-identity {
padding-top: 88px;
padding-bottom: 74px;
}
.home-identity .section-kicker {
margin-bottom: 18px;
}
.home-identity h1 {
margin-bottom: 20px;
font-size: clamp(42px, 4.4vw, 54px);
}
.identity-statement {
max-width: 740px;
font-size: clamp(22px, 2.2vw, 28px);
line-height: 1.5;
}
.home-identity__actions {
display: flex;
flex-wrap: wrap;
gap: 10px 28px;
margin-top: 34px;
}
.home-identity__actions a {
display: inline-flex;
min-height: 42px;
align-items: center;
gap: 8px;
color: var(--ink);
font-size: 14px;
font-weight: 650;
}
.home-identity__actions a::after {
color: var(--signal);
content: "→";
}
.home-identity__actions a:hover {
color: var(--signal);
}
.home-path {
padding-block: 50px 68px;
border-top: 1px solid var(--line-strong);
}
.home-path__intro {
display: grid;
grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
gap: 72px;
align-items: end;
}
.home-path__intro h2 {
max-width: 620px;
margin: 10px 0 0;
font-size: clamp(28px, 3vw, 38px);
font-weight: 660;
letter-spacing: -0.045em;
line-height: 1.22;
}
.home-path__intro > p {
margin: 0;
color: var(--muted);
font-size: 15px;
line-height: 1.75;
}
.home-path__project {
display: flex;
gap: 14px;
align-items: baseline;
margin-top: 44px;
padding-bottom: 16px;
border-bottom: 1px solid var(--line-strong);
}
.home-path__project span {
color: var(--faint);
font-size: 11px;
font-weight: 650;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.home-path__project strong {
font-size: 17px;
font-weight: 650;
}
.home-path-records {
margin: 0;
padding: 0;
border-left: 0;
list-style: none;
counter-reset: none;
}
.home-path-records li {
display: grid;
grid-template-columns: 76px minmax(0, 1fr);
gap: 0 28px;
padding: 26px 0 28px;
border-bottom: 1px solid var(--line);
}
.home-path-step {
position: relative;
min-height: 100%;
}
.home-path-step::after {
position: absolute;
top: 31px;
bottom: -29px;
left: 12px;
width: 1px;
background: var(--line-strong);
content: "";
}
.home-path-records li:last-child .home-path-step::after {
display: none;
}
.home-path-step > span {
display: inline-grid;
width: 25px;
height: 25px;
place-items: center;
border: 1px solid var(--line-strong);
border-radius: 50%;
background: var(--canvas);
color: var(--muted);
font-family: "IBM Plex Mono", monospace;
font-size: 9px;
font-weight: 650;
line-height: 1;
}
.home-path-copy {
min-width: 0;
}
.home-path-records .home-path-meta {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 0 0 5px;
color: var(--faint);
font-size: 11px;
font-weight: 650;
letter-spacing: 0.02em;
}
.home-path-records .home-path-copy > a {
color: var(--ink);
font-size: 19px;
font-weight: 630;
letter-spacing: -0.025em;
line-height: 1.45;
}
.home-path-records .home-path-copy > a:hover {
color: var(--signal);
}
.home-path-records .home-path-copy > p:last-child {
max-width: 760px;
margin: 7px 0 0;
color: var(--muted);
font-size: 14px;
line-height: 1.65;
}
/* Desktop reading chrome. Context no longer interrupts the article body. */
.context-navigator-wrap {
display: none;
}
.document-layout {
grid-template-columns: minmax(0, var(--body-copy)) minmax(13.5rem, var(--reading-rail));
gap: var(--reading-gap);
justify-content: center;
padding-bottom: 136px;
}
.document-body {
width: min(100%, var(--body-copy));
justify-self: stretch;
}
.document-toc {
top: 24px;
max-height: calc(100dvh - 48px);
overflow-y: auto;
padding-right: 4px;
scrollbar-width: thin;
}
.document-toc > nav > p,
.structured-record-toc > p {
margin: 0 0 12px;
color: var(--faint);
font-size: 10px;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.document-toc a {
padding: 6px 0 6px 13px;
font-size: 12px;
line-height: 1.5;
}
.rail-context {
gap: 0;
margin-top: 24px;
padding-top: 20px;
border-top: 1px solid var(--line-strong);
}
.rail-context__eyebrow {
margin: 0 0 14px !important;
color: var(--faint);
font-size: 10px !important;
font-weight: 700 !important;
letter-spacing: 0.1em !important;
text-transform: uppercase;
}
.rail-context__location {
display: grid;
gap: 10px;
}
.rail-context__location > div {
display: grid;
grid-template-columns: 52px minmax(0, 1fr);
gap: 8px;
align-items: baseline;
}
.rail-context__location span,
.rail-context__current > span,
.rail-context__related > p,
.rail-context__related a > span {
color: var(--faint);
font-size: 10px;
font-weight: 680;
letter-spacing: 0.035em;
text-transform: uppercase;
}
.rail-context__location a,
.rail-context__location strong {
color: var(--ink-soft);
font-size: 12.5px;
font-weight: 620;
line-height: 1.5;
}
.rail-context__current {
display: grid;
gap: 6px;
margin-top: 18px;
padding: 15px 0 16px 13px;
border-left: 2px solid var(--signal);
}
.rail-context__current strong {
color: var(--ink);
font-size: 13px;
font-weight: 640;
line-height: 1.5;
}
.rail-context__related {
display: grid;
gap: 0;
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid var(--line);
}
.rail-context__related > p {
margin: 0 0 5px;
}
.rail-context__related > a {
display: grid;
gap: 3px;
padding: 10px 0;
border-bottom: 1px solid var(--line);
}
.rail-context__related > a strong {
color: var(--ink-soft);
font-size: 12.5px;
font-weight: 620;
line-height: 1.5;
}
.rail-context__related > a small {
display: -webkit-box;
overflow: hidden;
color: var(--faint);
font-size: 11px;
line-height: 1.5;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
}
.rail-context__related > a:hover strong,
.rail-context__location a:hover {
color: var(--signal);
}
/* Question / Reference use the same main+rail composition as long-form records. */
.structured-record-layout {
display: grid;
grid-template-columns: minmax(0, var(--body-copy)) minmax(13.5rem, var(--reading-rail));
gap: var(--reading-gap);
justify-content: center;
align-items: start;
}
.structured-record-main {
min-width: 0;
}
.structured-record-rail {
position: sticky;
top: 24px;
max-height: calc(100dvh - 48px);
overflow-y: auto;
}
.structured-record-toc {
display: grid;
}
.structured-record-toc > a {
display: grid;
grid-template-columns: 27px minmax(0, 1fr);
gap: 7px;
padding: 6px 0;
color: var(--faint);
font-size: 12px;
line-height: 1.45;
}
.structured-record-toc > a > span {
color: var(--line-strong);
font-family: "IBM Plex Mono", monospace;
font-size: 9px;
}
.structured-record-toc > a:hover {
color: var(--signal);
}
/* Long-form typography: a deliberate reading measure and less oversized mobile headings. */
.case-header,
.public-document-header {
max-width: 930px;
}
.case-header h1,
.public-page-header h1,
.public-document-header h1 {
font-size: clamp(38px, 4vw, 48px);
line-height: 1.16;
}
.case-summary {
max-width: 760px;
font-size: 20px;
}
.document-body > section > p,
.document-body > section > ol,
.public-document-body p,
.public-document-body li,
.reference-purpose > p:last-child {
font-size: 17px;
line-height: 1.82;
}
.document-body h2,
.public-document-body h2,
.reference-purpose h2 {
font-size: 28px;
}
.document-relations h2,
.topic-variants h2 {
font-size: 30px;
}
/* Verification conditions are evidence, not a stray HTML disclosure. */
.case-meta-details {
margin-top: 38px;
padding: 0;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line);
}
.case-meta-details > summary {
display: grid;
grid-template-columns: 145px minmax(0, 1fr) 18px;
gap: 20px;
align-items: center;
min-height: 68px;
color: var(--ink);
font-size: 14px;
}
.case-meta-details > summary > span {
font-weight: 660;
}
.case-meta-details > summary > small {
color: var(--muted);
font-size: 13px;
font-weight: 450;
line-height: 1.5;
}
.case-meta-details > summary::after {
justify-self: end;
}
.case-meta-details .case-meta {
margin: 0;
padding: 20px 0 25px;
border-top: 1px solid var(--line);
}
/* The previous heading-to-pill mechanism approximation was visually misleading. */
.mechanism-map {
display: none;
}
/* Projects: more information, less empty row height. */
.project-index-list {
margin-top: 56px;
}
.project-index-list > li > a {
min-height: 0;
grid-template-columns: 34px minmax(0, 1fr) 18px;
gap: 22px;
padding: 27px 0 29px;
}
.project-index-title h2 {
font-size: 25px;
}
.project-index-list p {
margin-top: 8px;
margin-bottom: 13px;
line-height: 1.65;
}
.project-status-grid {
grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
margin-top: 48px;
}
.project-status-grid > div {
min-width: 0;
padding: 20px 20px 22px 0;
}
.project-status-grid > div + div {
padding-left: 20px;
}
.project-thesis {
margin-top: 62px;
}
.project-overview-section {
gap: 56px;
margin-top: 68px;
}
/* Mobile keeps context, but as a compact disclosure above the body. */
@media (max-width: 1179px) {
:root {
--reading-gap: 0px;
}
.context-navigator-wrap {
display: block;
width: min(var(--body-copy), calc(100% - 64px));
margin: 0 auto 38px;
padding: 0;
}
.context-navigator {
max-width: none;
padding: 0;
border-top: 1px solid var(--line-strong);
border-bottom: 1px solid var(--line);
border-left: 0;
}
.context-navigator > summary {
display: flex;
min-height: 52px;
align-items: center;
justify-content: space-between;
color: var(--ink-soft);
font-size: 12px;
}
.context-navigator > summary::after {
margin-left: auto;
}
.context-navigator > nav {
padding-bottom: 18px;
}
.context-siblings {
margin-top: 13px;
}
.structured-record-layout {
display: block;
}
.structured-record-rail {
display: none;
}
.public-document-page > .shell.context-navigator-wrap {
width: min(var(--body-copy), calc(100% - 64px));
}
.home-path__intro {
grid-template-columns: 1fr;
gap: 18px;
}
}
@media (max-width: 767px) {
:root {
--body-copy: 100%;
}
.home-identity {
padding-top: 56px;
padding-bottom: 54px;
}
.home-identity h1 {
font-size: 39px;
}
.identity-statement {
font-size: 21px;
line-height: 1.52;
}
.home-identity__actions {
margin-top: 24px;
}
.home-path {
padding-block: 38px 48px;
}
.home-path__intro h2 {
font-size: 28px;
}
.home-path__project {
margin-top: 32px;
}
.home-path-records li {
grid-template-columns: 42px minmax(0, 1fr);
gap: 0 12px;
padding-block: 21px 23px;
}
.home-path-step::after {
left: 11px;
bottom: -24px;
}
.home-path-records .home-path-copy > a {
font-size: 17px;
}
.case-header,
.public-index-page,
.public-document-page,
.project-page {
padding-top: 58px;
}
.case-header h1,
.public-page-header h1,
.public-document-header h1,
.project-page-header h1 {
font-size: 32px;
line-height: 1.2;
letter-spacing: -0.04em;
}
.case-summary,
.public-page-header > p:last-child,
.public-document-header > p {
font-size: 17px;
line-height: 1.68;
}
.case-snapshot {
grid-template-columns: 1fr;
margin-top: 38px;
}
.case-snapshot > div,
.case-snapshot > div + div {
padding: 22px 0 24px;
border-left: 0;
}
.case-snapshot > div + div {
border-top: 1px solid var(--line);
}
.case-meta-details > summary {
grid-template-columns: 1fr 18px;
gap: 6px 12px;
padding: 13px 0;
}
.case-meta-details > summary > small {
grid-column: 1;
grid-row: 2;
}
.case-meta-details > summary::after {
grid-column: 2;
grid-row: 1 / span 2;
}
.case-meta-details .case-meta,
.case-meta {
grid-template-columns: 1fr;
gap: 18px;
}
.context-navigator-wrap,
.public-document-page > .shell.context-navigator-wrap {
width: calc(100% - 40px);
margin-bottom: 28px;
}
.context-trail {
display: grid;
gap: 7px;
}
.context-siblings li {
padding: 10px 0;
}
.document-body h2,
.public-document-body h2,
.reference-purpose h2,
.document-relations h2,
.topic-variants h2 {
font-size: 25px;
}
.document-body > section > p,
.document-body > section > ol,
.public-document-body p,
.public-document-body li,
.reference-purpose > p:last-child {
font-size: 16.5px;
line-height: 1.78;
}
.project-index-list > li > a {
grid-template-columns: 28px minmax(0, 1fr);
gap: 13px;
padding-block: 23px 25px;
}
.project-index-list > li > a > span:last-child {
display: none;
}
.project-index-title {
display: block;
}
.project-index-title h2 {
font-size: 22px;
}
.project-index-title span {
display: inline-block;
margin-top: 8px;
}
.project-index-list dl {
grid-template-columns: 1fr;
gap: 7px;
}
.project-status-grid {
grid-template-columns: 1fr 1fr;
}
.project-status-grid > div,
.project-status-grid > div + div {
padding: 17px 12px 18px 0;
border-left: 0;
border-bottom: 1px solid var(--line);
}
}