componenets standardization 1
This commit is contained in:
@@ -233,10 +233,10 @@ export default function ClusterDetail() {
|
||||
{/* Tabs */}
|
||||
<div className="mb-6 border-b border-gray-200 dark:border-gray-700">
|
||||
<div className="flex gap-4">
|
||||
<button
|
||||
type="button"
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => handleTabChange('articles')}
|
||||
className={`px-4 py-2 font-medium border-b-2 transition-colors ${
|
||||
className={`px-4 py-2 font-medium border-b-2 rounded-none transition-colors ${
|
||||
activeTab === 'articles'
|
||||
? 'border-brand-500 text-brand-600 dark:text-brand-400'
|
||||
: 'border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300'
|
||||
@@ -244,11 +244,11 @@ export default function ClusterDetail() {
|
||||
>
|
||||
<FileIcon className="w-4 h-4 inline mr-2" />
|
||||
Articles
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => handleTabChange('pages')}
|
||||
className={`px-4 py-2 font-medium border-b-2 transition-colors ${
|
||||
className={`px-4 py-2 font-medium border-b-2 rounded-none transition-colors ${
|
||||
activeTab === 'pages'
|
||||
? 'border-brand-500 text-brand-600 dark:text-brand-400'
|
||||
: 'border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300'
|
||||
@@ -256,11 +256,11 @@ export default function ClusterDetail() {
|
||||
>
|
||||
<PageIcon className="w-4 h-4 inline mr-2" />
|
||||
Pages
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => handleTabChange('products')}
|
||||
className={`px-4 py-2 font-medium border-b-2 transition-colors ${
|
||||
className={`px-4 py-2 font-medium border-b-2 rounded-none transition-colors ${
|
||||
activeTab === 'products'
|
||||
? 'border-brand-500 text-brand-600 dark:text-brand-400'
|
||||
: 'border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300'
|
||||
@@ -268,11 +268,11 @@ export default function ClusterDetail() {
|
||||
>
|
||||
<GridIcon className="w-4 h-4 inline mr-2" />
|
||||
Products
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => handleTabChange('taxonomy')}
|
||||
className={`px-4 py-2 font-medium border-b-2 transition-colors ${
|
||||
className={`px-4 py-2 font-medium border-b-2 rounded-none transition-colors ${
|
||||
activeTab === 'taxonomy'
|
||||
? 'border-brand-500 text-brand-600 dark:text-brand-400'
|
||||
: 'border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300'
|
||||
@@ -280,7 +280,7 @@ export default function ClusterDetail() {
|
||||
>
|
||||
<TagIcon className="w-4 h-4 inline mr-2" />
|
||||
Taxonomy
|
||||
</button>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user