All files / src/app/tutorials/sharing page.tsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33      1x                                       1x                  
import { TutorialArticle } from "@/features/tutorials/TutorialArticle";
import { getTutorial } from "@/features/tutorials/tutorials";
 
const steps = [
  {
    title: "Open People",
    body: "Collection owners can open People from a collection and invite someone by email.",
  },
  {
    title: "Invite a collaborator",
    body: "An accepted invitation gives that person curator access to the collection, so they can help with the collection itself.",
  },
  {
    title: "Save a result",
    body: "Public sharing starts after sorting. Open a result, adjust it if needed, then finalize it.",
  },
  {
    title: "Create a public link",
    body: "Saved results show a Create link control for the result curator. The link opens a read-only result without requiring an account.",
  },
] as const;
 
export default function SharingTutorialPage() {
  return (
    <TutorialArticle
      tutorial={getTutorial("sharing")}
      intro="Invite and share are two different things in Adored. Invite gives a person access to a collection. Share creates a read-only link to a saved result."
      steps={steps}
      closing="Use invites for collaboration. Use shared links when you have a result you want someone else to see."
    />
  );
}