From b11584602134eb51d1d489d800f46b05a3ae6283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Mon, 2 Feb 2026 00:26:27 +0000 Subject: [PATCH] Add WhyRating tab with project links - Brand Site (brand.nuc.lan) - Templates Site (templates.nuc.lan) - Outline Docs for documentation Co-Authored-By: Claude Opus 4.5 --- src/app/page.tsx | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) 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 (