Skip to content

Commit

Permalink
Update hero.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PizzaTool authored Aug 8, 2024
1 parent 87457a0 commit afa050d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/home/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Hero({ locale, CTALocale }) {
}else if(type == 2){ //Linux
window.open('https://download.pizzachrome.org/pizzachrome.dmg')
}else if(type == 3){ //Mac Intel
window.open('https://download.pizzachrome.org/pizzachrome.dmg')
window.open('https://download.pizzachrome.org/pizzachrome_intel.dmg')
}else if(type == 4){ //Mac M
window.open('https://download.pizzachrome.org/pizzachrome.dmg')
}
Expand Down Expand Up @@ -101,7 +101,7 @@ export default function Hero({ locale, CTALocale }) {
<h3 className='w-full mx-auto text-xl text-base-content/80 md:text-center mb-3'>{locale.h4}</h3>
<div className='w-full mx-auto text-xl text-sm text-base-content/80 md:text-center mb-3'>{locale.h5}</div>

<div className='download-button relative'>
<div className={`relative ${isShow ? 'download-buttonS':'download-button'}` }>
{systemInfo == "Windows"?<button className='download-link icon-win' onClick={() => handleNavClick(1)}>{locale.btn} {systemInfo}</button>:''}
{systemInfo == "Mac Intel"?<button className='download-link icon-mac' onClick={() => handleNavClick(3)}>{locale.btn} {systemInfo}</button>:''}

Expand Down

0 comments on commit afa050d

Please sign in to comment.