From 7c03414d373379fab3b6d83fea226076b1747049 Mon Sep 17 00:00:00 2001 From: WhyAsh5114 Date: Sat, 12 Oct 2024 19:25:30 +0530 Subject: [PATCH 1/4] feat: added FUNDING.yml --- .github/FUNDING.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..9684fdb0 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: [WhyAsh5114] +buymeacoffee: [WhyAsh5114] From a85694d8266b6135b31106db1590791e6d44ab4e Mon Sep 17 00:00:00 2001 From: WhyAsh5114 Date: Sat, 12 Oct 2024 19:44:53 +0530 Subject: [PATCH 2/4] feat: add a donations page --- .../(components)/layout/NavLinks.svelte | 3 +- src/routes/donations/+page.svelte | 38 +++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 src/routes/donations/+page.svelte diff --git a/src/routes/(components)/layout/NavLinks.svelte b/src/routes/(components)/layout/NavLinks.svelte index 5943d26e..f64ce3d1 100644 --- a/src/routes/(components)/layout/NavLinks.svelte +++ b/src/routes/(components)/layout/NavLinks.svelte @@ -6,7 +6,8 @@ { text: 'Workouts', href: '/workouts' }, { text: 'Mesocycles', href: '/mesocycles' }, { text: 'Exercise splits', href: '/exercise-splits' }, - { text: 'Privacy policy', href: '/privacy-policy' } + { text: 'Privacy policy', href: '/privacy-policy' }, + { text: 'Donations', href: '/donations' } ]; diff --git a/src/routes/donations/+page.svelte b/src/routes/donations/+page.svelte new file mode 100644 index 00000000..8adc8356 --- /dev/null +++ b/src/routes/donations/+page.svelte @@ -0,0 +1,38 @@ + + +

Donations

+

+ I'm just a college student who started MyFit as a fun side project. I never thought I'd actually get users 😅. My + original intention was just to have an app for personal use and as a resume project to help me get a software + engineering job. Over time, this project grew and gained a handful of users, which made me unreasonably happy. +

+
+

+ Please don't feel obliged to donate. I know how it feels to not have, or not feel like spending, over $20 for a simple + workout tracking app. To be honest, I don't think I'll even need donations soon, as the free tiers offered by my + hosting providers are really generous and the user base is still small. You simply using the app, logging workouts, + giving feedback, or perhaps starring this repository on GitHub is more than enough for me 😊. +

+
+

+ The primary way donations to MyFit will be used is for hosting the project (Vercel) and its database (CockroachDB). If + any are left over, it'll simply motivate me to work on this project further and improve it in every way possible. +

+
+
+ +

GitHub Sponsors Link

+ +
+
+ +

Buy Me A Coffee Link

+ + buy me a coffee link + From 77f3993039679bce788e2a547bcf3f7046951636 Mon Sep 17 00:00:00 2001 From: WhyAsh5114 Date: Sat, 12 Oct 2024 21:08:44 +0530 Subject: [PATCH 3/4] feat: added sections to donations page --- src/routes/donations/+page.svelte | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/routes/donations/+page.svelte b/src/routes/donations/+page.svelte index 8adc8356..aacd2cf6 100644 --- a/src/routes/donations/+page.svelte +++ b/src/routes/donations/+page.svelte @@ -4,12 +4,16 @@

Donations

+ +

How MyFit started

I'm just a college student who started MyFit as a fun side project. I never thought I'd actually get users 😅. My original intention was just to have an app for personal use and as a resume project to help me get a software engineering job. Over time, this project grew and gained a handful of users, which made me unreasonably happy.


+ +

Why you shouldn't donate

Please don't feel obliged to donate. I know how it feels to not have, or not feel like spending, over $20 for a simple workout tracking app. To be honest, I don't think I'll even need donations soon, as the free tiers offered by my @@ -17,17 +21,24 @@ giving feedback, or perhaps starring this repository on GitHub is more than enough for me 😊.


+ +

Why you should donate

+

+ If you've used the app for quite some time, you genuinely enjoyed it, and feel like I deserve a free diet coke! You'll + get some extra benefits such as: issue prioritization and early access to features. +

+
+ +

How donations will be used

The primary way donations to MyFit will be used is for hosting the project (Vercel) and its database (CockroachDB). If any are left over, it'll simply motivate me to work on this project further and improve it in every way possible.


-

GitHub Sponsors Link


-

Buy Me A Coffee Link

From 422fac19cedeed142e3a9d10432481f073a777a5 Mon Sep 17 00:00:00 2001 From: WhyAsh5114 Date: Sat, 12 Oct 2024 21:14:58 +0530 Subject: [PATCH 4/4] feat: use tailwind prose classes and prerender the page --- src/routes/donations/+page.server.ts | 1 + src/routes/donations/+page.svelte | 82 +++++++++++++--------------- 2 files changed, 39 insertions(+), 44 deletions(-) create mode 100644 src/routes/donations/+page.server.ts diff --git a/src/routes/donations/+page.server.ts b/src/routes/donations/+page.server.ts new file mode 100644 index 00000000..189f71e2 --- /dev/null +++ b/src/routes/donations/+page.server.ts @@ -0,0 +1 @@ +export const prerender = true; diff --git a/src/routes/donations/+page.svelte b/src/routes/donations/+page.svelte index aacd2cf6..cdc0c3e9 100644 --- a/src/routes/donations/+page.svelte +++ b/src/routes/donations/+page.svelte @@ -1,49 +1,43 @@ - +
+

Donations

-

Donations

+
-

How MyFit started

-

- I'm just a college student who started MyFit as a fun side project. I never thought I'd actually get users 😅. My - original intention was just to have an app for personal use and as a resume project to help me get a software - engineering job. Over time, this project grew and gained a handful of users, which made me unreasonably happy. -

-
+

How MyFit started

+

+ I'm just a college student who started MyFit as a fun side project. I never thought I'd actually get users 😅. My + original intention was just to have an app for personal use and as a resume project to help me get a software + engineering job. Over time, this project grew and gained a handful of users, which made me unreasonably happy. +

-

Why you shouldn't donate

-

- Please don't feel obliged to donate. I know how it feels to not have, or not feel like spending, over $20 for a simple - workout tracking app. To be honest, I don't think I'll even need donations soon, as the free tiers offered by my - hosting providers are really generous and the user base is still small. You simply using the app, logging workouts, - giving feedback, or perhaps starring this repository on GitHub is more than enough for me 😊. -

-
+

Why you shouldn't donate

+

+ Please don't feel obliged to donate. I know how it feels to not have, or not feel like spending, over $20 for a + simple workout tracking app. To be honest, I don't think I'll even need donations soon, as the free tiers offered by + my hosting providers are really generous and the user base is still small. You simply using the app, logging + workouts, giving feedback, or perhaps starring this repository on GitHub is more than enough for me 😊. +

-

Why you should donate

-

- If you've used the app for quite some time, you genuinely enjoyed it, and feel like I deserve a free diet coke! You'll - get some extra benefits such as: issue prioritization and early access to features. -

-
+

Why you should donate

+

+ If you've used the app for quite some time, you genuinely enjoyed it, and feel like I deserve a free diet coke! + You'll get some extra benefits such as: issue prioritization and early access to features. +

-

How donations will be used

-

- The primary way donations to MyFit will be used is for hosting the project (Vercel) and its database (CockroachDB). If - any are left over, it'll simply motivate me to work on this project further and improve it in every way possible. -

-
- -

GitHub Sponsors Link

- -
- -

Buy Me A Coffee Link

- - buy me a coffee link - +

How donations will be used

+

+ The primary way donations to MyFit will be used is for hosting the project (Vercel) and its database (CockroachDB). + If any are left over, it'll simply motivate me to work on this project further and improve it in every way possible. +

+