1- import { Flex , Icon , ListItem , Text , UnorderedList } from '@invoke-ai/ui-library' ;
1+ import { ExternalLink , Flex , ListItem , UnorderedList } from '@invoke-ai/ui-library' ;
22import { useTranslation } from 'react-i18next' ;
3- import { PiArrowSquareOutBold } from 'react-icons/pi' ;
43
54export const CanvasV2Announcement = ( ) => {
65 const { t } = useTranslation ( ) ;
@@ -12,24 +11,24 @@ export const CanvasV2Announcement = () => {
1211 < ListItem > { t ( 'whatsNew.canvasV2Announcement.fluxSupport' ) } </ ListItem >
1312 </ UnorderedList >
1413 < Flex flexDir = "column" gap = { 1 } >
15- < Flex gap = { 2 } >
16- < Text as = "a" target = "_blank" href = "https://github.com/invoke-ai/InvokeAI/releases" fontWeight = "semibold" >
17- { t ( 'whatsNew.canvasV2Announcement.readReleaseNotes' ) }
18- </ Text >
19- < Icon as = { PiArrowSquareOutBold } />
20- </ Flex >
21- < Flex gap = { 2 } >
22- < Text as = "a" target = "_blank" href = "https://www.youtube.com/@invokeai/videos" fontWeight = "semibold" >
23- { t ( 'whatsNew.canvasV2Announcement.watchReleaseVideo' ) }
24- </ Text >
25- < Icon as = { PiArrowSquareOutBold } />
26- </ Flex >
27- < Flex gap = { 2 } >
28- < Text as = "a" target = "_blank" href = "https://www.youtube.com/@invokeai/videos" fontWeight = "semibold" >
29- { t ( 'whatsNew.canvasV2Announcement.watchUiUpdatesOverview' ) }
30- </ Text >
31- < Icon as = { PiArrowSquareOutBold } />
32- </ Flex >
14+ < ExternalLink
15+ fontSize = "sm"
16+ fontWeight = "semibold"
17+ label = { t ( 'whatsNew.canvasV2Announcement.readReleaseNotes' ) }
18+ href = "https://github.com/invoke-ai/InvokeAI/releases"
19+ / >
20+ < ExternalLink
21+ fontSize = "sm"
22+ fontWeight = "semibold"
23+ label = { t ( 'whatsNew.canvasV2Announcement.watchReleaseVideo' ) }
24+ href = "https://www.youtube.com/@invokeai/videos"
25+ / >
26+ < ExternalLink
27+ fontSize = "sm"
28+ fontWeight = "semibold"
29+ label = { t ( 'whatsNew.canvasV2Announcement.watchUiUpdatesOverview' ) }
30+ href = "https://www.youtube.com/@invokeai/videos"
31+ / >
3332 </ Flex >
3433 </ Flex >
3534 ) ;
0 commit comments