chore: upadete onboarding video and changlog link (#3255)

This commit is contained in:
JimmFly 2023-07-17 12:31:07 +08:00 committed by GitHub
parent c0749fbb9f
commit e8f8bd21cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 15 deletions

View File

@ -23,7 +23,7 @@ const buildPreset = {
enableTestProperties: false, enableTestProperties: false,
enableBroadcastChannelProvider: true, enableBroadcastChannelProvider: true,
enableDebugPage: true, enableDebugPage: true,
changelogUrl: 'https://affine.pro/blog/whats-new-affine-0630', changelogUrl: 'https://affine.pro/blog/what-is-new-affine-0717',
imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image', imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image',
enablePreloading: true, enablePreloading: true,
enableNewSettingModal: true, enableNewSettingModal: true,
@ -41,7 +41,7 @@ const buildPreset = {
enableTestProperties: true, enableTestProperties: true,
enableBroadcastChannelProvider: true, enableBroadcastChannelProvider: true,
enableDebugPage: true, enableDebugPage: true,
changelogUrl: 'https://affine.pro/blog/whats-new-affine-0630', changelogUrl: 'https://affine.pro/blog/what-is-new-affine-0717',
imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image', imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image',
enablePreloading: true, enablePreloading: true,
enableNewSettingModal: true, enableNewSettingModal: true,

Binary file not shown.

Binary file not shown.

View File

@ -59,7 +59,7 @@ export const AboutAffine = () => {
style={{ cursor: 'pointer' }} style={{ cursor: 'pointer' }}
onClick={() => { onClick={() => {
window.open( window.open(
'https://affine.pro/blog/whats-new-affine-0630', 'https://affine.pro/blog/what-is-new-affine-0717',
'_blank' '_blank'
); );
}} }}

View File

@ -61,8 +61,8 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
{step !== -1 && ( {step !== -1 && (
<div <div
className={clsx(titleStyle, { className={clsx(titleStyle, {
[slideToLeftStyle]: step === 0, [slideToRightStyle]: step === 0,
[formSlideToRightStyle]: step === 1, [formSlideToLeftStyle]: step === 1,
})} })}
> >
{t['com.affine.onboarding.title2']()} {t['com.affine.onboarding.title2']()}
@ -70,8 +70,8 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
)} )}
<div <div
className={clsx(titleStyle, { className={clsx(titleStyle, {
[slideToRightStyle]: step === 1, [slideToLeftStyle]: step === 1,
[formSlideToLeftStyle]: step === 0, [formSlideToRightStyle]: step === 0,
})} })}
> >
{t['com.affine.onboarding.title1']()} {t['com.affine.onboarding.title1']()}
@ -94,8 +94,8 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
muted muted
loop loop
className={clsx(videoStyle, { className={clsx(videoStyle, {
[slideToLeftStyle]: step === 0, [slideToRightStyle]: step === 0,
[formSlideToRightStyle]: step === 1, [formSlideToLeftStyle]: step === 1,
})} })}
data-testid="onboarding-modal-editing-video" data-testid="onboarding-modal-editing-video"
> >
@ -108,8 +108,8 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
muted muted
loop loop
className={clsx(videoStyle, { className={clsx(videoStyle, {
[slideToRightStyle]: step === 1, [slideToLeftStyle]: step === 1,
[formSlideToLeftStyle]: step === 0, [formSlideToRightStyle]: step === 0,
})} })}
data-testid="onboarding-modal-switch-video" data-testid="onboarding-modal-switch-video"
> >
@ -142,8 +142,8 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
{step !== -1 && ( {step !== -1 && (
<div <div
className={clsx(descriptionStyle, { className={clsx(descriptionStyle, {
[slideToLeftStyle]: step === 0, [slideToRightStyle]: step === 0,
[formSlideToRightStyle]: step === 1, [formSlideToLeftStyle]: step === 1,
})} })}
> >
{t['com.affine.onboarding.videoDescription2']()} {t['com.affine.onboarding.videoDescription2']()}
@ -151,8 +151,8 @@ export const TourModal: FC<TourModalProps> = ({ open, onClose }) => {
)} )}
<div <div
className={clsx(descriptionStyle, { className={clsx(descriptionStyle, {
[slideToRightStyle]: step === 1, [slideToLeftStyle]: step === 1,
[formSlideToLeftStyle]: step === 0, [formSlideToRightStyle]: step === 0,
})} })}
> >
{t['com.affine.onboarding.videoDescription1']()} {t['com.affine.onboarding.videoDescription1']()}