Skip to content

Commit 990b4a5

Browse files
committed
res update
1 parent 109ad73 commit 990b4a5

File tree

3 files changed

+27
-11
lines changed

3 files changed

+27
-11
lines changed

src/icons/diploma.svg

Lines changed: 3 additions & 0 deletions
Loading

src/pages/resume.astro

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,27 @@ import { Icon } from 'astro-icon/components';
55
type experienceType = {
66
company: string;
77
contract?: boolean;
8-
url: string;
8+
url?: string;
99
title: string;
1010
start: string;
1111
end: string;
1212
location: string;
1313
};
1414
1515
const experience: experienceType[] = [
16+
{
17+
company: 'Freelance',
18+
title: 'Front End Web + 3D Web Developer',
19+
start: 'Sept 2025',
20+
end: 'Present',
21+
location: 'Los Angeles, CA',
22+
},
1623
{
1724
company: 'BP',
1825
url: 'https://www.bp.com/',
1926
title: 'Senior Design Engineer',
2027
start: 'May 2020',
21-
end: 'Present',
28+
end: 'Aug 2025',
2229
location: 'Los Angeles, CA',
2330
},
2431
{
@@ -152,16 +159,20 @@ const experience: experienceType[] = [
152159
</div>
153160

154161
<div class="lg:col-span-7 lg:col-start-6">
155-
<h2 class="mb-4">Work Experience</h2>
162+
<h2 class="mb-5">Work Experience</h2>
156163

157-
<div class="mb-12 space-y-4">
164+
<div class="mb-12 space-y-5">
158165
{
159166
experience.map(({ company, url, contract, title, start, end, location }) => (
160167
<div>
161168
<div class="font-medium">
162-
<a href={url} target="_blank" rel="noreferrer">
163-
{company}
164-
</a>
169+
{url ? (
170+
<a href={url} target="_blank" rel="noreferrer">
171+
{company}
172+
</a>
173+
) : (
174+
company
175+
)}
165176
{contract && <span class="opacity-60">• Contract</span>}
166177
</div>
167178
<div>{title}</div>
@@ -171,9 +182,9 @@ const experience: experienceType[] = [
171182
}
172183
</div>
173184

174-
<h2 class="mb-4">Education</h2>
185+
<h2 class="mb-5">Education</h2>
175186

176-
<div class="mb-4">
187+
<div class="mb-5">
177188
<div class="font-medium">Texas A&M University</div>
178189
<div>
179190
Bachelor of Science in <a
@@ -183,7 +194,9 @@ const experience: experienceType[] = [
183194
class="font-medium"
184195
>
185196
Visualization
186-
</a>, Dec 2010
197+
</a>
198+
<Icon name="diploma" class="mx-1" />
199+
Dec 2010
187200
</div>
188201
<div class="text-sm font-light opacity-60">
189202
Fall 2007 - Fall 2010 • College Station, TX

src/pages/work/[...slug].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const projects = (await getCollection('work'))
2828
.filter((project) => project.data.category === entry.data.category)
2929
.sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf());
3030
31-
const currentIndex = projects.findIndex((item) => item.id === entry.id);
31+
const currentIndex = projects.findIndex(({ id }) => id === entry.id);
3232
const prevEntry = projects[(currentIndex - 1 + projects.length) % projects.length];
3333
const nextEntry = projects[(currentIndex + 1) % projects.length];
3434
---

0 commit comments

Comments
 (0)