Skip to content

Commit 90fc559

Browse files
refact: nova data de registro
1 parent 1c21675 commit 90fc559

1 file changed

Lines changed: 34 additions & 18 deletions

File tree

src/app/App.tsx

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function AppContent() {
116116
];
117117

118118
const importantDates = [
119-
{ label: "Paper registration", date: "July 3, 2026" },
119+
{ label: "Paper registration", date: "July 10, 2026" },
120120
{ label: "Paper submission", date: "July 10, 2026" },
121121
{ label: "Author notification", date: "August 3, 2026" },
122122
{ label: "Camera-ready", date: "August 10, 2026" },
@@ -662,23 +662,39 @@ function AppContent() {
662662

663663
<div className="max-w-4xl mx-auto">
664664
<div className="bg-white rounded-2xl border border-slate-200 overflow-hidden shadow-sm">
665-
{importantDates.map((item, index) => (
666-
<AnimatedSection key={index} delay={index * 0.08}>
667-
<motion.div
668-
className="group py-6 px-8 border-b border-slate-200 last:border-b-0 hover:bg-slate-50 transition-all duration-300"
669-
whileHover={{ x: 4 }}
670-
>
671-
<div className="flex justify-between items-center">
672-
<span className="text-slate-700 group-hover:text-slate-900 transition-colors duration-300">
673-
{item.label}
674-
</span>
675-
<span className="font-semibold text-slate-900 text-lg">
676-
{item.date}
677-
</span>
678-
</div>
679-
</motion.div>
680-
</AnimatedSection>
681-
))}
665+
{importantDates.map((item, index) => {
666+
const isPaperRegistration = item.label.toLowerCase().includes("paper registration");
667+
668+
return (
669+
<AnimatedSection key={index} delay={index * 0.08}>
670+
<motion.div
671+
className={`group py-6 px-8 border-b border-slate-200 last:border-b-0 transition-all duration-300
672+
${isPaperRegistration ? 'bg-amber-50/50 hover:bg-amber-50' : 'hover:bg-slate-50'}`}
673+
whileHover={{ x: 4 }}
674+
>
675+
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-2">
676+
<div className="flex items-center gap-3">
677+
<span className={`text-slate-700 group-hover:text-slate-900 transition-colors duration-300
678+
${isPaperRegistration ? 'font-medium text-slate-900' : ''}`}>
679+
{item.label}
680+
</span>
681+
682+
{isPaperRegistration && (
683+
<span className="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-amber-100 text-amber-800 border border-amber-200">
684+
Nova Data
685+
</span>
686+
)}
687+
</div>
688+
689+
<span className={`font-semibold text-lg transition-colors duration-300
690+
${isPaperRegistration ? 'text-amber-700' : 'text-slate-900'}`}>
691+
{item.date}
692+
</span>
693+
</div>
694+
</motion.div>
695+
</AnimatedSection>
696+
);
697+
})}
682698
</div>
683699

684700
<AnimatedSection delay={0.5}>

0 commit comments

Comments
 (0)