소개 페이지를 스킬 전체 경로로 다시 만들고, 배운 것을 스킬에 반영
방향을 글래스로 바꿀 때 2단계 재결정을 하고도 전체 경로로 올리지 않았다.
레퍼런스 없이 재질만 갈아끼운 결과가 스위스 미니멀 뼈대에 유리를 바른
페이지였고, design.md 는 초판 결정을 그대로 담고 있었다. 0단계부터 다시 돌았다.
1단계 — 레퍼런스 3개를 computed style 까지 실측
R1 zed.dev 컨테이너 1120px 과 전체폭이 교대 · radius 2px 621회
R2 lusion.co 3D 는 액자 안, 텍스트는 액자 밖 · 배경 흰색 · h1 36px
R3 Codrops DOM 이 구조를 소유하고 WebGL 은 uniform 만 만진다
2단계 — 프리셋 swiss-minimal → dark-instrument, 컨셉 "검사대 위의 물체"
유리는 액자에만 남긴다(헤더 · 검사대 · 명령창)
4단계 — 히어로 재구성. 캔버스를 배경에서 빼 액자 안으로, 텍스트는 밖으로
판독기가 통과한 게이트를 표시한다(값이 바뀔 때만 DOM 을 쓴다)
파이프라인을 2열로 열어 625px → 1113px
5단계에서 실제로 걸린 것
게이트 3 radius 4종 → 2종 (3px / 14px, pill 제거)
게이트 1 base.css 토큰 밖 rgb() 7곳 → 토큰
게이트 7 헤더 English 2.59:1 → ink 로 상향
카운트 히어로 h1 4줄 → 2줄
셰이더 판이 정면이라 프레넬이 구조적으로 0. 법선을 굽히고 UV 로 테두리
셰이더 gl_FragCoord 를 렌더 타겟 크기로 나눠 UV 가 1 을 넘고 있었다
수치 페이지가 실은 "타입 단계 5단계"가 실측 9종이었다. lang 속성이
스케일을 재정의해 링크 하나가 16px 로 새고 있었다
측정 대비 스크립트가 반투명 배경을 불투명으로 계산했다. 알파 합성으로 교정
스킬 반영
three.md §0-A 배치 원리(3D 는 액자 안) · 프레넬 0 함정 · gl_FragCoord 함정
preflight.md 대비 측정 시 알파 합성. 검사 도구가 틀리면 통과도 의미가 없다
최종: 하드 게이트 12/12, 대비 실패 0, 320px 오버플로 0, 테스트 22개 통과
This commit is contained in:
parent
eb3ca69b5d
commit
9648d1d82a
15 changed files with 576 additions and 306 deletions
|
|
@ -8,9 +8,9 @@ interface Props {
|
|||
const { command, copyLabel, copiedLabel, note } = Astro.props;
|
||||
---
|
||||
|
||||
{/* 셸 안에 코어. 명령어는 기계의 부품처럼 앉는다 */}
|
||||
<div class="cmd-shell shell">
|
||||
<div class="cmd core">
|
||||
{/* 명령어를 담는 액자. 유리를 쓰는 세 자리 중 하나다 */}
|
||||
<div class="cmd-shell frame">
|
||||
<div class="cmd">
|
||||
<code class="cmd-text">{command}</code>
|
||||
<button type="button" class="cmd-copy" data-copy={command} data-copied={copiedLabel}>
|
||||
<span class="cmd-copy-label">{copyLabel}</span>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
---
|
||||
import { Image } from "astro:assets";
|
||||
import CopyCommand from "./CopyCommand.astro";
|
||||
import shotCoffee from "../assets/shots/shot-coffee.png";
|
||||
import type { Content } from "../i18n/content";
|
||||
|
||||
interface Props {
|
||||
|
|
@ -11,157 +9,199 @@ interface Props {
|
|||
const { c, ui } = Astro.props;
|
||||
---
|
||||
|
||||
{/*
|
||||
구조는 R2(lusion.co) 실측에서 왔다.
|
||||
3D 를 가장 잘 쓰는 스튜디오가 텍스트를 3D 위에 얹지 않는다.
|
||||
액자 안은 3D, 액자 밖은 글자. 그래서 대비 문제가 생기지 않고
|
||||
h1 이 36px 이어도 히어로가 압도적이다 — 힘이 타이포가 아니라 물체에서 나온다.
|
||||
|
||||
이전 판은 정반대였다. 캔버스를 배경 전체에 깔고 그 위에 7rem 짜리
|
||||
헤드라인을 얹었다. 판 여섯 장은 흐린 얼룩이 됐고, 글자는 대비를
|
||||
얻으려고 글로우를 깔아야 했다. 둘 다 소리치다 둘 다 죽었다.
|
||||
*/}
|
||||
<section class="full hero">
|
||||
{/* 배경. WebGL 이 없으면 아래 그라디언트가 그대로 결과물이다 */}
|
||||
<div class="hero-bg" aria-hidden="true">
|
||||
<div class="hero-fallback"></div>
|
||||
<canvas id="hero-canvas" class="hero-canvas"></canvas>
|
||||
</div>
|
||||
<div class="hero-head">
|
||||
<h1 class="hero-title">{c.h1}</h1>
|
||||
|
||||
<div class="hero-grid">
|
||||
<div class="hero-copy">
|
||||
<h1 class="hero-title">{c.h1}</h1>
|
||||
<div class="hero-aside">
|
||||
<p class="lead hero-lead">{c.lead}</p>
|
||||
|
||||
<div class="hero-cta">
|
||||
<CopyCommand
|
||||
command={c.install}
|
||||
copyLabel={ui.copy}
|
||||
copiedLabel={ui.copied}
|
||||
note={c.installNote}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<CopyCommand
|
||||
command={c.install}
|
||||
copyLabel={ui.copy}
|
||||
copiedLabel={ui.copied}
|
||||
note={c.installNote}
|
||||
/>
|
||||
<p class="hero-links">
|
||||
{c.links.map((l) => <a class="link-grow" href={l.href}>{l.label}</a>)}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* 가짜 목업이 아니라 이 스킬로 실제로 만든 페이지다 */}
|
||||
<figure class="hero-proof par-slow">
|
||||
<div class="shell">
|
||||
<div class="core">
|
||||
<Image
|
||||
src={shotCoffee}
|
||||
alt={c.proofAlt}
|
||||
widths={[520, 900, 1280]}
|
||||
sizes="(max-width: 960px) 88vw, 44vw"
|
||||
loading="eager"
|
||||
fetchpriority="high"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<figcaption>{c.proofCaption}</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
|
||||
<figure class="hero-stage">
|
||||
<div class="stage-frame">
|
||||
{/* WebGL 이 없으면 이 그라디언트가 그대로 결과물이다 */}
|
||||
<div class="stage-fallback" aria-hidden="true"></div>
|
||||
<canvas id="hero-canvas" class="stage-canvas" aria-label={c.stage.alt} role="img"></canvas>
|
||||
|
||||
{/* 계기판이니 판정을 읽어준다. 3D 가 장식이 아니라 상태 표시가 된다 */}
|
||||
<p class="stage-readout" aria-hidden="true">
|
||||
<span class="ro-key">{c.stage.gate}</span>
|
||||
<span class="ro-val" id="ro-gate">01</span>
|
||||
<span class="ro-sep">/</span>
|
||||
<span class="ro-total">06</span>
|
||||
<span class="ro-state" id="ro-state">{c.stage.pass}</span>
|
||||
</p>
|
||||
</div>
|
||||
<figcaption>{c.stage.caption}</figcaption>
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
.hero {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
display: grid;
|
||||
grid-template-columns: subgrid;
|
||||
padding-block: calc(var(--space-8) + var(--space-3)) var(--space-8);
|
||||
min-height: min(92dvh, 60rem);
|
||||
align-content: center;
|
||||
overflow: clip;
|
||||
grid-column: full;
|
||||
padding-block: calc(var(--space-6) + var(--space-4)) var(--space-7);
|
||||
}
|
||||
|
||||
.hero-bg {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
/* ---- 액자 밖: 글자 -------------------------------------- */
|
||||
.hero-head {
|
||||
max-width: 1180px;
|
||||
margin-inline: auto;
|
||||
padding-inline: var(--space-4);
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
|
||||
gap: var(--space-6);
|
||||
align-items: start;
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
.hero-fallback,
|
||||
.hero-canvas {
|
||||
|
||||
.hero-title {
|
||||
/* 7rem 을 버렸다. 액자가 주인공이면 헤드라인은 물러난다.
|
||||
두 줄을 넘기지 않는 폭이다(카운트 규칙: 히어로 헤드라인 <= 2줄) */
|
||||
font-size: clamp(var(--step-2), 1.1rem + 2.4vw, var(--step-4));
|
||||
line-height: 1.12;
|
||||
letter-spacing: var(--tracking-display);
|
||||
max-width: 18ch;
|
||||
margin: 0;
|
||||
}
|
||||
[lang="en"] .hero-title { max-width: 20ch; line-height: 1.04; }
|
||||
|
||||
.hero-aside { display: grid; gap: var(--space-3); align-content: start; }
|
||||
.hero-lead {
|
||||
margin: 0;
|
||||
max-width: 30em;
|
||||
color: var(--ink);
|
||||
opacity: 0.82;
|
||||
}
|
||||
.hero-links {
|
||||
display: flex;
|
||||
gap: var(--space-4);
|
||||
margin: 0;
|
||||
font-size: var(--step-0);
|
||||
color: var(--ink-muted);
|
||||
}
|
||||
|
||||
/* ---- 액자 안: 물체 -------------------------------------- */
|
||||
.hero-stage {
|
||||
margin: 0;
|
||||
max-width: 1400px;
|
||||
margin-inline: auto;
|
||||
padding-inline: var(--space-4);
|
||||
}
|
||||
|
||||
.stage-frame {
|
||||
position: relative;
|
||||
aspect-ratio: 16 / 5.5;
|
||||
border: 1px solid var(--glass-edge);
|
||||
border-radius: var(--radius-frame);
|
||||
background: var(--surface-sunken);
|
||||
box-shadow: var(--glass-hi), var(--shadow-3);
|
||||
overflow: clip;
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.stage-fallback,
|
||||
.stage-canvas {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
.hero-fallback {
|
||||
/* 광원이 화면 밖으로 번지되 페이지 폭은 늘리지 않는다 */
|
||||
transform: scale(1.15);
|
||||
.stage-fallback {
|
||||
background:
|
||||
radial-gradient(46vw 40vw at 22% 18%,
|
||||
color-mix(in oklab, var(--accent) 40%, transparent), transparent 66%),
|
||||
radial-gradient(40vw 38vw at 82% 30%,
|
||||
color-mix(in oklab, var(--glow-2) 32%, transparent), transparent 64%);
|
||||
filter: blur(28px);
|
||||
radial-gradient(58% 76% at 26% 22%,
|
||||
color-mix(in oklab, var(--accent) 34%, transparent), transparent 68%),
|
||||
radial-gradient(52% 70% at 80% 64%,
|
||||
color-mix(in oklab, var(--glow-2) 30%, transparent), transparent 66%);
|
||||
}
|
||||
.hero-canvas { opacity: 0; transition: opacity 1.2s var(--ease-soft); }
|
||||
.hero-canvas.is-live { opacity: 1; }
|
||||
.stage-canvas { opacity: 0; transition: opacity 1.2s var(--ease-soft); }
|
||||
.stage-canvas.is-live { opacity: 1; }
|
||||
|
||||
.hero-grid {
|
||||
grid-column: full;
|
||||
max-width: 1180px;
|
||||
width: 100%;
|
||||
margin-inline: auto;
|
||||
padding-inline: var(--space-4);
|
||||
display: grid;
|
||||
gap: var(--space-6);
|
||||
align-items: center;
|
||||
grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
/* 히어로는 이 페이지에서 가장 큰 소리다 */
|
||||
max-width: 11ch;
|
||||
}
|
||||
[lang="en"] .hero-title { max-width: 14ch; }
|
||||
|
||||
.hero-lead {
|
||||
max-width: 26em;
|
||||
margin-block: var(--space-4) var(--space-5);
|
||||
color: var(--ink);
|
||||
opacity: 0.82;
|
||||
}
|
||||
.hero-cta { max-width: 32em; }
|
||||
.hero-links {
|
||||
.stage-readout {
|
||||
position: absolute;
|
||||
left: var(--space-3);
|
||||
bottom: var(--space-3);
|
||||
margin: 0;
|
||||
display: flex;
|
||||
gap: var(--space-4);
|
||||
margin-top: var(--space-4);
|
||||
font-size: var(--step-0);
|
||||
color: var(--ink-muted);
|
||||
align-items: baseline;
|
||||
gap: 0.5ch;
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--step--1);
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: var(--tracking-label);
|
||||
color: var(--ink);
|
||||
/* 캔버스 위에 얹는 유일한 글자다. 판독 가능해야 하므로 바탕을 깐다 */
|
||||
padding: 0.35em 0.7em;
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in oklab, var(--surface-sunken) 82%, transparent);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
.ro-key { color: var(--ink-muted); }
|
||||
.ro-val { color: var(--accent); }
|
||||
.ro-sep, .ro-total { color: var(--ink-muted); }
|
||||
.ro-state {
|
||||
margin-left: 0.8ch;
|
||||
padding-left: 0.8ch;
|
||||
border-left: 1px solid var(--line-strong);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.hero-proof { margin: 0; }
|
||||
.hero-proof .shell {
|
||||
box-shadow: var(--glass-hi), var(--shadow-3);
|
||||
transform: rotate(-1.1deg);
|
||||
}
|
||||
.hero-proof .core { overflow: hidden; line-height: 0; }
|
||||
.hero-proof :global(img) {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
aspect-ratio: 4 / 3;
|
||||
object-fit: cover;
|
||||
object-position: top center;
|
||||
}
|
||||
figcaption {
|
||||
margin-top: var(--space-3);
|
||||
font-size: var(--step-0);
|
||||
color: var(--ink-muted);
|
||||
max-width: var(--measure);
|
||||
}
|
||||
|
||||
@media (max-width: 960px) {
|
||||
.hero-grid { grid-template-columns: 1fr; }
|
||||
.hero-proof .shell { transform: none; }
|
||||
.hero { min-height: 0; }
|
||||
@media (max-width: 900px) {
|
||||
.hero-head { grid-template-columns: 1fr; gap: var(--space-5); }
|
||||
.stage-frame { aspect-ratio: 4 / 3; }
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
// 유리 판이 뒤의 빛을 실제로 굴절시킨다. 렌더 타겟 한 장으로 만든 굴절이라
|
||||
// transmission 재질보다 훨씬 싸다. 자세한 이유는 lib/hero-scene.ts 주석에.
|
||||
// 판 여섯 장이 깊이 축에 서 있고 카메라가 스크롤에 맞춰 통과한다.
|
||||
// 굴절은 렌더 타겟 한 장으로 만든다 — transmission 재질보다 훨씬 싸다.
|
||||
import { mountHeroScene } from "../lib/hero-scene";
|
||||
|
||||
const canvas = document.getElementById("hero-canvas") as HTMLCanvasElement | null;
|
||||
const gateEl = document.getElementById("ro-gate");
|
||||
const stateEl = document.getElementById("ro-state");
|
||||
const passWord = stateEl?.textContent ?? "";
|
||||
|
||||
if (canvas) {
|
||||
mountHeroScene({ canvas, accentVar: "--accent", glowVar: "--glow-2" });
|
||||
let lastGate = -1;
|
||||
mountHeroScene({
|
||||
canvas,
|
||||
accentVar: "--accent",
|
||||
glowVar: "--glow-2",
|
||||
// 프레임마다 DOM 을 쓰지 않는다. 값이 바뀔 때만 쓴다.
|
||||
onGate(index, total) {
|
||||
if (index === lastGate) return;
|
||||
lastGate = index;
|
||||
if (gateEl) gateEl.textContent = String(index + 1).padStart(2, "0");
|
||||
if (stateEl) stateEl.textContent = index + 1 >= total ? passWord : "···";
|
||||
},
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ const { c } = Astro.props;
|
|||
width: 100%;
|
||||
margin-inline: auto;
|
||||
padding: var(--space-5) var(--space-4);
|
||||
border-radius: var(--radius-shell);
|
||||
border-radius: var(--radius-frame);
|
||||
overflow: hidden;
|
||||
}
|
||||
.stage-fallback,
|
||||
|
|
@ -131,7 +131,7 @@ const { c } = Astro.props;
|
|||
/* 필터를 먹일 대상. 같은 도형에 서로 다른 재질을 입힌다 */
|
||||
.swatch {
|
||||
aspect-ratio: 4 / 3;
|
||||
border-radius: var(--radius-md);
|
||||
border-radius: var(--radius-sm);
|
||||
overflow: hidden;
|
||||
background:
|
||||
repeating-linear-gradient(
|
||||
|
|
|
|||
|
|
@ -19,24 +19,27 @@ const { c } = Astro.props;
|
|||
<h2 id="pipeline-h" class="reveal">{c.h2}</h2>
|
||||
<p class="lead pipeline-lead reveal">{c.lead}</p>
|
||||
|
||||
<div class="brief glass reveal"><div class="brief-core">
|
||||
<div class="brief reveal"><div class="brief-core">
|
||||
<span class="brief-label">{c.briefLabel}</span>
|
||||
<p class="brief-text">{c.brief}</p>
|
||||
</div></div>
|
||||
|
||||
<ol role="list" class="spine">
|
||||
{
|
||||
c.stages.map((s) => (
|
||||
<li class="stop reveal">
|
||||
<h3 class="stop-name">{s.name}</h3>
|
||||
<p class="stop-does">{s.does}</p>
|
||||
<p class:list={["stop-becomes", { mono: s.mono }]}>{s.becomes}</p>
|
||||
</li>
|
||||
))
|
||||
}
|
||||
</ol>
|
||||
|
||||
<p class="after muted reveal">{c.after}</p>
|
||||
<div class="full spine-wrap">
|
||||
<ol role="list" class="spine">
|
||||
{
|
||||
c.stages.map((s) => (
|
||||
<li class="stop reveal">
|
||||
<div class="stop-head">
|
||||
<h3 class="stop-name">{s.name}</h3>
|
||||
<p class="stop-does">{s.does}</p>
|
||||
</div>
|
||||
<p class:list={["stop-becomes", { mono: s.mono }]}>{s.becomes}</p>
|
||||
</li>
|
||||
))
|
||||
}
|
||||
</ol>
|
||||
<p class="after muted reveal">{c.after}</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
|
|
@ -44,6 +47,15 @@ const { c } = Astro.props;
|
|||
margin-bottom: var(--space-6);
|
||||
}
|
||||
|
||||
/* 스파인은 페이지의 본체다. main 칼럼(561px)에 가두면
|
||||
페이지에서 가장 긴 섹션이 가장 좁아진다.
|
||||
R1(zed.dev) 실측: 컨테이너 1120px 과 전체폭이 교대한다. */
|
||||
.spine-wrap {
|
||||
max-width: 1180px;
|
||||
margin-inline: auto;
|
||||
padding-inline: var(--space-4);
|
||||
}
|
||||
|
||||
.brief { margin-bottom: var(--space-2); }
|
||||
.brief-core { padding: var(--space-4); }
|
||||
.brief-label {
|
||||
|
|
@ -80,7 +92,12 @@ const { c } = Astro.props;
|
|||
.stop {
|
||||
position: relative;
|
||||
padding-block: var(--space-4);
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
|
||||
gap: var(--space-5);
|
||||
align-items: start;
|
||||
}
|
||||
.stop-head { min-width: 0; }
|
||||
.stop + .stop {
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
|
@ -105,7 +122,8 @@ const { c } = Astro.props;
|
|||
}
|
||||
.stop-does {
|
||||
color: var(--ink-muted);
|
||||
margin-bottom: var(--space-3);
|
||||
margin: 0;
|
||||
max-width: 34ch;
|
||||
}
|
||||
|
||||
/* 브리프가 이 단계에서 무엇이 됐는가 — 변화가 순서를 만든다 */
|
||||
|
|
@ -131,6 +149,14 @@ const { c } = Astro.props;
|
|||
|
||||
.after {
|
||||
margin-top: var(--space-5);
|
||||
max-width: var(--measure);
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
.stop {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
}
|
||||
|
||||
/* 스크롤 진입 페이드를 넣었다가 뺐다.
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ const { c } = Astro.props;
|
|||
top: calc(var(--space-4) + 0.55em);
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 999px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--accent);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,11 +18,9 @@ const shots = [shotCoffee, shotSaas];
|
|||
{
|
||||
c.items.map((item, i) => (
|
||||
<figure class:list={["work", "reveal", i === 0 ? "par-slow" : "par-fast"]} style={`--reveal-delay:${i * 90}ms`}>
|
||||
<div class="shell zoom-in">
|
||||
<div class="core">
|
||||
<Image src={shots[i]!} alt={item.alt} widths={[480, 860, 1200]}
|
||||
sizes="(max-width: 820px) 92vw, 44vw" loading="lazy" />
|
||||
</div>
|
||||
<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>
|
||||
|
|
@ -50,10 +48,10 @@ const shots = [shotCoffee, shotSaas];
|
|||
.work:nth-child(2) { margin-top: var(--space-7); }
|
||||
|
||||
.work { margin: 0; }
|
||||
.work .shell { box-shadow: var(--glass-hi), var(--shadow-3); }
|
||||
.work:nth-child(1) .shell { transform: rotate(-0.5deg); }
|
||||
.work:nth-child(2) .shell { transform: rotate(0.7deg); }
|
||||
.work .core { overflow: hidden; line-height: 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;
|
||||
|
|
@ -72,6 +70,6 @@ const shots = [shotCoffee, shotSaas];
|
|||
@media (max-width: 820px) {
|
||||
.cascade { grid-template-columns: 1fr; }
|
||||
.work:nth-child(2) { margin-top: 0; }
|
||||
.work .shell { transform: none; }
|
||||
.work .frame { transform: none; }
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@ const { c } = Astro.props;
|
|||
|
||||
{/* 주장을 글로 하지 않고 실물로 보여준다. 두 문단의 차이는 word-break 한 줄뿐이다 */}
|
||||
<div class="demo reveal">
|
||||
<div class="demo-col glass"><div class="demo-inner">
|
||||
<div class="demo-col"><div class="demo-inner">
|
||||
<p class="demo-label muted mono">{c.demoLabels[0]}</p>
|
||||
<p lang="ko" class="demo-text demo-default">{c.demoText}</p>
|
||||
</div></div>
|
||||
<div class="demo-col glass"><div class="demo-inner">
|
||||
<div class="demo-col"><div class="demo-inner">
|
||||
<p class="demo-label muted mono">{c.demoLabels[1]}</p>
|
||||
<p lang="ko" class="demo-text demo-keepall">{c.demoText}</p>
|
||||
</div></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue