|
@@ -55,7 +55,7 @@ const SectionDownload = ({ t, isCN }) => {
|
|
|
onClick={onClick}
|
|
|
className='group hover:bg-gray-100 duration-300 cursor-pointer w-full h-[8vh] p-[2vh] flex flex-row items-center justify-center rounded border'>
|
|
|
<SVGIcon type={platformType} />
|
|
|
- <div className='ml-3 font-thin text-white group-hover:text-blue-500 duration-300 tracking-widest-cn'>
|
|
|
+ <div className='ml-3 bg-gradient-text text-transparent bg-clip-text group-hover:text-blue-500 duration-300 tracking-widest-cn'>
|
|
|
{buttonString}
|
|
|
</div>
|
|
|
</div>
|
|
@@ -68,7 +68,7 @@ const SectionDownload = ({ t, isCN }) => {
|
|
|
onClick={onClick}
|
|
|
className='group hover:bg-gray-100 duration-300 cursor-pointer w-full h-[8vh] p-[2vh] flex flex-row items-center justify-center rounded border'>
|
|
|
<SVGIcon type={platformType} />
|
|
|
- <div className='ml-3 bg-gradient-text text-transparent bg-clip-text group-hover:text-blue-500 duration-300 tracking-widest-cn'>
|
|
|
+ <div className='ml-3 font-thin text-white group-hover:text-blue-500 duration-300 tracking-widest-cn'>
|
|
|
{buttonString}
|
|
|
</div>
|
|
|
</div>
|
|
@@ -80,7 +80,7 @@ const SectionDownload = ({ t, isCN }) => {
|
|
|
<div
|
|
|
onClick={onClick}
|
|
|
className='group hover:bg-gray-100 duration-300 cursor-pointer w-full h-[8vh] p-[2vh] flex flex-row items-center justify-center rounded border'>
|
|
|
- <div className='font-thin text-white group-hover:text-blue-500 duration-300 tracking-widest-cn'>
|
|
|
+ <div className='bg-gradient-text text-transparent bg-clip-text group-hover:text-blue-500 duration-300 tracking-widest-cn'>
|
|
|
{buttonString}
|
|
|
</div>
|
|
|
</div>
|
|
@@ -93,7 +93,7 @@ const SectionDownload = ({ t, isCN }) => {
|
|
|
onClick={onClick}
|
|
|
className='group hover:bg-gray-100 duration-300 cursor-pointer w-full h-[8vh] p-[2vh] flex flex-row items-center justify-center rounded border'>
|
|
|
<SVGIcon type={'web-pre'} />
|
|
|
- <div className='ml-3 bg-gradient-text text-transparent bg-clip-text group-hover:text-blue-500 duration-300 tracking-widest-cn'>
|
|
|
+ <div className='ml-3 font-thin text-white group-hover:text-blue-500 duration-300 tracking-widest-cn'>
|
|
|
{t('直接登录')}
|
|
|
</div>
|
|
|
</div>
|
|
@@ -149,74 +149,74 @@ const SectionDownload = ({ t, isCN }) => {
|
|
|
<Tabs.Trigger
|
|
|
className='duration-300 backdrop-blur-sm bg-white bg-opacity-30 data-[state=active]:font-bold data-[state=active]:bg-opacity-90 px-5 h-[8vh] flex-1 flex items-center justify-center text-xl tracking-widest-cn text-gray-300 select-none first:rounded-tl-md last:rounded-tr-md hover:text-gray-100 data-[state=active]:text-blue-500 data-[state=active]:shadow-[inset_0_-3px_0_0,0_1px_0_0] data-[state=active]:shadow-white data-[state=active]:focus:relative outline-none cursor-pointer'
|
|
|
value={DOWNLOADS_TABS[1]}>
|
|
|
- {t('预览版')}
|
|
|
+ {t('旧版本')}
|
|
|
</Tabs.Trigger>
|
|
|
</Tabs.List>
|
|
|
<div className='grow backdrop-blur-sm bg-white bg-opacity-20 rounded-b-md outline-none overflow-x-hidden'>
|
|
|
<div className={_buildTabContainerClass}>
|
|
|
<div className='grid grid-cols-1 md:grid-cols-2 gap-6 p-5'>
|
|
|
- <_buildStaDownloadButton
|
|
|
- platformType='android'
|
|
|
+ <_buildPreDownloadButton
|
|
|
+ platformType='android-pre'
|
|
|
buttonString={t('Android 客户端下载')}
|
|
|
onClick={() =>
|
|
|
- _handleWindowOpen(config.OLD_FLYINSONO_ANDROID_DOWNLOAD_URL)
|
|
|
+ _handleWindowOpen(config.FLYINSONO_ANDROID_DOWNLOAD_URL)
|
|
|
}
|
|
|
/>
|
|
|
- <_buildStaDownloadButton
|
|
|
- platformType='apple'
|
|
|
+ <_buildPreDownloadButton
|
|
|
+ platformType='apple-pre'
|
|
|
buttonString={t('iOS 客户端下载')}
|
|
|
onClick={() =>
|
|
|
- _handleWindowOpen(config.OLD_FLYINSONO_IOS_DOWNLOAD_URL)
|
|
|
+ _handleWindowOpen(config.FLYINSONO_IOS_DOWNLOAD_URL)
|
|
|
}
|
|
|
/>
|
|
|
<div className='hidden md:block'>
|
|
|
- <_buildStaDownloadButton
|
|
|
- platformType='windows'
|
|
|
+ <_buildPreDownloadButton
|
|
|
+ platformType='windows-pre'
|
|
|
buttonString={t('Windows 客户端下载')}
|
|
|
onClick={() =>
|
|
|
- _handleWindowOpen(
|
|
|
- config.OLD_FLYINSONO_WINDOWS_DOWNLOAD_URL,
|
|
|
- )
|
|
|
+ _handleWindowOpen(config.FLYINSONO_WINDOWS_DOWNLOAD_URL)
|
|
|
}
|
|
|
/>
|
|
|
</div>
|
|
|
<div className='hidden md:block'>
|
|
|
- <_buildTextButton
|
|
|
- buttonString={t('Sonopost 配置工具')}
|
|
|
+ <_buildLoginButton
|
|
|
onClick={() =>
|
|
|
- _handleWindowOpen(config.SONOPOST_TOOL_DOWNLOAD_URL)
|
|
|
+ _handleWindowOpen(config.FLYINSONO_WEB_APP_URL)
|
|
|
}
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div className='grid grid-cols-1 md:grid-cols-2 gap-6 p-5'>
|
|
|
- <_buildPreDownloadButton
|
|
|
- platformType='android-pre'
|
|
|
+ <_buildStaDownloadButton
|
|
|
+ platformType='android'
|
|
|
buttonString={t('Android 客户端下载')}
|
|
|
onClick={() =>
|
|
|
- _handleWindowOpen(config.FLYINSONO_ANDROID_DOWNLOAD_URL)
|
|
|
+ _handleWindowOpen(config.OLD_FLYINSONO_ANDROID_DOWNLOAD_URL)
|
|
|
}
|
|
|
/>
|
|
|
- <_buildPreDownloadButton
|
|
|
- platformType='apple-pre'
|
|
|
+ <_buildStaDownloadButton
|
|
|
+ platformType='apple'
|
|
|
buttonString={t('iOS 客户端下载')}
|
|
|
onClick={() =>
|
|
|
- _handleWindowOpen(config.FLYINSONO_IOS_DOWNLOAD_URL)
|
|
|
+ _handleWindowOpen(config.OLD_FLYINSONO_IOS_DOWNLOAD_URL)
|
|
|
}
|
|
|
/>
|
|
|
<div className='hidden md:block'>
|
|
|
- <_buildPreDownloadButton
|
|
|
- platformType='windows-pre'
|
|
|
+ <_buildStaDownloadButton
|
|
|
+ platformType='windows'
|
|
|
buttonString={t('Windows 客户端下载')}
|
|
|
onClick={() =>
|
|
|
- _handleWindowOpen(config.FLYINSONO_WINDOWS_DOWNLOAD_URL)
|
|
|
+ _handleWindowOpen(
|
|
|
+ config.OLD_FLYINSONO_WINDOWS_DOWNLOAD_URL,
|
|
|
+ )
|
|
|
}
|
|
|
/>
|
|
|
</div>
|
|
|
<div className='hidden md:block'>
|
|
|
- <_buildLoginButton
|
|
|
+ <_buildTextButton
|
|
|
+ buttonString={t('Sonopost 配置工具')}
|
|
|
onClick={() =>
|
|
|
- _handleWindowOpen(config.FLYINSONO_WEB_APP_URL)
|
|
|
+ _handleWindowOpen(config.SONOPOST_TOOL_DOWNLOAD_URL)
|
|
|
}
|
|
|
/>
|
|
|
</div>
|