diff --git a/src/app/page.tsx b/src/app/page.tsx index d87225c..59d78ca 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -5,14 +5,21 @@ import { Header, SearchBar, ServiceCard, BookmarkCard, CategorySection, Icon } f import { usePortal } from '@/lib/PortalContext'; import { categoryLabels, categoryOrder, bookmarkCategoryLabels, bookmarkCategoryOrder, ServiceCategory, BookmarkCategory } from '@/lib/services'; -type TabId = 'services' | 'bookmarks' | 'settings'; +type TabId = 'services' | 'bookmarks' | 'whyrating' | 'settings'; const tabs: { id: TabId; label: string; icon: string }[] = [ { id: 'services', label: 'Services', icon: 'server' }, { id: 'bookmarks', label: 'Bookmarks', icon: 'external-link' }, + { id: 'whyrating', label: 'WhyRating', icon: 'star' }, { id: 'settings', label: 'Settings', icon: 'settings' }, ]; +const whyratingLinks = [ + { name: 'Brand Site', url: 'http://brand.nuc.lan', icon: 'palette', description: 'WhyRating brand guidelines and assets' }, + { name: 'Templates Site', url: 'http://templates.nuc.lan', icon: 'layout', description: 'WhyRating email and document templates' }, + { name: 'Outline Docs', url: 'http://192.168.1.3:3080', icon: 'file-text', description: 'Project documentation and notes' }, +]; + export default function Home() { const [activeTab, setActiveTab] = useState('services'); const { filteredServices, filteredBookmarks, healthStatus, searchQuery, darkMode, setDarkMode, services } = usePortal(); @@ -136,6 +143,40 @@ export default function Home() { ); + case 'whyrating': + return ( +
+
+

+ WhyRating.com +

+

+ Project resources and documentation +

+
+
+ {whyratingLinks.map(link => ( + +
+ +
+
+

{link.name}

+

{link.description}

+
+ +
+ ))} +
+
+ ); + case 'settings': return (