| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // DashboardModels.swift
- // App for Indeed
- //
- import Foundation
- struct SidebarItem {
- let title: String
- let systemImage: String
- let badge: String?
- }
- struct DashboardData {
- let greetingName: String
- let subtitle: String
- let sidebarItems: [SidebarItem]
- let profileInsightsTitle: String
- let profileInsightsBody: String
- let profileInsightsLinkTitle: String
- }
- protocol DashboardDataProviding {
- func loadDashboardData() -> DashboardData
- }
- final class MockDashboardDataProvider: DashboardDataProviding {
- func loadDashboardData() -> DashboardData {
- DashboardData(
- greetingName: "Olivia",
- subtitle: "Find your perfect job with the power of AI.",
- sidebarItems: [
- SidebarItem(title: "Overview", systemImage: "house.fill", badge: nil),
- SidebarItem(title: "Saved Jobs", systemImage: "heart", badge: nil),
- SidebarItem(title: "Interviews", systemImage: "list.bullet", badge: nil),
- SidebarItem(title: "Profile", systemImage: "person", badge: nil),
- SidebarItem(title: "Settings", systemImage: "gearshape", badge: nil)
- ],
- profileInsightsTitle: "AI Profile Insights",
- profileInsightsBody: "Your personal dashboard, powered by AI. Check your saved jobs and upcoming interviews.",
- profileInsightsLinkTitle: "View Full Insights"
- )
- }
- }
|