| 12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // 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]
- }
- 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: "CV Maker", systemImage: "doc.text", badge: nil),
- SidebarItem(title: "Profile", systemImage: "person", badge: nil),
- SidebarItem(title: "Settings", systemImage: "gearshape", badge: nil)
- ]
- )
- }
- }
|