-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
147 lines (135 loc) · 3.51 KB
/
Copy pathtypes.ts
File metadata and controls
147 lines (135 loc) · 3.51 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
/**
* types.ts — TypeScript Interfaces
* ==================================
* Defines the shape of every data structure used across
* the portfolio. All content in constants.tsx is typed
* against these interfaces.
*
* Interfaces:
* SocialLink → Email, LinkedIn, GitHub, Resume links
* Job → Work experience entries
* Project → Case study / project cards
* Skill → Skill tags (name + category)
* Education → Degrees, fellowships, certifications
* BlogPost → Blog / writing entries
* ChatMessage → Chat widget message bubbles
* ImpactMetric → Proof of Impact cards
* NowNextItem → (Deferred) Current activity items
* HireInfo → Roles, locations, availability
*/
import { LucideIcon } from 'lucide-react';
// ---- Personal Info ----
export interface PersonalInfo {
name: string;
title: string;
location: string;
email: string;
phone: string;
summary: string;
leadBuilderProof: string;
avatar: string;
}
// ---- Social / Contact ----
export interface SocialLink {
name: string;
url: string;
icon: LucideIcon;
}
// ---- Experience ----
export interface Job {
company: string;
role: string;
period: string;
location: string;
logo: string;
description?: string;
context?: string;
impactBullets?: string[];
achievements?: string[];
type: 'Remote' | 'On Site' | 'Hybrid';
featured?: boolean;
badges?: string[];
link?: string;
}
// ---- Projects / Case Studies ----
export interface Project {
title: string;
subtitle: string;
description: string;
tags: string[];
metrics?: string[];
highlights?: string[];
link?: string;
image?: string;
caseStudyAvailable?: boolean;
capstone?: string;
/** Market segment for filter chips (e.g. "Quick Commerce", "EdTech") */
segment?: string;
}
// ---- Skills ----
export type SkillCategory = 'Product' | 'Execution' | 'Data/Tech';
export interface Skill {
name: string;
category: SkillCategory;
icon?: string;
featured?: boolean;
}
// ---- Education ----
export interface Education {
degree: string;
institution: string;
period: string;
highlight?: string;
location?: string;
type: 'degree' | 'fellowship' | 'certification';
credentialUrl?: string;
}
// ---- Blog ----
export interface BlogPost {
title: string;
excerpt: string;
date: string;
readTime: string;
tags: string[];
link?: string;
source?: 'linkedin' | 'medium' | 'blog';
featured?: boolean;
}
// ---- Chat ----
export interface ChatMessage {
role: 'user' | 'model';
text: string;
}
// ---- Proof of Impact (new) ----
export interface ImpactMetric {
/** Short label, e.g. "Activation Rate" */
label: string;
/** Where you started: "60% completion" */
baseline: string;
/** What you did: "Guided onboarding redesign" */
action: string;
/** The outcome: "78% completion" */
result: string;
/** How confident is this number? */
confidence: 'Measured' | 'Estimated' | 'Projected';
/** Which company / project this came from */
source: string;
}
// ---- Now / Next (new) ----
export interface NowNextItem {
/** Category label */
category: 'Learning' | 'Building' | 'Shipping' | 'Exploring' | 'At Work' | 'Outside work';
/** What you're doing */
text: string;
}
// ---- Hire Strip (new) ----
export interface HireInfo {
/** Target role titles */
roles: string[];
/** Preferred cities / modes */
locations: string[];
/** Notice period / availability */
availability: string;
/** Scheduling link (cal.com, calendly, etc.) */
calLink: string;
}