Merge pull request #417 from wasp-lang/franjo/favicon-changes

This commit is contained in:
Franjo Mindek 2025-05-12 13:06:12 +02:00 committed by GitHub
commit 48cfd62666
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 5 deletions

View File

@ -1,6 +1,6 @@
--- template/app/main.wasp --- template/app/main.wasp
+++ opensaas-sh/app/main.wasp +++ opensaas-sh/app/main.wasp
@@ -3,30 +3,30 @@ @@ -3,31 +3,32 @@
version: "^0.16.0" version: "^0.16.0"
}, },
@ -8,6 +8,7 @@
+ title: "Open SaaS", + title: "Open SaaS",
head: [ head: [
"<link rel='icon' href='/favicon.ico' />",
"<meta charset='utf-8' />", "<meta charset='utf-8' />",
- "<meta name='description' content='Your apps main description and features.' />", - "<meta name='description' content='Your apps main description and features.' />",
- "<meta name='author' content='Your (App) Name' />", - "<meta name='author' content='Your (App) Name' />",
@ -43,12 +44,13 @@
- // via the Cookie Consent component after the user clicks the "Accept" cookies button. - // via the Cookie Consent component after the user clicks the "Accept" cookies button.
- "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.js'></script>", // for production - "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.js'></script>", // for production
- "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.local.js'></script>", // for development - "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.local.js'></script>", // for development
+
+ "<script defer data-domain='opensaas.sh' data-api='/waspara/wasp/event' src='/waspara/wasp/script.js'></script>", + "<script defer data-domain='opensaas.sh' data-api='/waspara/wasp/event' src='/waspara/wasp/script.js'></script>",
+ "<script defer src='/piggy.js'></script>", + "<script defer src='/piggy.js'></script>",
], ],
// 🔐 Auth out of the box! https://wasp.sh/docs/auth/overview // 🔐 Auth out of the box! https://wasp.sh/docs/auth/overview
@@ -38,7 +38,7 @@ @@ -39,7 +40,7 @@
email: { email: {
fromField: { fromField: {
name: "Open SaaS App", name: "Open SaaS App",
@ -57,7 +59,7 @@
}, },
emailVerification: { emailVerification: {
clientRoute: EmailVerificationRoute, clientRoute: EmailVerificationRoute,
@@ -50,21 +50,18 @@ @@ -51,21 +52,18 @@
}, },
userSignupFields: import { getEmailUserFields } from "@src/auth/userSignupFields", userSignupFields: import { getEmailUserFields } from "@src/auth/userSignupFields",
}, },
@ -91,7 +93,7 @@
}, },
onAuthFailedRedirectTo: "/login", onAuthFailedRedirectTo: "/login",
onAuthSucceededRedirectTo: "/demo-app", onAuthSucceededRedirectTo: "/demo-app",
@@ -86,11 +83,11 @@ @@ -87,11 +85,11 @@
// NOTE: "Dummy" provider is just for local development purposes. // 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)! // 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/ . // Once you are ready for production, switch to e.g. "SendGrid" or "Mailgun" providers. Check out https://docs.opensaas.sh/guides/email-sending/ .
@ -105,7 +107,7 @@
}, },
}, },
} }
@@ -206,9 +203,9 @@ @@ -207,9 +205,9 @@
} }
api paymentsWebhook { api paymentsWebhook {

View File

@ -6,6 +6,7 @@ app OpenSaaS {
title: "My Open SaaS App", title: "My Open SaaS App",
head: [ head: [
"<link rel='icon' href='/favicon.ico' />",
"<meta charset='utf-8' />", "<meta charset='utf-8' />",
"<meta name='description' content='Your apps main description and features.' />", "<meta name='description' content='Your apps main description and features.' />",
"<meta name='author' content='Your (App) Name' />", "<meta name='author' content='Your (App) Name' />",