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