| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // DashboardModels.swift
- // App for Indeed
- //
- import Foundation
- struct SidebarItem {
- let title: String
- let systemImage: String
- let badge: String?
- }
- struct DashboardData {
- let subtitle: String
- let sidebarItems: [SidebarItem]
- let profileInsightsTitle: String
- let profileInsightsBody: String
- }
- 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: "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 insights",
- profileInsightsBody: "Saved jobs and interviews at a glance."
- )
- }
- }
|