- 핵심 규칙 6: 완료의 정의는 게이트 통과. 사용자를 QA로 쓰지 않는다 - 5단계 기계 검사 4번째: design-gate 실행 의무화 - references/audit-gate.md: 사고-검사 매핑, SEO/meta 체크리스트, OS/브라우저 특성, 하니스 규칙 - tools/design-gate.mjs: 범용 게이트(메타/SEO·대비·수축·리듬·트랙·스케일×폭 + 옵션 L0/L3/L4, checks 깊은 병합) - 리듬·트랙 불변식: 숫자 라벨 등폭·빈 셀 트랙 균일·등간격 — 시간표 자동배치 결함 재현 픽스처 검출, 앱 15뷰 통과(오탐 0) feat(site): 관리 앱 2종 프로덕션 콘솔(v6→v18) - 가온 학적부 9뷰·두레 수강신청 6뷰: shadcn 문법, Pretendard/Noto Serif/IBM Plex 폰트 전략, 볼드 금지(400/500/600), WCAG AA 대비 전면 교정, 한글 keep-all 조판 - LMS 필수 요소(알림 센터·공지·진도·평가 유형·출결 사유·학점 경고), 12명 기준 데이터 정합, SEO 구조(h1 유일·OG/twitter·og.png) - 시간표 자동배치 결함 수리(명시적 격자 좌표) - QA 게이트: L0 stylelint/html-validate · L1 단위 30 · L2 감사 61+불변식 · L3 시각회귀 30화면 · L4 WebKit · L5 키보드 탐색 — npm run verify 실패 시 배포 금지 체인
This commit is contained in:
parent
78ddc8b61a
commit
72337b7ee0
226 changed files with 18212 additions and 380 deletions
|
|
@ -128,11 +128,16 @@ const { c, ui } = Astro.props;
|
|||
|
||||
하한이 중요하다. h1 만 vw 에 비례해 줄고 h2 는 고정이라,
|
||||
하한을 2.2rem 으로 두면 390px 화면에서 35.2px 대 33.2px —
|
||||
1.06 배로 사실상 같은 크기가 된다. 하한은 h2 기준으로 정한다. */
|
||||
font-size: clamp(3rem, 1.9rem + 3.1vw, 4.4rem);
|
||||
1.06 배로 사실상 같은 크기가 된다. 하한은 h2 기준으로 정한다.
|
||||
3rem 하한에서는 320px 에서 한 줄에 글자 5개가 안 들어가 4줄로
|
||||
꺾였다. 2.6rem(41.6px)은 h2 의 1.25 배를 유지하면서 3줄에 끊긴다. */
|
||||
font-size: clamp(2.6rem, 1.9rem + 3.1vw, 4.4rem);
|
||||
line-height: 1.08;
|
||||
letter-spacing: var(--tracking-display);
|
||||
max-width: 15ch;
|
||||
/* 좁은 화면에서 왼쪽으로 몰려 4줄로 꺾이던 것을 어절 단위로 균형 있게.
|
||||
2줄(넓은 화면)·3줄(320px) 모두 의도한 끊김으로 바뀐다 */
|
||||
text-wrap: balance;
|
||||
margin: 0;
|
||||
}
|
||||
[lang="en"] .hero-title { max-width: 18ch; line-height: 1.04; }
|
||||
|
|
|
|||
|
|
@ -66,7 +66,11 @@ const { c, ui } = Astro.props;
|
|||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.t-name { font-weight: var(--weight-medium); }
|
||||
.t-path { font-size: var(--mono-size); }
|
||||
.t-path {
|
||||
font-size: var(--mono-size);
|
||||
/* 경로는 공백이 없어 min-content 가 363px 다 — anywhere 로 접게 한다 */
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.cmds { margin: 0; display: grid; gap: var(--space-3); }
|
||||
.cmd-row {
|
||||
|
|
@ -80,6 +84,8 @@ const { c, ui } = Astro.props;
|
|||
dd { margin: 0; font-size: var(--step-0); }
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.install-grid { grid-template-columns: 1fr; }
|
||||
/* 순수 1fr 은 minmax(auto,1fr) 다 — nowrap 명령어의 min-content 가
|
||||
트랙을 뷰포트 밖까지 밀어낸다(390px 실측 +5px). min 0 이여야 접는다 */
|
||||
.install-grid { grid-template-columns: minmax(0, 1fr); }
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,77 +0,0 @@
|
|||
---
|
||||
import { Image } from "astro:assets";
|
||||
import shotCoffee from "../assets/shots/shot-coffee.png";
|
||||
import shotSaas from "../assets/shots/shot-saas.png";
|
||||
import BgPhoto from "./BgPhoto.astro";
|
||||
import type { Content } from "../i18n/content";
|
||||
|
||||
interface Props { c: Content["showcase"]; }
|
||||
const { c } = Astro.props;
|
||||
const shots = [shotCoffee, shotSaas];
|
||||
---
|
||||
|
||||
{/* 레이아웃 패밀리: Z축 캐스케이드. 두 판이 서로 겹치고 각도가 다르다 */}
|
||||
<section id="showcase" class="section showcase has-bg" aria-labelledby="showcase-h">
|
||||
<BgPhoto variant="split" mode="drift" depth={0.4} opacity={0.85} />
|
||||
<h2 id="showcase-h" class="reveal">{c.h2}</h2>
|
||||
<p class="lead showcase-lead reveal">{c.lead}</p>
|
||||
|
||||
<div class="full cascade">
|
||||
{
|
||||
c.items.map((item, i) => (
|
||||
<figure class:list={["work", "reveal", i === 0 ? "par-slow" : "par-fast"]} style={`--reveal-delay:${i * 90}ms`}>
|
||||
<div class="frame zoom-in">
|
||||
<Image src={shots[i]!} alt={item.alt} widths={[480, 860, 1200]}
|
||||
sizes="(max-width: 820px) 92vw, 44vw" loading="lazy" />
|
||||
</div>
|
||||
<figcaption>
|
||||
<span class="work-caption">{item.caption}</span>
|
||||
<span class="work-note muted">{item.note}</span>
|
||||
</figcaption>
|
||||
</figure>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.showcase-lead { margin-bottom: var(--space-6); }
|
||||
|
||||
.cascade {
|
||||
display: grid;
|
||||
gap: var(--space-6) var(--space-5);
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
max-width: 1180px;
|
||||
margin-inline: auto;
|
||||
padding-inline: var(--gutter);
|
||||
align-items: start;
|
||||
}
|
||||
/* 두 번째 판이 아래로 내려가 계단을 만든다 */
|
||||
.work:nth-child(2) { margin-top: var(--space-7); }
|
||||
|
||||
.work { margin: 0; }
|
||||
.work .frame { box-shadow: var(--glass-hi), var(--core-hi), var(--shadow-3); }
|
||||
.work:nth-child(1) .frame { transform: rotate(-0.5deg); }
|
||||
.work:nth-child(2) .frame { transform: rotate(0.7deg); }
|
||||
|
||||
.work :global(img) {
|
||||
width: 100%; height: auto; display: block;
|
||||
aspect-ratio: 16 / 11;
|
||||
object-fit: cover;
|
||||
object-position: top center;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
margin-top: var(--space-3);
|
||||
font-size: var(--step-0);
|
||||
}
|
||||
.work-caption { font-weight: var(--weight-medium); }
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.cascade { grid-template-columns: 1fr; }
|
||||
.work:nth-child(2) { margin-top: 0; }
|
||||
.work .frame { transform: none; }
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue