fix: hiển thị mô tả và tên của hành trình có thêm tags

This commit is contained in:
2026-06-16 11:21:43 +07:00
parent 8cca4a83ca
commit f78c72ad60
5 changed files with 60 additions and 43 deletions
+3 -1
View File
@@ -526,8 +526,9 @@ export const TourDetailPage = ({ onBack, tourId, isPublicView = false }: { onBac
<div className="max-w-2xl mx-auto space-y-4">
<h2 className="text-3xl font-black tracking-tight drop-shadow-md">{tourInfo.title}</h2>
{/* Nhãn hiển thị ngay dưới Tiêu đề */}
{currentTour?.tags && currentTour.tags.length > 0 && (
<div className="flex flex-wrap gap-2">
<div className="flex flex-wrap gap-2 pt-1">
{currentTour.tags.map((tag: string) => (
<span key={tag} className="px-2.5 py-1 bg-white/20 backdrop-blur-md border border-white/30 rounded-lg text-[10px] font-black uppercase tracking-wider">
{tag}
@@ -536,6 +537,7 @@ export const TourDetailPage = ({ onBack, tourId, isPublicView = false }: { onBac
</div>
)}
{/* Mô tả hiển thị dưới Nhãn */}
{currentTour?.description && (
<p className="text-sm md:text-base text-white/90 max-w-xl line-clamp-3 md:line-clamp-none bg-black/20 backdrop-blur-sm p-4 rounded-2xl border border-white/10 italic leading-relaxed">
<Quote className="w-4 h-4 inline-block mr-2 opacity-50" />