diff --git a/docs/components/features.tsx b/docs/components/features.tsx index dd0eed6c..5526b3fd 100644 --- a/docs/components/features.tsx +++ b/docs/components/features.tsx @@ -21,9 +21,9 @@ const features = [ { id: 1, label: "Framework Agnostic", - title: "Supports popular frameworks.", + title: "Supports for popular frameworks.", description: - "Supports popular frameworks, including React, Vue, Svelte, Astro, Solid, Next.js, Nuxt, Hono, and more.", + "Supports popular frameworks, including React, Vue, Svelte, Astro, Solid, Next.js, Nuxt, Tanstack Start, Hono, and more.", icon: PlugZap2Icon, }, { @@ -31,7 +31,7 @@ const features = [ label: "Authentication", title: "Email & Password Authentication.", description: - "Built-in support for email and password authentication, with secure password hashing and account management features.", + "Built-in support for email and password authentication, with session and account management features.", icon: LockClosedIcon, }, { @@ -45,25 +45,27 @@ const features = [ { id: 4, label: "Two Factor", - title: "Two Factor Authentication.", + title: "Multi Factor Authentication.", description: - "With our built-in two factor authentication plugin, you can add an extra layer of security to your account.", + "Secure your users accounts with two factor authentication with a few lines of code.", icon: ShieldCheckIcon, }, { id: 5, - label: "Organization & Access Control", - title: "Gain and manage access.", + label: "Multi Tenant", + title: "Organization Members and Invitation.", description: - "Manage users and their access to resources within your application.", + "Multi tenant support with members, organization, teams and invitation with access control.", + icon: RabbitIcon, }, + { id: 6, label: "Plugin Ecosystem", - title: "Extend your application with plugins.", + title: "A lot more features with plugins.", description: - "Enhance your application with our official plugins and those created by the community.", + "Improve your application experience with our official plugins and those created by the community.", icon: PlugIcon, }, ]; diff --git a/docs/components/landing/hero.tsx b/docs/components/landing/hero.tsx index 58440083..cb2e9f74 100644 --- a/docs/components/landing/hero.tsx +++ b/docs/components/landing/hero.tsx @@ -75,7 +75,7 @@ export default function Hero() {

- The most comprehensive authentication library for TypeScript. + The authentication and authorization framework for TypeScript.

{ <> diff --git a/docs/content/docs/basic-usage.mdx b/docs/content/docs/basic-usage.mdx index 3e7c58a7..f71e9bee 100644 --- a/docs/content/docs/basic-usage.mdx +++ b/docs/content/docs/basic-usage.mdx @@ -83,7 +83,7 @@ export default function SignUp() { } ``` -By default, the user is automatically logged in after signing up. This behaviour can be changed by configuring your `auth-config` +By default, the user is automatically signed in after signing up. This behaviour can be changed by configuring your `auth-config` ```js import { betterAuth } from "better-auth" @@ -215,11 +215,11 @@ await authClient.signOut({ ## Session Management -Once a user is signed in, you'll want to access their session. Better Auth allows you easily to access the session data from the server and client side. +Once a user is signed in, you'll want to access the user session. Better Auth allows you easily to access the session data from the server and client side. ### Client Side -Better Auth provides a `useSession` hook to easily access session data on the client side. This hook is implemented in a reactive way for each supported framework, ensuring that any changes to the session (such as signing out) are immediately reflected in your UI. +Better Auth provides a `useSession` hook to easily access session data on the client side. This hook is implemented using nanostore and has support for each supported framework and vanilla client, ensuring that any changes to the session (such as signing out) are immediately reflected in your UI. It has the following properties: - **data**: the actual session data which includes `session` and `user` object.