// // DashboardModels.swift // App for Indeed // import Foundation struct SidebarItem { let title: String let systemImage: String let badge: String? } struct JobListing: Hashable, Codable { let title: String let description: String let url: String? } struct DashboardData { let subtitle: String let sidebarItems: [SidebarItem] let jobListings: [JobListing] } protocol DashboardDataProviding { func loadDashboardData() -> DashboardData } final class MockDashboardDataProvider: DashboardDataProviding { func loadDashboardData() -> DashboardData { DashboardData( subtitle: "Find your perfect job with the power of AI.", sidebarItems: [ SidebarItem(title: "Home", systemImage: "house.fill", badge: nil), SidebarItem(title: "Saved Jobs", systemImage: "heart", badge: nil), SidebarItem(title: "CV Maker", systemImage: "doc.text", badge: nil), SidebarItem(title: "Profile", systemImage: "person", badge: nil), SidebarItem(title: "Settings", systemImage: "gearshape", badge: nil) ], jobListings: [ JobListing( title: "Senior iOS Engineer", description: "Build polished native software in Swift and SwiftUI. Remote-friendly team, strong product focus, and mentorship for mid-level engineers.", url: "https://www.indeed.com/jobs?q=Senior+iOS+Engineer" ), JobListing( title: "Product Designer", description: "Own end-to-end UX for job seeker flows—from discovery to apply. Figma systems, accessibility, and close collaboration with engineering.", url: "https://www.indeed.com/jobs?q=Product+Designer" ), JobListing( title: "Machine Learning Engineer", description: "Improve search and recommendations using large-scale data. Python, PyTorch, and production software for ML pipelines; research-to-ship mindset.", url: "https://www.indeed.com/jobs?q=Machine+Learning+Engineer" ), JobListing( title: "Technical Recruiter", description: "Partner with hiring managers to grow engineering teams. Full-cycle recruiting, inclusive sourcing, and a high-trust candidate experience.", url: "https://www.indeed.com/jobs?q=Technical+Recruiter" ), JobListing( title: "Customer Success Manager", description: "Help employers get the most from their hiring tools. Onboarding, training, and proactive check-ins with a metrics-driven playbook.", url: "https://www.indeed.com/jobs?q=Customer+Success+Manager" ) ] ) } }