[feat] report 페이지 추가
This commit is contained in:
1 parent
af58b96aff
commit
675cfcab8d
126 files changed
+3642
-1
No files matched your search
@@ -0,0 +1,39 @@
|
||||
import type { ReportOverviewData } from "@/features/report/types/reportOverview";
|
||||
import { OverviewMetaChips } from "@/features/report/ui/overview/OverviewMetaChips";
|
||||
|
||||
export type OverviewHeroColumnProps = {
|
||||
data: ReportOverviewData;
|
||||
};
|
||||
|
||||
export function OverviewHeroColumn({ data }: OverviewHeroColumnProps) {
|
||||
const { clinicName, clinicNameEn, date, targetUrl, location, logoImage } = data;
|
||||
|
||||
return (
|
||||
<div className="flex-1 text-center md:text-left animate-fade-in-up">
|
||||
<p className="font-serif text-3xl md:text-4xl font-normal text-violet-700 mb-4 tracking-wide animate-fade-in-up animation-delay-100 break-keep">
|
||||
Marketing Intelligence Report
|
||||
</p>
|
||||
|
||||
{logoImage ? (
|
||||
<div className="mb-4 animate-fade-in-up animation-delay-100">
|
||||
<img
|
||||
src={logoImage}
|
||||
alt={`${clinicName} 로고`}
|
||||
className="h-16 md:h-20 w-auto object-contain md:mx-0 mx-auto"
|
||||
onError={(e) => {
|
||||
(e.target as HTMLImageElement).style.display = "none";
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
<h1 className="font-serif text-4xl md:text-5xl font-bold text-navy-900 mb-3 animate-fade-in-up animation-delay-200 break-keep">
|
||||
{clinicName}
|
||||
</h1>
|
||||
|
||||
<p className="body-18 text-neutral-70 mb-8 animate-fade-in-up animation-delay-200 break-keep">{clinicNameEn}</p>
|
||||
|
||||
<OverviewMetaChips date={date} targetUrl={targetUrl} location={location} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user