[resumes][refactor] Update marketing page tabs

pull/434/head
Terence Ho 3 years ago committed by peirong.wu
parent 410d8712c3
commit 75c07e92aa

@ -69,7 +69,7 @@ export function PrimaryFeatures() {
<div
key={feature.title}
className={clsx(
'group relative rounded-full py-1 px-4 lg:rounded-r-none lg:rounded-l-xl lg:p-6',
'group relative rounded-full lg:rounded-r-none lg:rounded-l-xl lg:p-6',
selectedIndex === featureIndex
? 'bg-white lg:bg-white/10 lg:ring-1 lg:ring-inset lg:ring-white/10'
: 'hover:bg-white/10 lg:hover:bg-white/5',
@ -77,6 +77,7 @@ export function PrimaryFeatures() {
<h3>
<Tab
className={clsx(
'rounded-full py-1 px-4',
'font-display text-lg [&:not(:focus-visible)]:focus:outline-none',
selectedIndex === featureIndex
? 'text-blue-600 lg:text-white'
@ -88,7 +89,7 @@ export function PrimaryFeatures() {
</h3>
<p
className={clsx(
'mt-2 hidden text-sm lg:block',
'mt-2 hidden px-4 text-sm lg:block',
selectedIndex === featureIndex
? 'text-white'
: 'text-blue-100 group-hover:text-white',

Loading…
Cancel
Save