@@ -14,6 +14,7 @@ import {
1414 ListItem ,
1515 ListItemIcon ,
1616 ListItemText ,
17+ SvgIcon ,
1718} from '@mui/material' ;
1819import {
1920 GitHub ,
@@ -23,14 +24,21 @@ import {
2324 Star ,
2425} from '@mui/icons-material' ;
2526import { openUrl } from '@tauri-apps/plugin-opener' ;
27+ import { SvgIconProps } from '@mui/material/SvgIcon' ;
2628import { useTheme } from '../hooks/useTheme' ;
2729
30+ const TwitchIcon = ( props : SvgIconProps ) => (
31+ < SvgIcon { ...props } viewBox = "0 0 24 24" >
32+ < path d = "M3 0 0 4v17h6v3h3l3-3h5l7-7V0H3zm18 11-3 3h-5l-3 3v-3H5V2h16v9zm-9-5h2v5h-2V6zm5 0h2v5h-2V6z" />
33+ </ SvgIcon >
34+ ) ;
35+
2836const Developer = ( ) => {
2937 const { resolvedTheme } = useTheme ( ) ;
3038 const repositoryUrl = 'https://github.com/FlowingSPDG/vmix-utility' ;
3139 const developerGitHub = 'https://github.com/FlowingSPDG' ;
3240 const sponsorUrl = 'https://github.com/sponsors/FlowingSPDG' ;
33- const fanboxUrl = 'https ://flowingspdg.fanbox.cc/ ' ;
41+ const twitchSupportUrl = 'http ://subs.twitch.tv/flowingspdg ' ;
3442
3543 const openInBrowser = ( url : string ) => {
3644 openUrl ( url ) ;
@@ -130,7 +138,10 @@ const Developer = () => {
130138 </ Box >
131139
132140 < Typography variant = "body2" color = "text.secondary" gutterBottom >
133- If you find this project helpful, consider supporting its development!
141+ If you find this project helpful, consider supporting its development via Twitch subscriptions.
142+ </ Typography >
143+ < Typography variant = "body2" color = "text.secondary" >
144+ Twitch subscriptions do not auto-renew, so you can choose to support the project every month. If you have Amazon Prime, you can subscribe for free each month via Prime Gaming.
134145 </ Typography >
135146
136147 < Grid2 container spacing = { 2 } sx = { { mt : 1 } } >
@@ -148,9 +159,9 @@ const Developer = () => {
148159 < Grid2 size = { { xs : 12 , sm : 4 } } >
149160 < Button
150161 variant = "contained"
151- sx = { {
162+ sx = { {
152163 backgroundColor : '#13C3FF' ,
153- '&:hover' : { backgroundColor : '#0FA8CC' }
164+ '&:hover' : { backgroundColor : '#0FA8CC' } ,
154165 } }
155166 startIcon = { < FavoriteOutlined /> }
156167 onClick = { ( ) => openInBrowser ( sponsorUrl ) }
@@ -162,15 +173,16 @@ const Developer = () => {
162173 < Grid2 size = { { xs : 12 , sm : 4 } } >
163174 < Button
164175 variant = "contained"
165- sx = { {
166- backgroundColor : '#0096FA' ,
167- '&:hover' : { backgroundColor : '#0078CC' }
176+ sx = { {
177+ backgroundColor : '#9146FF' ,
178+ '&:hover' : { backgroundColor : '#772CE8' } ,
179+ height : '100%' ,
168180 } }
169- startIcon = { < FavoriteOutlined /> }
170- onClick = { ( ) => openInBrowser ( fanboxUrl ) }
181+ startIcon = { < TwitchIcon /> }
182+ onClick = { ( ) => openInBrowser ( twitchSupportUrl ) }
171183 fullWidth
172184 >
173- Support on FANBOX
185+ Subscribe on Twitch
174186 </ Button >
175187 </ Grid2 >
176188 </ Grid2 >
0 commit comments