Skip to content

Commit 5e04005

Browse files
MiseiMisei
authored andcommitted
Remove GitHub Star and Sponsors buttons, keep only Twitch
- Remove Star on GitHub button (stars don't generate revenue) - Remove GitHub Sponsors button (not set up) - Keep only Twitch subscription button as the sole support method - Clean up unused imports
1 parent 37aa244 commit 5e04005

File tree

2 files changed

+33
-110
lines changed

2 files changed

+33
-110
lines changed

app/src/components/DonationDialog.tsx

Lines changed: 17 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ import {
88
Box,
99
FormControlLabel,
1010
Checkbox,
11-
Grid2,
1211
SvgIcon,
1312
} from '@mui/material';
14-
import { FavoriteOutlined, Star } from '@mui/icons-material';
13+
import { FavoriteOutlined } from '@mui/icons-material';
1514
import { openUrl } from '@tauri-apps/plugin-opener';
1615
import { useState } from 'react';
1716
import { SvgIconProps } from '@mui/material/SvgIcon';
@@ -66,60 +65,22 @@ const DonationDialog = ({ open, onClose }: DonationDialogProps) => {
6665
<strong>💡 Did you know?</strong> If you have Amazon Prime, you can subscribe for free each month via Prime Gaming! Twitch subscriptions don't auto-renew, so you can choose to support the project every month.
6766
</Typography>
6867

69-
<Grid2 container spacing={2} sx={{ mt: 2 }}>
70-
<Grid2 size={12}>
71-
<Button
72-
variant="contained"
73-
sx={{
74-
backgroundColor: '#9146FF',
75-
'&:hover': { backgroundColor: '#772CE8' },
76-
height: '56px',
77-
fontSize: '1.1rem',
78-
}}
79-
startIcon={<TwitchIcon />}
80-
onClick={() => openInBrowser('https://subs.twitch.tv/flowingspdg')}
81-
fullWidth
82-
>
83-
Subscribe on Twitch
84-
</Button>
85-
</Grid2>
86-
<Grid2 size={{ xs: 12, sm: 6 }}>
87-
<Button
88-
variant="outlined"
89-
sx={{
90-
borderColor: '#FFA500',
91-
color: '#FFA500',
92-
'&:hover': {
93-
borderColor: '#FF8C00',
94-
backgroundColor: 'rgba(255, 165, 0, 0.08)',
95-
},
96-
}}
97-
startIcon={<Star />}
98-
onClick={() => openInBrowser('https://github.com/Incomplete-Outputs-Lab/vmix-utility')}
99-
fullWidth
100-
>
101-
Star on GitHub
102-
</Button>
103-
</Grid2>
104-
<Grid2 size={{ xs: 12, sm: 6 }}>
105-
<Button
106-
variant="outlined"
107-
sx={{
108-
borderColor: '#13C3FF',
109-
color: '#13C3FF',
110-
'&:hover': {
111-
borderColor: '#0FA8CC',
112-
backgroundColor: 'rgba(19, 195, 255, 0.08)',
113-
},
114-
}}
115-
startIcon={<FavoriteOutlined />}
116-
onClick={() => openInBrowser('https://github.com/sponsors/FlowingSPDG')}
117-
fullWidth
118-
>
119-
GitHub Sponsors
120-
</Button>
121-
</Grid2>
122-
</Grid2>
68+
<Box sx={{ mt: 2 }}>
69+
<Button
70+
variant="contained"
71+
sx={{
72+
backgroundColor: '#9146FF',
73+
'&:hover': { backgroundColor: '#772CE8' },
74+
height: '56px',
75+
fontSize: '1.1rem',
76+
}}
77+
startIcon={<TwitchIcon />}
78+
onClick={() => openInBrowser('https://subs.twitch.tv/flowingspdg')}
79+
fullWidth
80+
>
81+
Subscribe on Twitch
82+
</Button>
83+
</Box>
12384

12485
<Box sx={{ mt: 3 }}>
12586
<FormControlLabel

app/src/pages/Developer.tsx

Lines changed: 16 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -144,60 +144,22 @@ const Developer = () => {
144144
<strong>💡 Did you know?</strong> If you have Amazon Prime, you can subscribe for free each month via Prime Gaming! Twitch subscriptions don't auto-renew, so you can choose to support the project every month.
145145
</Typography>
146146

147-
<Grid2 container spacing={2} sx={{ mt: 1 }}>
148-
<Grid2 size={12}>
149-
<Button
150-
variant="contained"
151-
sx={{
152-
backgroundColor: '#9146FF',
153-
'&:hover': { backgroundColor: '#772CE8' },
154-
height: '56px',
155-
fontSize: '1.1rem',
156-
}}
157-
startIcon={<TwitchIcon />}
158-
onClick={() => openInBrowser(twitchSupportUrl)}
159-
fullWidth
160-
>
161-
Subscribe on Twitch
162-
</Button>
163-
</Grid2>
164-
<Grid2 size={{ xs: 12, sm: 6 }}>
165-
<Button
166-
variant="outlined"
167-
sx={{
168-
borderColor: '#FFA500',
169-
color: '#FFA500',
170-
'&:hover': {
171-
borderColor: '#FF8C00',
172-
backgroundColor: 'rgba(255, 165, 0, 0.08)',
173-
},
174-
}}
175-
startIcon={<Star />}
176-
onClick={() => openInBrowser(repositoryUrl)}
177-
fullWidth
178-
>
179-
Star on GitHub
180-
</Button>
181-
</Grid2>
182-
<Grid2 size={{ xs: 12, sm: 6 }}>
183-
<Button
184-
variant="outlined"
185-
sx={{
186-
borderColor: '#13C3FF',
187-
color: '#13C3FF',
188-
'&:hover': {
189-
borderColor: '#0FA8CC',
190-
backgroundColor: 'rgba(19, 195, 255, 0.08)',
191-
},
192-
}}
193-
startIcon={<FavoriteOutlined />}
194-
onClick={() => openInBrowser(sponsorUrl)}
195-
fullWidth
196-
>
197-
GitHub Sponsors
198-
</Button>
199-
</Grid2>
200-
</Grid2>
147+
<Box sx={{ mt: 1 }}>
148+
<Button
149+
variant="contained"
150+
sx={{
151+
backgroundColor: '#9146FF',
152+
'&:hover': { backgroundColor: '#772CE8' },
153+
height: '56px',
154+
fontSize: '1.1rem',
155+
}}
156+
startIcon={<TwitchIcon />}
157+
onClick={() => openInBrowser(twitchSupportUrl)}
158+
fullWidth
159+
>
160+
Subscribe on Twitch
161+
</Button>
162+
</Box>
201163
</CardContent>
202164
</Card>
203165
</Grid2>

0 commit comments

Comments
 (0)