Home / Function/ ExploreMore() — supabase Function Reference

ExploreMore() — supabase Function Reference

Architecture documentation for the ExploreMore() function in explore-more.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  e841dd04_36e3_956e_3884_c7f4a1d21688["ExploreMore()"]
  08b54c2e_9557_fab1_b80d_ea2df7a51c6d["getIcon()"]
  e841dd04_36e3_956e_3884_c7f4a1d21688 -->|calls| 08b54c2e_9557_fab1_b80d_ea2df7a51c6d
  51947f4c_f9de_482c_4048_478c0774aa80["getDescription()"]
  e841dd04_36e3_956e_3884_c7f4a1d21688 -->|calls| 51947f4c_f9de_482c_4048_478c0774aa80
  style e841dd04_36e3_956e_3884_c7f4a1d21688 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/learn/components/explore-more.tsx lines 54–110

export function ExploreMore({ items }: ExploreMoreProps) {
  if (!items || items.length === 0) {
    return null
  }

  return (
    <div className="mt-16 mb-8">
      <div className="border-t border-border pt-8">
        <h3 className="text-sm font-semibold text-foreground-lighter uppercase tracking-wider mb-6">
          Explore More
        </h3>
        <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
          {items.map((item, index) => {
            const isExternal = item.link.startsWith('http://') || item.link.startsWith('https://')
            const Icon = getIcon(item.itemType)
            const description = item.description || getDescription(item.itemType)

            const cardContent = (
              <div className="relative bg-background border border-border rounded-lg shadow-sm p-6 h-full hover:shadow-md transition-shadow group">
                <div className="absolute top-4 right-4">
                  <ExternalLink className="h-4 w-4 text-foreground-lighter opacity-50 group-hover:opacity-100 transition-opacity" />
                </div>
                <div className="flex flex-col gap-3">
                  <Icon className="h-6 w-6 text-foreground" />
                  <div>
                    <h4 className="font-bold text-foreground mb-1">{item.title}</h4>
                    <p className="text-sm text-foreground-light">{description}</p>
                  </div>
                </div>
              </div>
            )

            if (isExternal) {
              return (
                <a
                  key={index}
                  href={item.link}
                  target="_blank"
                  rel="noopener noreferrer"
                  className="block"
                >
                  {cardContent}
                </a>
              )
            }

            return (
              <Link key={index} href={item.link} className="block">
                {cardContent}
              </Link>
            )
          })}
        </div>
      </div>
    </div>
  )
}

Subdomains

Frequently Asked Questions

What does ExploreMore() do?
ExploreMore() is a function in the supabase codebase.
What does ExploreMore() call?
ExploreMore() calls 2 function(s): getDescription, getIcon.

Analyze Your Own Codebase

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

Try Supermodel Free