[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,31 @@
|
||||
import CalendarIcon from "@/assets/report/calendar.svg?react";
|
||||
import GlobeIcon from "@/assets/report/globe.svg?react";
|
||||
import MapPinIcon from "@/assets/report/map-pin.svg?react";
|
||||
import { OVERVIEW_META_CHIP_CLASS } from "@/features/report/ui/overview/overviewSectionStyles";
|
||||
|
||||
export type OverviewMetaChipsProps = {
|
||||
date: string;
|
||||
targetUrl: string;
|
||||
location: string;
|
||||
};
|
||||
|
||||
export function OverviewMetaChips({ date, targetUrl, location }: OverviewMetaChipsProps) {
|
||||
return (
|
||||
<div className="flex flex-wrap gap-3 justify-center md:justify-start animate-fade-in-up animation-delay-300">
|
||||
<span className={OVERVIEW_META_CHIP_CLASS}>
|
||||
<CalendarIcon className="text-neutral-60 shrink-0" width={16} height={16} aria-hidden />
|
||||
<span className="break-keep">{date}</span>
|
||||
</span>
|
||||
<span className={OVERVIEW_META_CHIP_CLASS}>
|
||||
<GlobeIcon className="text-neutral-60 shrink-0" width={16} height={16} aria-hidden />
|
||||
<span className="truncate max-w-[min(100%,280px)]" title={targetUrl}>
|
||||
{targetUrl}
|
||||
</span>
|
||||
</span>
|
||||
<span className={OVERVIEW_META_CHIP_CLASS}>
|
||||
<MapPinIcon className="text-neutral-60 shrink-0" width={16} height={16} aria-hidden />
|
||||
<span className="break-keep text-left">{location}</span>
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user