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' && ( + <> +
+ WhyRating infrastructure overview - drag nodes to rearrange, hover for details +
+