diff --git a/README.md b/README.md index 374d35f5e..7e901a492 100644 --- a/README.md +++ b/README.md @@ -525,8 +525,9 @@ This could take a couple of hours, so buckle up! 2. **Migrations**: Push the migrations to the remote Supabase project (`supabase db push`). 3. **Auth**: Set your APP URL in the Supabase project settings. This is required for the OAuth flow. Make sure to add the path `/auth/callback` to the allowed URLs. If you don't have it yet, wait. 4. **Auth Providers**: Set the OAuth providers in the Supabase project settings. If you use Google Auth, make sure to set it up. This requires creating a Google Cloud project and setting up the OAuth credentials. -5. **Deploy Next.js**: Deploy the Next.js app to Vercel or any another hosting provider. Copy the URL and set it in the Supabase project settings. -6. **Environment Variables**: The initial deploy **will likely fail** because you may not yet have a URL to set in your environment variables. This is normal. Once you have the URL, set the URL in the environment variables and redeploy. -7. **Webhooks**: Set the DB Webhooks in Supabase pointing against your Next.js app at `/api/db/webhooks`. -8. **Emails**: Get some SMTP details from an email service provider like SendGrid or Mailgun or Resend and configure the emails in both the Environment Variables and the Supabase project settings. -9. **Billing**: Create a Stripe/Lemon Squeezy account, make sure to update the environment variables with the correct values. Point webhooks from these to `/api/billing/webhook`. \ No newline at end of file +5. **Auth Emails**: It is very much recommended to update the auth emails using the [following documentation](https://supabase.com/docs/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr#update-email-templates-with-url-for-api-endpoint). The kit already implements the `confirm` route, but you need to update the emails in your Supabase settings. +6. **Deploy Next.js**: Deploy the Next.js app to Vercel or any another hosting provider. Copy the URL and set it in the Supabase project settings. +7. **Environment Variables**: The initial deploy **will likely fail** because you may not yet have a URL to set in your environment variables. This is normal. Once you have the URL, set the URL in the environment variables and redeploy. +8. **Webhooks**: Set the DB Webhooks in Supabase pointing against your Next.js app at `/api/db/webhooks`. +9. **Emails**: Get some SMTP details from an email service provider like SendGrid or Mailgun or Resend and configure the emails in both the Environment Variables and the Supabase project settings. +10. **Billing**: Create a Stripe/Lemon Squeezy account, make sure to update the environment variables with the correct values. Point webhooks from these to `/api/billing/webhook`. \ No newline at end of file diff --git a/apps/web/app/(marketing)/page.tsx b/apps/web/app/(marketing)/page.tsx index d3770a2a0..41f753084 100644 --- a/apps/web/app/(marketing)/page.tsx +++ b/apps/web/app/(marketing)/page.tsx @@ -92,11 +92,10 @@ function Home() { className={ 'delay-250 rounded-lg border duration-1000 ease-out animate-in fade-in zoom-in-50 fill-mode-both' } - width={3069} - height={1916} + width={1689} + height={1057} src={`/images/dashboard-demo.webp`} alt={`App Image`} - sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw" /> @@ -131,7 +130,7 @@ function Home() {
-
+
@@ -162,10 +161,9 @@ function Home() { {'Sign @@ -175,10 +173,9 @@ function Home() { {'Dashboard'} @@ -234,10 +231,9 @@ function Home() { {'Billing'} diff --git a/apps/web/app/error.tsx b/apps/web/app/error.tsx index d1220138f..ac3c2fb40 100644 --- a/apps/web/app/error.tsx +++ b/apps/web/app/error.tsx @@ -29,10 +29,12 @@ const ErrorPage = ({ >
-

500 :(

+

+ +

-
+
diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx index b060e4aa7..976b387e6 100644 --- a/apps/web/app/not-found.tsx +++ b/apps/web/app/not-found.tsx @@ -38,10 +38,12 @@ const NotFoundPage = async () => { >
-

404 :(

+

+ +

-
+
diff --git a/apps/web/public/images/billing.webp b/apps/web/public/images/billing.webp index 1211f4f68..3f1ac5927 100644 Binary files a/apps/web/public/images/billing.webp and b/apps/web/public/images/billing.webp differ diff --git a/apps/web/public/images/dashboard-demo.webp b/apps/web/public/images/dashboard-demo.webp index 60d1c664e..379b107a4 100644 Binary files a/apps/web/public/images/dashboard-demo.webp and b/apps/web/public/images/dashboard-demo.webp differ diff --git a/apps/web/public/images/dashboard.webp b/apps/web/public/images/dashboard.webp index 2bae78770..b2faefc9d 100644 Binary files a/apps/web/public/images/dashboard.webp and b/apps/web/public/images/dashboard.webp differ diff --git a/apps/web/public/images/sign-in.webp b/apps/web/public/images/sign-in.webp index 7fe8bee28..2e6d8c204 100644 Binary files a/apps/web/public/images/sign-in.webp and b/apps/web/public/images/sign-in.webp differ diff --git a/apps/web/public/locales/en/common.json b/apps/web/public/locales/en/common.json index bcf564bb9..8380f8313 100644 --- a/apps/web/public/locales/en/common.json +++ b/apps/web/public/locales/en/common.json @@ -48,18 +48,14 @@ "signedInAs": "Signed in as", "pageOfPages": "Page {{page}} of {{total}}", "noData": "No data available", + "pageNotFoundHeading": "Ouch! :|", + "errorPageHeading": "Ouch! :|", "roles": { "owner": { - "label": "Owner", - "description": "Can change any setting, invite new members and manage billing" - }, - "admin": { - "label": "Admin", - "description": "Can change some settings, invite members, perform disruptive actions" + "label": "Owner" }, "member": { - "label": "Member", - "description": "Cannot invite members or change settings" + "label": "Member" } } }