First version
This commit is contained in:
25
ResumeBuilder/Data/CVInfo.swift
Normal file
25
ResumeBuilder/Data/CVInfo.swift
Normal file
@ -0,0 +1,25 @@
|
||||
import Foundation
|
||||
|
||||
struct Titled<Content> {
|
||||
|
||||
let title: String
|
||||
|
||||
let items: [Content]
|
||||
}
|
||||
|
||||
struct CVInfo {
|
||||
|
||||
let top: TopInfo
|
||||
|
||||
let work: Titled<CareerStation>
|
||||
|
||||
let education: Titled<CareerStation>
|
||||
|
||||
let publications: Titled<Publication>
|
||||
|
||||
let skills: Titled<SkillsSet>
|
||||
|
||||
let about: Titled<String>
|
||||
|
||||
let footer: [String]
|
||||
}
|
18
ResumeBuilder/Data/CareerStation.swift
Normal file
18
ResumeBuilder/Data/CareerStation.swift
Normal file
@ -0,0 +1,18 @@
|
||||
import Foundation
|
||||
|
||||
struct CareerStation: Identifiable {
|
||||
|
||||
let time: String
|
||||
|
||||
let location: String
|
||||
|
||||
let title: String
|
||||
|
||||
let subtitle: String?
|
||||
|
||||
let text: String?
|
||||
|
||||
var id: String {
|
||||
title + time + location
|
||||
}
|
||||
}
|
12
ResumeBuilder/Data/Publication.swift
Normal file
12
ResumeBuilder/Data/Publication.swift
Normal file
@ -0,0 +1,12 @@
|
||||
import Foundation
|
||||
|
||||
struct Publication: Identifiable {
|
||||
|
||||
let venue: String
|
||||
|
||||
let title: String
|
||||
|
||||
var id: String {
|
||||
title + venue
|
||||
}
|
||||
}
|
13
ResumeBuilder/Data/SkillsSet.swift
Normal file
13
ResumeBuilder/Data/SkillsSet.swift
Normal file
@ -0,0 +1,13 @@
|
||||
import Foundation
|
||||
import SFSafeSymbols
|
||||
|
||||
struct SkillsSet: Identifiable {
|
||||
|
||||
let systemSymbol: SFSymbol
|
||||
|
||||
let entries: [String]
|
||||
|
||||
var id: String {
|
||||
entries.joined()
|
||||
}
|
||||
}
|
22
ResumeBuilder/Data/TopInfo.swift
Normal file
22
ResumeBuilder/Data/TopInfo.swift
Normal file
@ -0,0 +1,22 @@
|
||||
import Foundation
|
||||
|
||||
struct TopInfo {
|
||||
|
||||
let imageName: String
|
||||
|
||||
let name: String
|
||||
|
||||
let tagLine: String
|
||||
|
||||
let place: String
|
||||
|
||||
let ageText: String
|
||||
|
||||
let web: String
|
||||
|
||||
let email: String
|
||||
|
||||
let phone: String
|
||||
|
||||
let github: String
|
||||
}
|
Reference in New Issue
Block a user