add login path on download

This commit is contained in:
priyanshuvish
2025-09-30 16:07:29 +05:30
parent 7b8fe79917
commit 5a11fa4771

View File

@@ -126,7 +126,7 @@ function ResourceCard({ resource, index }: ResourceCardProps) {
backgroundColor: 'var(--color-brand-primary)',
color: 'white'
}}
onClick={() => navigateTo('/learning/articles')}
onClick={() => navigateTo('/self-learner-signup')}
onMouseEnter={(e) => {
e.currentTarget.style.backgroundColor = 'var(--color-brand-accent)';
e.currentTarget.style.color = 'var(--color-brand-black)';
@@ -172,7 +172,7 @@ export function WhitepapersSection() {
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.7, delay: 0.2 }}
viewport={{ once: true }}
>
>
Free Leadership Downloads
</motion.h2>
@@ -185,9 +185,8 @@ export function WhitepapersSection() {
>
<PrimaryCTAButton
text="Browse All Resources"
onClick={() => navigateTo('/learning/articles')}
onClick={() => navigateTo('/self-learner-signup')}
ariaLabel="Browse all leadership resources"
className="browse-resources-cta-override"
/>
</motion.div>
</div>