Skip to content

Commit 3f1b2c3

Browse files
hipsterusernamepsychedelicious
authored andcommitted
Model Guide link update
1 parent 72e3a4b commit 3f1b2c3

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

invokeai/frontend/web/public/locales/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2450,6 +2450,8 @@
24502450
"upscalingTitle": "Upscale and add detail.",
24512451
"canvasTitle": "Edit and refine on Canvas.",
24522452
"generateTitle": "Generate images from text prompts.",
2453+
"modelGuideText": "Want to learn what prompts work best for each model?",
2454+
"modelGuideLink": "Check out our Model Guide.",
24532455
"workflows": {
24542456
"description": "Workflows are reusable templates that automate image generation tasks, allowing you to quickly perform complex operations and get consistent results.",
24552457
"learnMoreLink": "Learn more about creating workflows",

invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/CanvasLaunchpadPanel.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,14 @@ export const CanvasLaunchpadPanel = memo(() => {
2525
<InitialStateMainModelPicker />
2626
<Flex flexDir="column" gap={2} justifyContent="center">
2727
<Text>
28-
Want to learn what prompts work best for each model?{' '}
29-
<Button as="a" variant="link" href="#" size="sm">
30-
Check our our Model Guide.
28+
{t('ui.launchpad.modelGuideText')}{' '}
29+
<Button
30+
as="a"
31+
variant="link"
32+
href="https://support.invoke.ai/support/solutions/articles/151000216086-model-guide"
33+
size="sm"
34+
>
35+
{t('ui.launchpad.modelGuideLink')}
3136
</Button>
3237
</Text>
3338
</Flex>

invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/GenerateLaunchpadPanel.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ import { InitialStateMainModelPicker } from 'features/controlLayers/components/S
44
import { LaunchpadAddStyleReference } from 'features/controlLayers/components/SimpleSession/LaunchpadAddStyleReference';
55
import { setActiveTab } from 'features/ui/store/uiSlice';
66
import { memo, useCallback } from 'react';
7-
import { useTranslation } from 'react-i18next';
87

98
import { LaunchpadGenerateFromTextButton } from './LaunchpadGenerateFromTextButton';
109

1110
export const GenerateLaunchpadPanel = memo(() => {
12-
const { t } = useTranslation();
1311
const dispatch = useAppDispatch();
1412
const newCanvasSession = useCallback(() => {
1513
dispatch(setActiveTab('canvas'));
@@ -18,15 +16,20 @@ export const GenerateLaunchpadPanel = memo(() => {
1816
return (
1917
<Flex flexDir="column" h="full" w="full" alignItems="center" gap={2}>
2018
<Flex flexDir="column" w="full" gap={4} px={14} maxW={768} pt="20vh">
21-
<Heading mb={4}>{t('ui.launchpad.generateTitle')}</Heading>
19+
<Heading mb={4}>Generate images from text prompts.</Heading>
2220
<Flex flexDir="column" gap={8}>
2321
<Grid gridTemplateColumns="1fr 1fr" gap={8}>
2422
<InitialStateMainModelPicker />
2523
<Flex flexDir="column" gap={2} justifyContent="center">
2624
<Text>
2725
Want to learn what prompts work best for each model?{' '}
28-
<Button as="a" variant="link" href="#" size="sm">
29-
Check our our Model Guide.
26+
<Button
27+
as="a"
28+
variant="link"
29+
href="https://support.invoke.ai/support/solutions/articles/151000216086-model-guide"
30+
size="sm"
31+
>
32+
Check out our Model Guide.
3033
</Button>
3134
</Text>
3235
</Flex>

0 commit comments

Comments
 (0)