이름: solution/front → solution/frontend
`backend` 옆에 `front` 가 있을 이유가 없었다. negosium 의 negodata/front 를 그대로 베꼈고 그게 왜 front 인지는 따져보지 않았다 — 근거 없이 들여온 이름이라 바로잡는다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019uYhHQdssRubirPirrdJJC
This commit is contained in:
1 parent
06f6438d9b
commit
c85c577349
480 files changed
+22
-22
No files matched your search
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* 소개 · 가운데 정렬 — 짧은 문단 하나로 끝내는 가장 조용한 구성.
|
||||
*/
|
||||
import {SectionBody, SectionFrame, SectionHeading} from '../../primitives';
|
||||
import type {SectionRenderProps} from '../../types';
|
||||
import {EmptyStateNotice} from '../../primitives';
|
||||
import {introParagraph} from '../common';
|
||||
|
||||
export function IntroCentered(props: SectionRenderProps) {
|
||||
const intro = props.section.body?.trim() || introParagraph(props.industryId, props.infoFields);
|
||||
const {section, isSelected, onSelect, storeName, template} = props;
|
||||
|
||||
return (
|
||||
<SectionFrame section={section} isSelected={isSelected} onSelect={onSelect} tone="paper">
|
||||
<SectionBody width="narrow">
|
||||
<SectionHeading
|
||||
variant="centered"
|
||||
eyebrow="ABOUT US"
|
||||
title={section.name}
|
||||
subtitle={section.description}
|
||||
colors={template.colors}
|
||||
/>
|
||||
{intro ? (
|
||||
<p className="text-center text-xs leading-relaxed text-stone-600 sm:text-sm">
|
||||
{intro}
|
||||
</p>
|
||||
) : (
|
||||
<EmptyStateNotice>
|
||||
아직 소개문이 없습니다 — 확인된 정보만 근거로 씁니다.
|
||||
</EmptyStateNotice>
|
||||
)}
|
||||
</SectionBody>
|
||||
</SectionFrame>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
/**
|
||||
* 소개 · 사진 옆 글 — 왼쪽 세로 사진, 오른쪽 문단 + 특징 목록.
|
||||
* 사진과 설명을 같은 눈높이에서 함께 읽히고 싶을 때.
|
||||
*/
|
||||
import {EmptyStateNotice, SectionBody, SectionFrame, SectionHeading} from '../../primitives';
|
||||
import type {SectionRenderProps} from '../../types';
|
||||
import {primaryPhoto, introParagraph} from '../common';
|
||||
|
||||
export function IntroSideBySide(props: SectionRenderProps) {
|
||||
const intro = props.section.body?.trim() || introParagraph(props.industryId, props.infoFields);
|
||||
const {section, isSelected, onSelect, storeName, template, photos} = props;
|
||||
const shot = photos[1] ?? primaryPhoto(photos);
|
||||
// 사진이 없으면 회색 판만 남기고 <img> 는 렌더하지 않는다.
|
||||
const shotUrl = shot?.url;
|
||||
|
||||
return (
|
||||
<SectionFrame section={section} isSelected={isSelected} onSelect={onSelect} tone="paper">
|
||||
<SectionBody>
|
||||
<SectionHeading
|
||||
variant="eyebrow"
|
||||
eyebrow="ABOUT"
|
||||
title={section.name}
|
||||
subtitle={section.description}
|
||||
/>
|
||||
|
||||
<div className="grid grid-cols-1 items-center gap-6 md:grid-cols-12">
|
||||
<div className="md:col-span-5">
|
||||
<div className="relative aspect-3/4 overflow-hidden rounded-2xl border border-stone-200/80 bg-stone-100">
|
||||
{shotUrl && (
|
||||
<img src={shotUrl} alt={`${storeName} 공간`} className="size-full object-cover" />
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="space-y-4 md:col-span-7">
|
||||
{intro ? (
|
||||
<p className="text-xs leading-relaxed text-stone-700 sm:text-sm">{intro}</p>
|
||||
) : (
|
||||
<EmptyStateNotice>
|
||||
아직 소개문이 없습니다 — 확인된 정보만 근거로 씁니다.
|
||||
</EmptyStateNotice>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</SectionBody>
|
||||
</SectionFrame>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* 소개 · 스토리 — 넓은 사진 한 장 아래로 문단이 흐르는 잡지식 구성.
|
||||
*/
|
||||
import {EmptyStateNotice, SectionBody, SectionFrame, SectionHeading} from '../../primitives';
|
||||
import type {SectionRenderProps} from '../../types';
|
||||
import {introParagraph} from '../common';
|
||||
|
||||
export function IntroStory(props: SectionRenderProps) {
|
||||
const intro = props.section.body?.trim() || introParagraph(props.industryId, props.infoFields);
|
||||
const {section, isSelected, onSelect, storeName, template, photos} = props;
|
||||
const shotUrl = photos[1]?.url;
|
||||
|
||||
return (
|
||||
<SectionFrame section={section} isSelected={isSelected} onSelect={onSelect} tone="paper">
|
||||
<SectionBody>
|
||||
<SectionHeading
|
||||
title={section.name}
|
||||
subtitle={section.description}
|
||||
colors={template.colors}
|
||||
/>
|
||||
|
||||
<div className="relative aspect-16/9 overflow-hidden rounded-xl border border-stone-200/80 bg-stone-100 sm:aspect-21/9">
|
||||
{shotUrl && (
|
||||
<img src={shotUrl} alt={`${storeName} 공간`} className="size-full object-cover" />
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="space-y-4">
|
||||
{intro ? (
|
||||
<p className="font-sans text-xs leading-relaxed text-stone-700 sm:text-base">
|
||||
{intro}
|
||||
</p>
|
||||
) : (
|
||||
<EmptyStateNotice>
|
||||
아직 소개문이 없습니다 — 확인된 정보만 근거로 씁니다.
|
||||
</EmptyStateNotice>
|
||||
)}
|
||||
</div>
|
||||
</SectionBody>
|
||||
</SectionFrame>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user