Move WhyRating tab to first position
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,9 +8,9 @@ import { categoryLabels, categoryOrder, bookmarkCategoryLabels, bookmarkCategory
|
|||||||
type TabId = 'services' | 'bookmarks' | 'whyrating' | 'settings';
|
type TabId = 'services' | 'bookmarks' | 'whyrating' | 'settings';
|
||||||
|
|
||||||
const tabs: { id: TabId; label: string; icon: string }[] = [
|
const tabs: { id: TabId; label: string; icon: string }[] = [
|
||||||
|
{ id: 'whyrating', label: 'WhyRating', icon: 'star' },
|
||||||
{ id: 'services', label: 'Services', icon: 'server' },
|
{ id: 'services', label: 'Services', icon: 'server' },
|
||||||
{ id: 'bookmarks', label: 'Bookmarks', icon: 'external-link' },
|
{ id: 'bookmarks', label: 'Bookmarks', icon: 'external-link' },
|
||||||
{ id: 'whyrating', label: 'WhyRating', icon: 'star' },
|
|
||||||
{ id: 'settings', label: 'Settings', icon: 'settings' },
|
{ id: 'settings', label: 'Settings', icon: 'settings' },
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ const whyratingLinks = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
const [activeTab, setActiveTab] = useState<TabId>('services');
|
const [activeTab, setActiveTab] = useState<TabId>('whyrating');
|
||||||
const { filteredServices, filteredBookmarks, healthStatus, searchQuery, darkMode, setDarkMode, services } = usePortal();
|
const { filteredServices, filteredBookmarks, healthStatus, searchQuery, darkMode, setDarkMode, services } = usePortal();
|
||||||
|
|
||||||
// Group services by category
|
// Group services by category
|
||||||
|
|||||||
Reference in New Issue
Block a user