Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): correct title of onboarding article-2 (#5387)

Cats Juice080f636c1f7d
diff --git a/packages/frontend/core/src/components/affine/onboarding/articles/article-2.tsx b/packages/frontend/core/src/components/affine/onboarding/articles/article-2.tsx
index 9c84a1af01..ee18fbf6b5 100644
--- a/packages/frontend/core/src/components/affine/onboarding/articles/article-2.tsx
+++ b/packages/frontend/core/src/components/affine/onboarding/articles/article-2.tsx
@@ -8,12 +8,7 @@ import { BlogLink } from './blog-link';
export const article2: Array<OnboardingBlockOption> = [
{
- children: (
- <h1>
- Learning with earning with
- <br /> retrieval practice
- </h1>
- ),
+ children: <h1>Learning with retrieval practice</h1>,
offset: { x: -824, y: 0 },
},
{
@@ -150,14 +145,14 @@ export const article2: Array<OnboardingBlockOption> = [
{
children: <img draggable={false} width={380} src={embed1png} />,
edgelessOnly: true,
- position: { x: -300, y: 0 },
+ position: { x: -200, y: -50 },
fromPosition: { x: 300, y: -300 },
},
{
children: <img draggable={false} width={309} src={note1png} />,
edgelessOnly: true,
- position: { x: -360, y: -20 },
+ position: { x: -260, y: -70 },
fromPosition: { x: -360, y: -100 },
enterDelay: 300,
customStyle: {
@@ -170,7 +165,7 @@ export const article2: Array<OnboardingBlockOption> = [
{
children: <img draggable={false} width={1800} src={note2png} />,
edgelessOnly: true,
- position: { x: 0, y: 0 },
+ position: { x: 50, y: 0 },
fromPosition: { x: 2000, y: -2000 },
},
];
diff --git a/packages/frontend/core/src/components/affine/onboarding/articles/index.tsx b/packages/frontend/core/src/components/affine/onboarding/articles/index.tsx
index d10e28e559..1671220a71 100644
--- a/packages/frontend/core/src/components/affine/onboarding/articles/index.tsx
+++ b/packages/frontend/core/src/components/affine/onboarding/articles/index.tsx
@@ -158,7 +158,7 @@ const paperBriefs = {
'2': (
<div className={articleWrapper}>
<article className={article}>
- <h1 className={title}>Learning with earning with retrieval practice</h1>
+ <h1 className={title}>Learning with retrieval practice</h1>
<p className={text}>
Are there any specific techniques to make the process of learning more
effective?