mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
@@ -10,6 +10,7 @@ export const centerContainer = style({
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
|
height: 'fit-content',
|
||||||
});
|
});
|
||||||
export const content = style({
|
export const content = style({
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
|
|||||||
@@ -59,6 +59,21 @@ export const editSettingsLink = style({
|
|||||||
textDecoration: 'none',
|
textDecoration: 'none',
|
||||||
color: cssVar('linkColor'),
|
color: cssVar('linkColor'),
|
||||||
fontSize: cssVar('fontSm'),
|
fontSize: cssVar('fontSm'),
|
||||||
|
});
|
||||||
|
|
||||||
|
export const docFooter = style({
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
|
alignItems: 'center',
|
||||||
|
rowGap: 12,
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
bottom: 48,
|
bottom: 48,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const docFooterText = style({
|
||||||
|
display: 'flex',
|
||||||
|
alignItems: 'center',
|
||||||
|
gap: 10,
|
||||||
|
fontSize: cssVar('fontXs'),
|
||||||
|
color: cssVar('textSecondaryColor'),
|
||||||
|
});
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { Button } from '@affine/component/ui/button';
|
|||||||
import { resolveLinkToDoc } from '@affine/core/modules/navigation';
|
import { resolveLinkToDoc } from '@affine/core/modules/navigation';
|
||||||
import { appIconMap, appNames } from '@affine/core/utils/channel';
|
import { appIconMap, appNames } from '@affine/core/utils/channel';
|
||||||
import { Trans, useI18n } from '@affine/i18n';
|
import { Trans, useI18n } from '@affine/i18n';
|
||||||
import { Logo1Icon } from '@blocksuite/icons/rc';
|
import { LocalWorkspaceIcon, Logo1Icon } from '@blocksuite/icons/rc';
|
||||||
import { useService } from '@toeverything/infra';
|
import { useService } from '@toeverything/infra';
|
||||||
import type { MouseEvent } from 'react';
|
import type { MouseEvent } from 'react';
|
||||||
import { useCallback } from 'react';
|
import { useCallback } from 'react';
|
||||||
@@ -150,14 +150,19 @@ export const OpenInAppPage = ({ urlToOpen, openHereClicked }: OpenAppProps) => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{maybeDocLink ? (
|
{maybeDocLink ? (
|
||||||
<a
|
<div className={styles.docFooter}>
|
||||||
className={styles.editSettingsLink}
|
<button
|
||||||
onClick={goToAppearanceSetting}
|
className={styles.editSettingsLink}
|
||||||
target="_blank"
|
onClick={goToAppearanceSetting}
|
||||||
rel="noreferrer"
|
>
|
||||||
>
|
{t['com.affine.auth.open.affine.doc.edit-settings']()}
|
||||||
{t['com.affine.auth.open.affine.doc.edit-settings']()}
|
</button>
|
||||||
</a>
|
|
||||||
|
<div className={styles.docFooterText}>
|
||||||
|
<LocalWorkspaceIcon width={16} height={16} />
|
||||||
|
{t['com.affine.auth.open.affine.doc.footer-text']()}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
"fr": 71,
|
"fr": 71,
|
||||||
"hi": 2,
|
"hi": 2,
|
||||||
"it": 1,
|
"it": 1,
|
||||||
"ja": 95,
|
"ja": 94,
|
||||||
"ko": 84,
|
"ko": 84,
|
||||||
"pl": 0,
|
"pl": 0,
|
||||||
"pt-BR": 91,
|
"pt-BR": 91,
|
||||||
|
|||||||
@@ -231,6 +231,7 @@
|
|||||||
"com.affine.auth.open.affine.try-again": "Try again",
|
"com.affine.auth.open.affine.try-again": "Try again",
|
||||||
"com.affine.auth.open.affine.doc.open-here": "Open here instead",
|
"com.affine.auth.open.affine.doc.open-here": "Open here instead",
|
||||||
"com.affine.auth.open.affine.doc.edit-settings": "Edit settings",
|
"com.affine.auth.open.affine.doc.edit-settings": "Edit settings",
|
||||||
|
"com.affine.auth.open.affine.doc.footer-text": "Requires AFFiNE desktop app version 0.18 or later.",
|
||||||
"com.affine.auth.page.sent.email.subtitle": "Please set a password of {{min}}-{{max}} characters with both letters and numbers to continue signing up with ",
|
"com.affine.auth.page.sent.email.subtitle": "Please set a password of {{min}}-{{max}} characters with both letters and numbers to continue signing up with ",
|
||||||
"com.affine.auth.page.sent.email.title": "Welcome to AFFiNE Cloud, you are almost there!",
|
"com.affine.auth.page.sent.email.title": "Welcome to AFFiNE Cloud, you are almost there!",
|
||||||
"com.affine.auth.password": "Password",
|
"com.affine.auth.password": "Password",
|
||||||
|
|||||||
Reference in New Issue
Block a user