## Description Updating the login and signup page for cloud hosting as per new design Fixes [#32267](https://github.com/appsmithorg/appsmith/issues/32267) ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/8723701550> > Commit: 65a0179c5d22e1f950888c24a119af608aed2a28 > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8723701550&attempt=4" target="_blank">Click here!</a> <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced titles and messages across login, signup, and forgot password pages for clarity and engagement. - Added new analytics event for tracking visits to self-hosting documentation. - Introduced new content and layout adjustments in user authentication pages to improve user experience. - Implemented conditional rendering to optimize content display for mobile devices and cloud hosting scenarios. - **Bug Fixes** - Updated footer links to use consistent capitalization. - **Refactor** - Major structural and styling overhaul of forms and user authentication components to utilize modern CSS practices and improve maintainability. - **Documentation** - Added direct links to self-hosting documentation to facilitate user access. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
60 lines
2.8 KiB
TypeScript
60 lines
2.8 KiB
TypeScript
export type ENVIRONMENT = "PRODUCTION" | "STAGING" | "LOCAL";
|
|
|
|
export const DOCS_BASE_URL = "https://docs.appsmith.com/";
|
|
export const TELEMETRY_URL = `${DOCS_BASE_URL}telemetry`;
|
|
export const ASSETS_CDN_URL = "https://assets.appsmith.com";
|
|
export const GITHUB_RELEASE_URL =
|
|
"https://github.com/appsmithorg/appsmith/releases/tag";
|
|
export const GET_RELEASE_NOTES_URL = (tagName: string) =>
|
|
`${GITHUB_RELEASE_URL}/${tagName}`;
|
|
export const SELF_HOSTING_DOC =
|
|
"https://docs.appsmith.com/getting-started/setup";
|
|
export const GOOGLE_MAPS_SETUP_DOC =
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/google-maps";
|
|
export const GOOGLE_SIGNUP_SETUP_DOC =
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/authentication/google-login";
|
|
export const GITHUB_SIGNUP_SETUP_DOC =
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/authentication/github-login";
|
|
export const OIDC_SIGNUP_SETUP_DOC =
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/authentication/openid-connect-oidc";
|
|
export const SAML_SIGNUP_SETUP_DOC =
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/authentication/security-assertion-markup-language-saml";
|
|
export const EMAIL_SETUP_DOC =
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/email";
|
|
export const SIGNUP_RESTRICTION_DOC =
|
|
"https://docs.appsmith.com/getting-started/setup/instance-configuration/disable-user-signup#disable-sign-up";
|
|
export const EMBED_PRIVATE_APPS_DOC =
|
|
"https://docs.appsmith.com/advanced-concepts/embed-appsmith-into-existing-application#embedding-private-apps";
|
|
export const PROVISIONING_SETUP_DOC =
|
|
"http://docs.appsmith.com/advanced-concepts/user-provisioning-group-sync";
|
|
export const DISCORD_URL = "https://discord.gg/rBTTVJp";
|
|
export const ENTERPRISE_PRICING_PAGE = "https://www.appsmith.com/enterprise";
|
|
export const DOCS_BRANCH_PROTECTION_URL =
|
|
"https://docs.appsmith.com/advanced-concepts/version-control-with-git/working-with-branches#branch-protection";
|
|
export const DOCS_DEFAULT_BRANCH_URL =
|
|
"https://docs.appsmith.com/advanced-concepts/version-control-with-git/working-with-branches#default-branch";
|
|
export const PACKAGES_OVERVIEW_DOC =
|
|
"https://docs.appsmith.com/packages/overview";
|
|
|
|
export const PRICING_PAGE_URL = (
|
|
URL: string,
|
|
source: string,
|
|
instanceId: string,
|
|
feature?: string,
|
|
section?: string,
|
|
) =>
|
|
`${URL}?source=${source}${instanceId ? `&instance=${instanceId}` : ``}${
|
|
feature ? `&feature=${feature}` : ""
|
|
}${section ? `§ion=${section}` : ""}`;
|
|
|
|
export const CUSTOMER_PORTAL_URL_WITH_PARAMS = (
|
|
URL: string,
|
|
source: string,
|
|
instanceId: string,
|
|
feature?: string,
|
|
section?: string,
|
|
) =>
|
|
`${URL}?source=${source}${instanceId ? `&instance=${instanceId}` : ``}${
|
|
feature ? `&feature=${feature}` : ""
|
|
}${section ? `§ion=${section}` : ""}`;
|