From 7124e18e9685cf8a8aa64c548d3608022b057caa Mon Sep 17 00:00:00 2001 From: zuomeng wang Date: Wed, 12 Oct 2022 16:44:26 +0800 Subject: [PATCH 1/2] Fix/update copyright (#491) * fix: info modal minwidth * fix: update copyright info --- apps/venus/src/app/common/Footer.tsx | 2 +- libs/components/editor-core/src/editor/editor.ts | 2 +- libs/components/layout/src/header/Logo/InfoModal.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/venus/src/app/common/Footer.tsx b/apps/venus/src/app/common/Footer.tsx index d8cc674223..18e5d99d12 100644 --- a/apps/venus/src/app/common/Footer.tsx +++ b/apps/venus/src/app/common/Footer.tsx @@ -383,7 +383,7 @@ export const AFFiNEFooter = ({ }} > - Copyright © 2022 AFFiNE. + Copyright © 2022 TOEVERYTHING PTE.LTD. diff --git a/libs/components/editor-core/src/editor/editor.ts b/libs/components/editor-core/src/editor/editor.ts index 2726fe8e7b..78dc8164d1 100644 --- a/libs/components/editor-core/src/editor/editor.ts +++ b/libs/components/editor-core/src/editor/editor.ts @@ -54,7 +54,7 @@ export class Editor implements Virgo { public bdCommands: Commands; public ui_container?: HTMLDivElement; public version = '0.0.1'; - public copyright = '@AFFiNE 2020-2022'; + public copyright = '@TOEVERYTHING PTE.LTD 2022'; private plugin_manager: PluginManager; private hooks: Hooks; private views: Record = {}; diff --git a/libs/components/layout/src/header/Logo/InfoModal.tsx b/libs/components/layout/src/header/Logo/InfoModal.tsx index 590c40e1b7..f8f59d083a 100644 --- a/libs/components/layout/src/header/Logo/InfoModal.tsx +++ b/libs/components/layout/src/header/Logo/InfoModal.tsx @@ -22,7 +22,7 @@ export const InfoModal = ({ open, onClose }: ModalProps) => { -
Copyright © 2022 AFFINE
+
Copyright © 2022 TOEVERYTHING PTE.LTD
); @@ -35,7 +35,7 @@ const Container = styled('div')({ transform: 'translate(-50%, -50%)', width: '60%', maxWidth: '1000px', - minWidth: '840px', + minWidth: '860px', borderRadius: '28px', backgroundColor: '#fff', padding: '48px 48px 40px 48px', From 7f2d6aaceedf3a5289a3c7cc783a5e7edf02a450 Mon Sep 17 00:00:00 2001 From: alt0 Date: Wed, 12 Oct 2022 16:52:51 +0800 Subject: [PATCH 2/2] fix: update copyright info --- apps/venus/src/app/common/Footer.tsx | 2 +- libs/components/editor-core/src/editor/editor.ts | 2 +- libs/components/layout/src/header/Logo/InfoModal.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/venus/src/app/common/Footer.tsx b/apps/venus/src/app/common/Footer.tsx index 18e5d99d12..f44ad6fda5 100644 --- a/apps/venus/src/app/common/Footer.tsx +++ b/apps/venus/src/app/common/Footer.tsx @@ -383,7 +383,7 @@ export const AFFiNEFooter = ({ }} > - Copyright © 2022 TOEVERYTHING PTE.LTD. + Copyright © 2022 Toeverything diff --git a/libs/components/editor-core/src/editor/editor.ts b/libs/components/editor-core/src/editor/editor.ts index 78dc8164d1..bd005c87b9 100644 --- a/libs/components/editor-core/src/editor/editor.ts +++ b/libs/components/editor-core/src/editor/editor.ts @@ -54,7 +54,7 @@ export class Editor implements Virgo { public bdCommands: Commands; public ui_container?: HTMLDivElement; public version = '0.0.1'; - public copyright = '@TOEVERYTHING PTE.LTD 2022'; + public copyright = '@Toeverything 2022'; private plugin_manager: PluginManager; private hooks: Hooks; private views: Record = {}; diff --git a/libs/components/layout/src/header/Logo/InfoModal.tsx b/libs/components/layout/src/header/Logo/InfoModal.tsx index f8f59d083a..a0521860d7 100644 --- a/libs/components/layout/src/header/Logo/InfoModal.tsx +++ b/libs/components/layout/src/header/Logo/InfoModal.tsx @@ -22,7 +22,7 @@ export const InfoModal = ({ open, onClose }: ModalProps) => { -
Copyright © 2022 TOEVERYTHING PTE.LTD
+ );