src/examples/tour/synq-ui.tsx

Every source

src/examples/tour/synq-ui.tsx
'use client'

import { SignInButton, UserButton } from '@synqauth/react'

// Synq's own UI, in the brand's look (AERO-3484): one component each. The
// button sends people to the brand's hosted page, with every way in the
// brand has on, and back here signed in. The menu's "Manage account" opens
// the member profile, Synq's page at /me on the brand.

export function SynqsSignIn({ returnTo }: { returnTo: string }) {
  return <SignInButton returnTo={returnTo} />
}

export function AccountMenu() {
  return <UserButton />
}