diff --git a/apps/studio/components/interfaces/HomeNew/ActivityStats.tsx b/apps/studio/components/interfaces/HomeNew/ActivityStats.tsx index 4612f6c4b7606..4e7d6a8a0e40b 100644 --- a/apps/studio/components/interfaces/HomeNew/ActivityStats.tsx +++ b/apps/studio/components/interfaces/HomeNew/ActivityStats.tsx @@ -55,7 +55,7 @@ export const ActivityStats = () => { return (
{step.description}
-{activeStep.description}
+,
description:
- 'To get started, install the Supabase CLI to manage your project locally, handle migrations, and seed data.',
+ 'To get started, install the Supabase CLI—our command-line toolkit for managing projects locally, handling migrations, and seeding data—using the npm command below to add it to your workspace.',
actions: [
{
label: 'Install via npm',
@@ -150,7 +156,9 @@ export function GettingStartedSection({
status: tablesCount > 0 ? 'complete' : 'incomplete',
title: 'Design your database schema',
icon: ,
- description: 'Your project is ready. Connect your app using one of our client libraries.',
+ description:
+ 'Your project is ready; use the framework selector to preview starter code and launch the Connect flow with the client library you prefer.',
actions: connectActions,
},
{
@@ -242,7 +252,8 @@ export function GettingStartedSection({
status: 'incomplete',
title: 'Sign up your first user',
icon: ,
- description: 'Add server-side logic by creating and deploying your first Edge Function.',
+ description:
+ 'Add server-side logic by creating and deploying your first Edge Function—a lightweight TypeScript or JavaScript function that runs close to your users—then revisit the list to monitor and iterate on it.',
actions: [
{
label: 'Create a function',
@@ -282,7 +295,7 @@ export function GettingStartedSection({
title: "Monitor your project's usage",
icon: ,
- description: "Your project is ready. Let's connect your application to Supabase.",
+ description:
+ 'Your project is ready; use the framework selector to preview starter code and launch the Connect flow to wire up your app.',
actions: connectActions,
},
{
@@ -400,7 +416,8 @@ export function GettingStartedSection({
status: 'incomplete',
title: 'Sign up your first user',
icon: ,
description:
- "Extend your app's functionality by creating an Edge Function for server-side logic.",
+ "Extend your app's functionality by creating an Edge Function—a lightweight serverless function that executes close to your users—for server-side logic directly from the functions page.",
actions: [
{
label: 'Create a function',
@@ -441,7 +458,7 @@ export function GettingStartedSection({
title: "Monitor your project's health",
icon:
+
+ No-code
You have been invited to join
-{organizationName}
- {isSuccess && slug && ( -{`organization slug: ${slug}`}
- )} -- You will need to sign in to accept this invitation +
You have been invited to join
++ {organizationName}
-{`Organization slug: ${slug}`}
+ )}+ Sign in or create an account first to view this invitation +
+{card.description}
) : (
diff --git a/apps/studio/pages/join.tsx b/apps/studio/pages/join.tsx
index 58f63aa217ca0..75823e77d9d4f 100644
--- a/apps/studio/pages/join.tsx
+++ b/apps/studio/pages/join.tsx
@@ -1,39 +1,48 @@
import Link from 'next/link'
-import { useRouter } from 'next/router'
import { OrganizationInvite } from 'components/interfaces/OrganizationInvite/OrganizationInvite'
+import { BASE_PATH } from 'lib/constants'
+import { useTheme } from 'next-themes'
+import { useEffect, useMemo, useState } from 'react'
import { NextPageWithLayout } from 'types'
import { cn } from 'ui'
const JoinOrganizationPage: NextPageWithLayout = () => {
- const router = useRouter()
+ const { resolvedTheme } = useTheme()
+ const isDarkMode = resolvedTheme?.includes('dark')
+
+ const [mounted, setMounted] = useState(false)
+
+ const imgUrl = useMemo(
+ () =>
+ isDarkMode ? `${BASE_PATH}/img/supabase-dark.svg` : `${BASE_PATH}/img/supabase-light.svg`,
+ [isDarkMode]
+ )
+
+ useEffect(() => setMounted(true), [])
return (
-