Skip to content

Commit 4447847

Browse files
Supporter rename & add Patreon to methods (#518)
* redirect to /support & change stuff * Update Tips.json * reword and relink * add contact warning
1 parent a85232f commit 4447847

File tree

7 files changed

+53
-55
lines changed

7 files changed

+53
-55
lines changed

src/lib/LoadingSpinner/Tips.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"PenguinMod has a Discord server that you can join at \"https://discord.gg/hz6wT5b6t5\"",
1515
":trollface:",
1616
"You should read the uploading rules at \"https://penguinmod.com/guidelines/uploading\" if you haven't already.",
17-
"You can help support PenguinMod by going to \"https://penguinmod.com/donate\". No pressure :)",
18-
"Fun fact: PenguinMod costs money to operate! PLEASE DONATE PLEASE PLAESE PLEASE PLEASE!!!!!",
17+
"You can help support PenguinMod by going to \"https://penguinmod.com/support\". No pressure :)",
1918
"The shortest tip just says \"21\"",
2019
"What's 9 + 10?",
2120
"21",
@@ -47,7 +46,7 @@
4746
"i can't believe real life copied penguinmod",
4847
"PenguinMod is built off of Turbowarp, which is a built off of Scratch!",
4948
"i am a tip",
50-
"Donate to PenguinMod! You get a special badge, cool purple text and exclusive sneakpeeks! Email us with your username once you've done it!",
49+
"Support PenguinMod! You get a special badge, cool purple text and exclusive sneakpeeks! Email us with your username once you've done it!",
5150
"these dont need to be silly do they?",
5251
"i wanted to help penguinmod so i am adding more tips to this scratch mod :trol:",
5352
"you need some game ideas? try making a penguin bounce or maybe a penguin platformer? or maybe a penguin penguin?",

src/routes/+page.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -324,16 +324,16 @@
324324
<NavigationMargin />
325325

326326
<Alert
327-
onlyShowID={"donatee:_2"}
327+
onlyShowID={"donatee:_3"}
328328
text={"PenguinMod is a free-to-use visual coding website. Your support can help us keep the website working!"}
329329
textBreakup={true}
330330
textColor={"white"}
331331
hasImage={true}
332332
imgSrc={"/happy.svg"}
333333
imgAlt={":D"}
334334
hasButton={true}
335-
buttonText={"Donate"}
336-
buttonHref={"/donate"}
335+
buttonText={"Support"}
336+
buttonHref={"/support"}
337337
/>
338338
<StatusAlert />
339339

@@ -438,9 +438,9 @@
438438
lang={currentLang}
439439
/>
440440
</Button>
441-
<Button link={"/donate"}>
441+
<Button link={"/support"}>
442442
<LocalizedText
443-
text="Donate"
443+
text="Funding"
444444
key="home.footer.sections.donate"
445445
lang={currentLang}
446446
/>
@@ -1228,12 +1228,12 @@
12281228
<div class="footer-section">
12291229
<p>
12301230
<LocalizedText
1231-
text="Donate"
1231+
text="Funding"
12321232
key="home.footer.sections.donate"
12331233
lang={currentLang}
12341234
/>
12351235
</p>
1236-
<a href={"/donate"}>PenguinMod</a>
1236+
<a href={"/support"}>PenguinMod</a>
12371237
<a target="_blank" href={LINK.donate.turbowarp}>TurboWarp</a>
12381238
<a target="_blank" href={LINK.donate.scratch}>Scratch</a>
12391239
</div>

src/routes/canceldonation/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
import { onMount } from "svelte";
33
44
onMount(() => {
5-
location.pathname = "/donate";
5+
location.pathname = "/support";
66
});
77
</script>

src/routes/donate/+page.server.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { redirect } from '@sveltejs/kit';
2+
3+
/** @type {import('./$types').LayoutServerLoad} */
4+
export function load() {
5+
throw redirect(308, '/support');
6+
}

src/routes/sucessdonation/+page.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
property="twitter:description"
3333
content="Help support PenguinMod and it's development!"
3434
/>
35-
<meta property="og:url" content="https://penguinmod.com/donate" />
36-
<meta property="twitter:url" content="https://penguinmod.com/donate" />
35+
<meta property="og:url" content="https://penguinmod.com/support" />
36+
<meta property="twitter:url" content="https://penguinmod.com/support" />
3737
</svelte:head>
3838

3939
<NavigationBar />
@@ -99,7 +99,7 @@
9999
</b>
100100
</p>
101101
<div style="height: 8px;" />
102-
<Button link="/donate">
102+
<Button link="/support">
103103
<LocalizedText
104104
text="Back"
105105
key="generic.back"
Lines changed: 34 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
</script>
4343

4444
<svelte:head>
45-
<title>PenguinMod - Donate</title>
46-
<meta name="title" content="PenguinMod - Donate" />
47-
<meta property="og:title" content="PenguinMod - Donate" />
48-
<meta property="twitter:title" content="PenguinMod - Donate">
45+
<title>PenguinMod - Support Us</title>
46+
<meta name="title" content="PenguinMod - Support Us" />
47+
<meta property="og:title" content="PenguinMod - Support Us" />
48+
<meta property="twitter:title" content="PenguinMod - Support Us">
4949
<meta name="description" content="Help support PenguinMod and it's development!">
5050
<meta property="twitter:description" content="Help support PenguinMod and it's development!">
51-
<meta property="og:url" content="https://penguinmod.com/donate">
52-
<meta property="twitter:url" content="https://penguinmod.com/donate">
51+
<meta property="og:url" content="https://penguinmod.com/support">
52+
<meta property="twitter:url" content="https://penguinmod.com/support">
5353
</svelte:head>
5454

5555
<NavigationBar />
@@ -61,7 +61,7 @@
6161
<div>
6262
<h1 style="margin-block: 0;">
6363
<LocalizedText
64-
text="Donate"
64+
text="Support Us"
6565
key="donate.title"
6666
lang={currentLang}
6767
/>
@@ -126,18 +126,18 @@
126126
</p>
127127
<a
128128
target="_blank"
129-
href="https://www.cash.app/$JeremyGamer13"
129+
href="https://www.patreon.com/cw/PenguinMod"
130130
style="text-decoration: none !important;"
131131
>
132132
<button
133133
class="donation-container"
134-
title="Cash App - Do more with your money"
134+
title="Patreon - Empowering Creators and Building Communities"
135135
>
136-
<img src="/cashapp.png" alt="Cash App" />
136+
<img src="/patreon.png" alt="Patreon" />
137137
<span>
138138
<LocalizedText
139-
text="Cash App"
140-
key="payment.cashapp"
139+
text="Patreon / Card"
140+
key="payment.patreon.card"
141141
lang={currentLang}
142142
/>
143143
</span>
@@ -146,40 +146,18 @@
146146
<br />
147147
<a
148148
target="_blank"
149-
href="/error?error=410"
150-
class="donation-unavailable"
151-
style="text-decoration: none !important;"
152-
>
153-
<button
154-
class="donation-container"
155-
title="Stripe - Financial infrastructure for the internet"
156-
>
157-
<img src="/stripe.png" alt="Stripe" />
158-
<span>
159-
<LocalizedText
160-
text="(unavailable)"
161-
key="project.status.unavailable"
162-
lang={currentLang}
163-
/>
164-
</span>
165-
</button>
166-
</a>
167-
<br />
168-
<a
169-
target="_blank"
170-
href="/error?error=410"
171-
class="donation-unavailable"
149+
href="https://www.cash.app/$JeremyGamer13"
172150
style="text-decoration: none !important;"
173151
>
174152
<button
175153
class="donation-container"
176-
title="PayPal - The safer, easier way to pay online!"
154+
title="Cash App - Do more with your money"
177155
>
178-
<img src="/paypal.png" alt="PayPal" />
156+
<img src="/cashapp.png" alt="Cash App" />
179157
<span>
180158
<LocalizedText
181-
text="(unavailable)"
182-
key="project.status.unavailable"
159+
text="Cash App"
160+
key="payment.cashapp"
183161
lang={currentLang}
184162
/>
185163
</span>
@@ -194,9 +172,24 @@
194172
</div>
195173
</div>
196174

197-
<!-- other stuff -->
198-
<div style="height: 48px;" />
175+
<p>
176+
<strong>
177+
<LocalizedText
178+
text="Please make sure to connect with us upon payment. We haven't setup any automatic systems for perks yet."
179+
key="payment.contact"
180+
lang={currentLang}
181+
/>
182+
</strong>
183+
<a target="_blank" href={LINK.contact}>
184+
<LocalizedText
185+
text="Contact Us"
186+
key="home.footer.sections.info.contact"
187+
lang={currentLang}
188+
/>
189+
</a>
190+
</p>
199191

192+
<!-- other stuff -->
200193
<p class="small">
201194
<LocalizedText
202195
text="PenguinMod is not affiliated with Scratch, TurboWarp, the Scratch Team, or the Scratch Foundation."

static/patreon.png

1.81 KB
Loading

0 commit comments

Comments
 (0)