From e4345a4da4f35c4b9d38e19921f37d17e90da090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Guti=C3=A9rrez?= <35082514+alezmad@users.noreply.github.com> Date: Sun, 8 Feb 2026 18:54:54 +0000 Subject: [PATCH] Add WhyOps link and infrastructure tab Co-Authored-By: Claude Opus 4.6 --- src/app/page.tsx | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index b39a62c..26b699a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,12 +1,13 @@ 'use client'; import { useState } from 'react'; -import { Icon, WhyMyRatingLogo } from '@/components'; +import { Icon, WhyMyRatingLogo, InfrastructureDiagram } from '@/components'; -type TabId = 'home' | 'settings'; +type TabId = 'home' | 'infrastructure' | 'settings'; const tabs: { id: TabId; label: string; icon: string }[] = [ { id: 'home', label: 'Home', icon: 'star' }, + { id: 'infrastructure', label: 'Infrastructure', icon: 'git-branch' }, { id: 'settings', label: 'Settings', icon: 'settings' }, ]; @@ -17,6 +18,7 @@ const whyratingLinks = [ { name: 'Gmail', url: 'https://mail.google.com/mail/?authuser=info@whyrating.com', icon: 'mail', description: 'info@whyrating.com business email' }, { name: 'Business Tracker', url: 'https://docs.google.com/spreadsheets/d/1ZCfS5GysnoSq__WN2dXKUag8hc89hlLnzQBtpBgubXc/edit?gid=0#gid=0', icon: 'table', description: 'Business tracking spreadsheet' }, { name: 'Snappymail', url: 'http://nuc.lan:8082', icon: 'mail', description: 'Self-hosted email client' }, + { name: 'WhyOps', url: 'http://whyops.nuc.lan', icon: 'settings', description: 'Scraping, pipelines & testing backoffice' }, ]; export default function Home() { @@ -88,6 +90,23 @@ export default function Home() { )} + {activeTab === 'infrastructure' && ( + <> +
+

+ System Architecture +

+

+ WhyRating infrastructure overview - drag nodes to rearrange, hover for details +

+
+ +
+ +
+ + )} + {activeTab === 'settings' && (