Update profile links, projects, and experience
This commit is contained in:
@@ -1,6 +1,20 @@
|
||||
|
||||
import type { TerminalLine } from '$lib/components/tui/types';
|
||||
import { user, skills, openSourceProjects } from '$lib/config';
|
||||
import { user, skills, openSourceProjects, experience } from '$lib/config';
|
||||
|
||||
const experienceElements: TerminalLine[] = [];
|
||||
|
||||
experience.forEach(exp => {
|
||||
experienceElements.push(
|
||||
{ type: 'header', content: `(&orange,bold)${exp.role}(&)` },
|
||||
{ type: 'output', content: `(&primary)${exp.organization}(&)` + (exp.employmentType ? ` (&muted)· ${exp.employmentType}(&)` : '') },
|
||||
{ type: 'output', content: `(&muted)${exp.period}(&)` + (exp.location ? ` (&muted)· ${exp.location}(&)` : '') },
|
||||
...(exp.description ? [{ type: 'output' as const, content: `(&muted)${exp.description}(&)` }] : []),
|
||||
...(exp.tech ? [{ type: 'output' as const, content: ' ' + exp.tech.map(t => `(&blue)${t}(&)`).join(' (&muted)•(&) ') }] : []),
|
||||
...(exp.awards ? exp.awards.map(award => ({ type: 'success' as const, content: `(&success)${award}(&)` })) : []),
|
||||
{ type: 'blank', content: '' }
|
||||
);
|
||||
});
|
||||
|
||||
const openSourceElements:TerminalLine[] = [];
|
||||
|
||||
@@ -48,6 +62,7 @@ export const lines: TerminalLine[] = [
|
||||
children: [
|
||||
{ type: 'output', content: `(&primary, bold)Links >(&)`, inline: true },
|
||||
{ type: 'link', href: "/portfolio#contact", content: `(&bg-blue,black)Contact(&)`, inline: true },
|
||||
{ type: 'link', href: "/portfolio#experience", content: `(&bg-magenta,black)Experience(&)`, inline: true },
|
||||
{ type: 'link', href: "/portfolio#skills", content: `(&bg-orange,black)Skills(&)`, inline: true },
|
||||
{ type: 'link', href: "/portfolio#projects", content: `(&bg-green,black)Projects(&)`, inline: true },
|
||||
]
|
||||
@@ -63,6 +78,10 @@ export const lines: TerminalLine[] = [
|
||||
inline: true
|
||||
})),
|
||||
|
||||
{ type: 'divider', content: 'EXPERIENCE', id: 'experience' },
|
||||
|
||||
...experienceElements,
|
||||
|
||||
{ type: 'divider', content: 'SKILLS', id: 'skills' },
|
||||
|
||||
// Skills as TUI sections
|
||||
|
||||
Reference in New Issue
Block a user