From 9665549d0c38c0f4986305e509036a6cae2da282 Mon Sep 17 00:00:00 2001 From: Wanjohi <71614375+wanjohiryan@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:37:30 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8feat:=20Onboarding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../routes/(onboarding)/new/[id]/index.tsx | 9 --- .../routes/(onboarding)/new/deploy/index.tsx | 20 +++++ .../routes/(onboarding)/new/game/index.tsx | 79 +++++++++++++++++++ apps/www/src/routes/donate/index.tsx | 77 ------------------ apps/www/src/routes/fundraiser/index.tsx | 77 ++++++++++++++++++ apps/www/src/routes/index.tsx | 2 - 6 files changed, 176 insertions(+), 88 deletions(-) delete mode 100644 apps/www/src/routes/(onboarding)/new/[id]/index.tsx create mode 100644 apps/www/src/routes/(onboarding)/new/deploy/index.tsx create mode 100644 apps/www/src/routes/(onboarding)/new/game/index.tsx delete mode 100644 apps/www/src/routes/donate/index.tsx create mode 100644 apps/www/src/routes/fundraiser/index.tsx diff --git a/apps/www/src/routes/(onboarding)/new/[id]/index.tsx b/apps/www/src/routes/(onboarding)/new/[id]/index.tsx deleted file mode 100644 index e1833959..00000000 --- a/apps/www/src/routes/(onboarding)/new/[id]/index.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { component$ } from "@builder.io/qwik"; -import { useLocation } from "@builder.io/qwik-city"; - -export default component$(() => { - const location = useLocation() - return ( -
{location.params.id}
- ) -}) \ No newline at end of file diff --git a/apps/www/src/routes/(onboarding)/new/deploy/index.tsx b/apps/www/src/routes/(onboarding)/new/deploy/index.tsx new file mode 100644 index 00000000..f37a8fa6 --- /dev/null +++ b/apps/www/src/routes/(onboarding)/new/deploy/index.tsx @@ -0,0 +1,20 @@ +import { component$ } from "@builder.io/qwik"; + +export default component$(() => { + return ( + <> +
+
+ Step 2 of 2 +

+ You're almost done +

+

+ Please follow the steps to configure your game and install it +

+
+ +
+ + ) +}) \ No newline at end of file diff --git a/apps/www/src/routes/(onboarding)/new/game/index.tsx b/apps/www/src/routes/(onboarding)/new/game/index.tsx new file mode 100644 index 00000000..c2b06112 --- /dev/null +++ b/apps/www/src/routes/(onboarding)/new/game/index.tsx @@ -0,0 +1,79 @@ +import { component$ } from "@builder.io/qwik"; + +const games = [ + { + cover: 'https://shared.cloudflare.steamstatic.com/store_item_assets/steam/apps/444200/library_600x900_2x.jpg', + release_date: 1478710740000, + compatibility: 'playable', + name: 'World of Tanks Blitz', + appid: 444200 + }, + { + cover: 'https://shared.cloudflare.steamstatic.com/store_item_assets/steam/apps/1085660/library_600x900_2x.jpg', + release_date: 1569949200000, + compatibility: 'unsupported', + name: 'Destiny 2', + appid: 1085660 + }, + { + cover: 'https://shared.cloudflare.steamstatic.com/store_item_assets/steam/apps/1172470/library_600x900_2x.jpg', + release_date: 1604548800000, + compatibility: 'playable', + name: 'Apex Legends', + appid: 1172470 + }, + { + cover: 'https://shared.cloudflare.steamstatic.com/store_item_assets/steam/apps/1229380/library_600x900_2x.jpg', + release_date: 1614870001000, + compatibility: 'perfect', + name: 'Everhood', + appid: 1229380 + }, + { + cover: 'https://shared.cloudflare.steamstatic.com/store_item_assets/steam/apps/1637320/library_600x900_2x.jpg', + release_date: 1664296270000, + compatibility: 'perfect', + name: 'Dome Keeper', + appid: 1637320 + }, + { + cover: 'https://shared.cloudflare.steamstatic.com/store_item_assets/steam/apps/2581970/library_600x900_2x.jpg', + release_date: 1698246127000, + compatibility: 'playable', + name: 'Shell Runner - Prelude', + appid: 2581970 + } +] + +export default component$(() => { + return ( + <> +
+
+ Step 1 of 2 +

+ Let's play something cool +

+

+ Choose a game to play from your Steam library +

+
+ +
+ + ) +}) \ No newline at end of file diff --git a/apps/www/src/routes/donate/index.tsx b/apps/www/src/routes/donate/index.tsx deleted file mode 100644 index 258e42f4..00000000 --- a/apps/www/src/routes/donate/index.tsx +++ /dev/null @@ -1,77 +0,0 @@ -import { component$ } from "@builder.io/qwik" -import { NavBar, Footer } from "@nestri/ui" -import { TitleSection, MotionComponent, transition } from "@nestri/ui/react" - -//FIXME: Create and pin the Github Issue - -export default component$(() => { - return ( - - <> - - - -
-
-
-
-

Dear Cloud Gamer,

-

- I'm Wanjohi, the founder of Nestri, and I'm reaching out to share our vision and ask for your support in making it a reality. -

-

- Nestri was born from a simple yet powerful idea: to make high-end gaming accessible to everyone, regardless of their hardware or location. As a passionate gamer and developer, I've poured my heart and soul into creating a cloud gaming platform that can deliver AAA gaming experiences for under $5 per user. -

-
-
-
-
- Our journey has been exciting and with its own set of unique challenges. We've tackled technical hurdles, reverse-engineered features, and built a dedicated community. We've also navigated potential litigation over name and copyright issues, and faced accusations of being scammers due to misunderstandings about our development process. These obstacles have been time-consuming and financially draining, but they've only strengthened our resolve. -
-
- The financial strain of building Nestri has been significant. We've applied for various funding opportunities, but have faced numerous rejections, making our journey even more challenging. After pouring our resources into development, we're now struggling to cover basic bills and manage accumulating debt. I currently have $3000 in debt that needs to be paid, and I'm in urgent need of a new laptop to continue development. -
-
- Also working mostly alone (with a lot of help from friends and the open source community) has proven to be slow and tiresome, yet it's a process I've come to cherish. Each line of code, each problem solved, has brought us closer to our vision - even if the pace isn't as fast as we'd like. -
-
-
-
- Your support can make a world of difference. We're aiming to raise $50,000, which will be a game-changer for Nestri. This funding will cover my bills for the next three months, allow me to repay my debts, and bring on a full-time developer to accelerate Nestri's development progress. -
-
- It will also enable us to rent GPUs essential for launching Nestri, and cover the bandwidth costs to run our cloud gaming platform. Every contribution, no matter the size, brings us closer to our vision - make high-quality gaming accessible to everyone. -
-
- Ready to make a difference? Visit Polar to donate. Every contribution, big or small, brings us closer to our goal. -
-
Thank you for supporting Nestri.
-
-
-
Gratefully,
-
- -
-
P.S. We will get there eventually, but with your help, we could get there sooner.
-
-
-
-
-