Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@jiobase/api",
"version": "0.0.1",
"private": true,
"license": "AGPL-3.0-only",
"type": "module",
"scripts": {
"dev": "wrangler dev --port 8788",
Expand Down
1 change: 1 addition & 0 deletions apps/proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@jiobase/proxy",
"version": "0.0.1",
"private": true,
"license": "AGPL-3.0-only",
"type": "module",
"scripts": {
"dev": "wrangler dev",
Expand Down
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@jiobase/web",
"private": true,
"license": "AGPL-3.0-only",
"version": "0.0.1",
"type": "module",
"scripts": {
Expand Down
171 changes: 0 additions & 171 deletions apps/web/src/lib/components/DonationGate.svelte

This file was deleted.

11 changes: 1 addition & 10 deletions apps/web/src/routes/dashboard/apps/new/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import { goto } from '$app/navigation';
import { api, ApiError } from '$lib/api.js';
import { JIOBASE_DOMAIN } from '@jiobase/shared';
import DonationGate from '$lib/components/DonationGate.svelte';

let name = $state('');
let slug = $state('');
Expand All @@ -11,7 +10,6 @@
let submitting = $state(false);
let slugManuallyEdited = $state(false);
let urlTouched = $state(false);
let showDonationGate = $state(false);

const supabaseUrlRegex = /^https:\/\/[a-z0-9]+\.supabase\.co$/;
let urlError = $derived(
Expand All @@ -38,14 +36,9 @@
slugManuallyEdited = true;
}

function handleSubmit(e: Event) {
async function handleSubmit(e: Event) {
e.preventDefault();
error = '';
// Show donation gate before creating
showDonationGate = true;
}

async function createApp() {
submitting = true;
try {
const res = await api.apps.create({
Expand Down Expand Up @@ -73,8 +66,6 @@
}
</script>

<DonationGate bind:open={showDonationGate} onproceed={createApp} />

<div class="mx-auto max-w-lg">
<h1 class="text-2xl font-bold text-white">Create New App</h1>
<p class="mt-1 text-sm text-gray-400">Connect your Supabase project through JioBase's proxy.</p>
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "jiobase",
"private": true,
"license": "AGPL-3.0-only",
"scripts": {
"dev": "turbo dev",
"build": "turbo build",
Expand Down
1 change: 1 addition & 0 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@jiobase/shared",
"version": "0.0.1",
"private": true,
"license": "AGPL-3.0-only",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down