Home / Function/ GetStartedHero() — supabase Function Reference

GetStartedHero() — supabase Function Reference

Architecture documentation for the GetStartedHero() function in GetStartedHero.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/Home/NewProjectPanel/GetStartedHero.tsx lines 34–107

export const GetStartedHero = () => {
  return (
    <div className="w-full max-w-[500px] h-full pb-10 lg:pb-0 relative pointer-events-none">
      <div
        className={cn(
          'w-[290px] lg:w-[400px] h-[180px] bg-alternative border border-default',
          'rounded-t px-4 py-3 space-y-1 overflow-hidden'
        )}
      >
        <div className="text-xs font-mono space-x-4 flex items-center">
          <span className="text-foreground-light">1</span>
          <p className="text-blue-900">
            create table <span className="text-foreground">todos {`(`}</span>
          </p>
        </div>
        <div className="text-xs font-mono space-x-8 flex items-center">
          <span className="text-foreground-light">2</span>
          <p className="text-foreground">
            id <span className="text-blue-900">bigint generated by default</span>,
          </p>
        </div>
        <div className="text-xs font-mono space-x-8 flex items-center">
          <span className="text-foreground-light">3</span>
          <p className="text-foreground">
            task <span className="text-blue-900">text</span>,
          </p>
        </div>
        <div className="text-xs font-mono space-x-8 flex items-center">
          <span className="text-foreground-light">4</span>
          <p className="text-foreground">
            status <span className="text-blue-900">status default 'Not Started'</span>,
          </p>
        </div>
        <div className="text-xs font-mono space-x-8 flex items-center">
          <span className="text-foreground-light">5</span>
          <p className="text-foreground">
            user_id <span className="text-blue-900">uuid references auth.users not null</span>,
          </p>
        </div>
        <div className="text-xs font-mono space-x-8 flex items-center">
          <span className="text-foreground-light">6</span>
          <p className="text-foreground">
            inserted_at <span className="text-blue-900">timestamp with time zone</span>,
          </p>
        </div>
        <div className="text-xs font-mono space-x-8 flex items-center">
          <span className="text-foreground-light">7</span>
          <p className="text-foreground">
            updated_at <span className="text-blue-900">timestamp with time zone</span>,
          </p>
        </div>
        <div className="text-xs font-mono space-x-4 flex items-center">
          <span className="text-foreground-light">8</span>
          <p className="text-blue-900">{`);`}</p>
        </div>
      </div>
      <div
        className={cn(
          'w-[260px] lg:w-[320px] h-[160px] lg:h-[220px] bg-surface-100 border border-default',
          'absolute right-0 top-[50px] lg:-top-[40px] rounded-t overflow-y-hidden'
        )}
      >
        <Row col1="id" col2="task" col3="status" className="h-[24px] bg-surface-100" />
        <Row col1="1" col2="Create a project" col3="Complete" />
        <Row col1="2" col2="Read documentation" col3="Complete" />
        <Row col1="3" col2="Build application" col3="In progress" />
        <Row col1="4" col2="Connect Supabase" col3="In progress" />
        <Row col1="5" col2="Deploy project" col3="Not started" />
        <Row col1="6" col2="Get users" col3="Not started" />
        <Row col1="7" col2="Upgrade to Pro" col3="Not started" />
      </div>
    </div>
  )
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free