-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.rs
More file actions
152 lines (152 loc) · 4.04 KB
/
data.rs
File metadata and controls
152 lines (152 loc) · 4.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
use dioxus::prelude::*;
// TODO: add SEO
#[derive(Debug, Clone)]
pub struct Seo {
pub title: &'static str,
pub description: &'static str,
pub og: OpenGraph,
}
#[derive(Debug, Clone, PartialEq)]
pub struct OpenGraph {
pub title: &'static str,
pub og_type: &'static str,
pub url: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Greeting {
pub name: &'static str,
pub logo_name: &'static str,
pub nickname: Option<&'static str>,
pub hello_image: Asset,
pub sub_title: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct SocialMediaLink {
pub name: &'static str,
pub link: &'static str,
pub font_awesome_icon: &'static str,
pub background_color: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Skills {
pub data: Vec<SkillCategory>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct SkillCategory {
pub title: &'static str,
pub icon: Asset,
pub skills: Vec<&'static str>,
pub software_skills: Vec<SoftwareSkill>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct SoftwareSkill {
pub skill_name: &'static str,
pub iconify_classname: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Publications {
pub description: &'static str,
pub sections: Vec<PublicationSection>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct PublicationSection {
pub category: &'static str,
pub publications: Vec<PublicationItem>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct PublicationItem {
pub title: &'static str,
pub url: Option<&'static str>,
pub cover_image: Asset,
pub publish_date: Option<&'static str>,
pub conference: Option<&'static str>,
pub r#abstract: Option<&'static str>,
pub authors: Vec<&'static str>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Degrees {
pub degrees: Vec<Degree>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Degree {
pub title: &'static str,
pub subtitle: &'static str,
pub logo: Option<Asset>,
pub alt_name: &'static str,
pub duration: &'static str,
pub descriptions: Vec<&'static str>,
pub website_link: Option<&'static str>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Certifications {
pub certifications: Vec<Certification>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Certification {
pub title: &'static str,
pub subtitle: &'static str,
pub logo: Asset,
pub certificate_link: &'static str,
pub alt_name: &'static str,
pub color_code: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Experience {
pub title: &'static str,
pub subtitle: &'static str,
pub description: &'static str,
pub sections: Vec<ExperienceSection>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct ExperienceSection {
pub title: &'static str,
pub experiences: Vec<ExperienceItem>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct ExperienceItem {
pub title: &'static str,
pub company: &'static str,
pub company_url: &'static str,
pub logo: Asset,
pub duration: &'static str,
pub location: &'static str,
pub description: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct ProjectsHeader {
pub title: &'static str,
pub description: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Projects {
pub data: Vec<Project>,
}
#[derive(Debug, Clone, PartialEq)]
pub struct Project {
pub name: &'static str,
pub url: &'static str,
pub description: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct ContactPageData {
pub contact_section: ContactSection,
pub blog_section: BlogSection,
pub address_section: AddressSection,
}
#[derive(Debug, Clone, PartialEq)]
pub struct ContactSection {
pub profile_image: Asset,
pub description: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct BlogSection {
pub title: &'static str,
pub subtitle: &'static str,
pub link: &'static str,
}
#[derive(Debug, Clone, PartialEq)]
pub struct AddressSection {
pub title: &'static str,
pub subtitle: &'static str,
pub location_map_link: &'static str,
}