INNER CODE UNIT · JavaScript

formatStars

collabnix/kubetools · portal/KubeToolsPortal.js:189

  const formatStars = (count) => {
    if (count >= 1000) {
      return `${(count / 1000).toFixed(1)}k`;
    }
    return count;
  };
  
  return (
    <div className="flex flex-col h-screen bg-gray-100">
      {/* Header with Kubernetes Logo */}
      <header className="bg-gradient-to-r from-blue-600 to-blue-800 text-white shadow-lg">
        <div className="container mx-auto px-4 py-3 flex items-center justify-between">
          <div className="flex items-center space-x-3">
            <KubernetesLogo />
            <h1 className="text-2xl font-bold">KubeTools Portal</h1>
          </div>
          
          {/* Search Bar */}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…