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,
enableBroadcastChannelProvider: 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',
enablePreloading: true,
enableNewSettingModal: true,
@ -41,7 +41,7 @@ const buildPreset = {
enableTestProperties: true,
enableBroadcastChannelProvider: 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',
enablePreloading: true,
enableNewSettingModal: true,

Binary file not shown.

Binary file not shown.

View File

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

View File

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