import React from 'react'; import type { IsometricSceneProps } from './IsoTypes'; import { MountainCluster, PineTree, IsoUprightPencil, IsoMonitorDisplay, IsoPCTower, IsoSignpost, PhoneIcon, LinkedInIcon, GitHubIcon, TelegramIcon, } from './IsoElements'; /** * Architectural Stepped Terraces: * 5 ground steps on the floor along the 2:1 isometric grid, * plus the full-sized large center workstation platform with bold 20px blue drop apron * and the elevated stepped workstation tier. */ function SteppedTerraces() { return ( {/* Floor Step Fade Mask: solid at front (y=400..360), smooth fade backwards (y=210) */} {/* 1. 3D FRONT VERTICAL DROP APRON (5 STEPS: Steps 2 to 6, x=200 to 1000) */} {/* Step 2 (Phone) */} {/* Step 3 (LinkedIn) */} {/* Step 4 (Center Platform) */} {/* Step 5 (GitHub) */} {/* Step 6 (Telegram) */} {/* Vertical corner edges at peaks */} {/* Vertical corner edges at valleys and outer ends */} {/* 2. FADING GROUND FLOOR TOP SURFACE & OUTLINE BORDERS */} {/* Fading Diamond Tile Outlines */} {/* 3. CENTER ELEVATED WORKSTATION PLATFORM (TIER 1 & TIER 2) */} {/* Tier 1 3D Base Diamond Platform with Sleek 15px Blue Drop Edge (248px wide) */} {/* Left Front Drop Face (Slope +0.5 from 476,290 to 600,352, Drop Height = 15px) */} {/* Right Front Drop Face (Slope -0.5 from 600,352 to 724,290, Drop Height = 15px) */} {/* Center Vertical Ridge Line */} {/* Tier 1 White Diamond Top Surface (Well-Proportioned 248px wide: x=476 to 724, y=228 to 352) */} {/* Tier 2: Refined & Compact 3D Elevated Stepped Workstation Platform (Drop Height = 12px) */} {/* Front-left drop 1 (under monitor) */} {/* Front-left drop 2 (middle step in front of pencil) */} {/* Front-right drop (middle step facing SE) */} {/* Inner corner step drop (facing right towards PC Tower) */} {/* Tier 2: White Top Surfaces of the 3 Workstation Step Tiles */} {/* Left Tile (holding Monitor) */} {/* Center Middle Tile */} {/* Back Tile (holding Pencil) */} {/* Dividing Grid Lines on the Step */} ); } /** * Glowing Blue Circuit Lines * Completely uniform 2:1 isometric slope (26.565°, dy/dx = ±0.5) across ALL conduit segments */ function CircuitConduits({ activePost }: { activePost: string | null }) { return ( {/* Left Branch: Phone -> Step 3 -> LinkedIn -> Center Platform with exact ±0.5 slope */} {/* Right Branch: Center Platform -> GitHub -> Step 5 -> Telegram with exact ±0.5 slope */} ); } /** * Main Isometric Footer Scene SVG Component */ export default function IsometricScene({ activePost, onPostHover, onPostClick, }: IsometricSceneProps) { return ( {/* 1. Solid 3D Architectural Stepped Terraces */} {/* 2. Glowing Royal Blue Circuit Conduits */} {/* 3. Left Mountain Cluster */} {/* 4. Right Mountain Cluster (mirrored) */} {/* 5. Pine Trees on the floor along ground line */} {/* 6. Central Workstation Illustrations resting flush on the large platform */} {/* Prominent Monitor Display resting on left elevated step */} {/* Majestic Upright Faceted Pencil resting on back elevated step */} {/* Vertical PC Tower on Pedestal Plate resting on Tier 1 */} {/* 7. The 4 Interactive Isometric Signposts rotated in 3D */} } label="09388263077" isActive={activePost === 'phone'} onMouseEnter={() => onPostHover?.('phone')} onMouseLeave={() => onPostHover?.(null)} onClick={() => onPostClick?.('phone')} /> } label="@amiirkhl" isActive={activePost === 'linkedin'} onMouseEnter={() => onPostHover?.('linkedin')} onMouseLeave={() => onPostHover?.(null)} onClick={() => onPostClick?.('linkedin')} /> } label="git.amiirkhl.ir" isActive={activePost === 'github'} onMouseEnter={() => onPostHover?.('github')} onMouseLeave={() => onPostHover?.(null)} onClick={() => onPostClick?.('github')} /> } label="@amiirkhl" isActive={activePost === 'telegram'} onMouseEnter={() => onPostHover?.('telegram')} onMouseLeave={() => onPostHover?.(null)} onClick={() => onPostClick?.('telegram')} /> ); }