Skip to content

Commit

Permalink
fix app_diff
Browse files Browse the repository at this point in the history
  • Loading branch information
vincanger committed Oct 31, 2024
1 parent 83c91fe commit f2e3b97
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 15 deletions.
5 changes: 0 additions & 5 deletions opensaas-sh/app_diff/deletions
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
public/banner.png
public/public-banner.png
src/client/static/avatar-placeholder.png
src/client/static/avatar-placeholder.webp
src/client/static/da-boi.png
src/client/static/da-boi.webp
src/client/static/logo.png
src/client/static/open-saas-banner.webp
src/landing-page/logos/SalesforceLogo.tsx
src/payment/lemonSqueezy/checkoutUtils.ts
Expand Down
16 changes: 11 additions & 5 deletions opensaas-sh/app_diff/main.wasp.diff
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
--- template/app/main.wasp
+++ opensaas-sh/app/main.wasp
@@ -3,24 +3,24 @@
@@ -3,24 +3,30 @@
version: "^0.15.0"
},

- title: "My Open SaaS App",
+ title: "Open SaaS",

head: [
+ "<meta charset='utf-8' />",
+ "<meta name='description' content='Build and launch your SaaS application faster with our free, open-source starter kit. Features include auth, payments, AI example app, and admin dashboard.' />",
+ "<meta name='author' content='Open SaaS' />",
+ "<meta name='keywords' content='saas, starter, boilerplate, free, open source, authentication, payments' />",
+
+ "<meta property='og:site_name' content='Open SaaS' />",
"<meta property='og:type' content='website' />",
- "<meta property='og:title' content='My Open SaaS App' />",
+ "<meta property='og:title' content='Open SaaS' />",
Expand Down Expand Up @@ -36,7 +42,7 @@
],

// 🔐 Auth out of the box! https://wasp-lang.dev/docs/auth/overview
@@ -32,7 +32,7 @@
@@ -32,7 +38,7 @@
email: {
fromField: {
name: "Open SaaS App",
Expand All @@ -45,7 +51,7 @@
},
emailVerification: {
clientRoute: EmailVerificationRoute,
@@ -44,21 +44,18 @@
@@ -44,21 +50,18 @@
},
userSignupFields: import { getEmailUserFields } from "@src/auth/userSignupFields",
},
Expand Down Expand Up @@ -79,7 +85,7 @@
},
onAfterSignup: import { onAfterSignup } from "@src/auth/hooks",
onAuthFailedRedirectTo: "/login",
@@ -81,11 +78,11 @@
@@ -81,11 +84,11 @@
// NOTE: "Dummy" provider is just for local development purposes.
// Make sure to check the server logs for the email confirmation url (it will not be sent to an address)!
// Once you are ready for production, switch to e.g. "SendGrid" or "Mailgun" providers. Check out https://docs.opensaas.sh/guides/email-sending/ .
Expand All @@ -93,7 +99,7 @@
},
},
}
@@ -206,9 +203,9 @@
@@ -206,9 +209,9 @@
}

api paymentsWebhook {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- template/app/migrations/20241031103046_remove_checkout_session_id/migration.sql
+++ opensaas-sh/app/migrations/20241031103046_remove_checkout_session_id/migration.sql
@@ -0,0 +1,8 @@
+/*
+ Warnings:
+
+ - You are about to drop the column `checkoutSessionId` on the `User` table. All the data in the column will be lost.
+
+*/
+-- AlterTable
+ALTER TABLE "User" DROP COLUMN "checkoutSessionId";
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--- template/app/src/landing-page/components/Clients.tsx
+++ opensaas-sh/app/src/landing-page/components/Clients.tsx
@@ -1,23 +1,64 @@
+import logo from '../../client/static/logo.png';
+import logo from '../../client/static/logo.webp';
import AstroLogo from "../logos/AstroLogo";
-import OpenAILogo from "../logos/OpenAILogo";
import PrismaLogo from "../logos/PrismaLogo";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@
</div>
</Link>
) : (
@@ -125,3 +126,27 @@
@@ -125,3 +126,26 @@
</header>
)
}
+
+const ContestURL =
+ 'https://docs.opensaas.sh/blog/';
+const ContestURL = 'https://x.com/WaspLang';
+
+function Announcement() {
+ return (
Expand All @@ -75,7 +74,7 @@
+ onClick={() => window.open(ContestURL, '_blank')}
+ className='hidden lg:block cursor-pointer rounded-full bg-neutral-700 px-2.5 py-1 text-xs hover:bg-neutral-600 tracking-wider'
+ >
+ Enter here and win prizes! →
+ Vote for the winner here! →
+ </div>
+ <div
+ onClick={() => window.open(ContestURL, '_blank')}
Expand Down

0 comments on commit f2e3b97

Please sign in to comment.