Skip to content

Commit

Permalink
add links to organization names in experience section (#23)
Browse files Browse the repository at this point in the history
* create ambient ts file with shared types

* introduce url validation and conditional rendering of organizationWebsite prop

* add data to sections in page route
  • Loading branch information
grzegorzxpatyk committed Feb 3, 2024
1 parent 9f9be5e commit 298b3a6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/lib/ambient.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
type listItem = {
title: string;
organisation: string;
organisationWebsite?: string;
timePeriod: string;
description?: string;
};
10 changes: 8 additions & 2 deletions src/lib/components/section.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
export let title: string;
export let type: 'list' | 'description';
export let listItems:
| Array<{ title: string; organisation: string; timePeriod: string; description?: string }>
| Array<listItem>
| undefined = undefined;
export let description: string | undefined = undefined;
export let isLast: boolean = false;
Expand All @@ -15,7 +15,13 @@
<div class="mb-6">
<h4 class="text-lg block border-b-zinc-500 dark:border-b-zinc-800 font-semibold">{item.title}</h4>
<div class="flex flex-row justify-between items-center text-sm mb-3">
<span>{item.organisation}</span>
<span>
{#if item.organisationWebsite && new URL(item.organisationWebsite)}
<a href={item.organisationWebsite} target="_blank">{item.organisation}</a>
{:else}
{item.organisation}
{/if}
</span>
<span>{item.timePeriod}</span>
</div>
{#if item.description}
Expand Down
3 changes: 3 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,23 @@
{
title: 'Junior Frontend Developer',
organisation: 'TTMS',
organisationWebsite: 'https://ttms.com/',
timePeriod: 'Jun 2022 - Present',
description:
'Employ modern frontend technologies such as <strong>TypeScript, React, Redux and material-ui</strong> to create user-centric and accessible web applications, enhancing user engagement and satisfaction. Implementation of <strong>E2E, unit and visual tests using Cypress</strong>. Taking part in meetings with clients, discussing their needs and explaining possible solutions.'
},
{
title: 'Junior Frontend Developer',
organisation: 'ALTEN Polska',
organisationWebsite: 'https://www.altenpolska.pl/',
timePeriod: 'Jan 2022 - May 2022',
description:
'Development of the internal applications using <strong>JavaScript, Sass, PHP and SQL</strong>. Implementation of client-side form validation, with the use of js and regular expressions. Testing APIs with <strong>Swagger and Postman</strong>.'
},
{
title: 'Wep development internship',
organisation: 'beeanco',
organisationWebsite: 'https://www.beeanco.com/',
timePeriod: 'Jun 2021 - Dec 2021',
description:
'Collaborate with cross-functional teams to transform design concepts into responsive and visually appealing web interfaces using <strong>Svelte and bulma</strong>. Working on the verge of back-end and front-end with <strong>WordPress as headless CMS</strong>. Integrate animations and interactive elements to improve user interaction and elevate website aesthetics.'
Expand Down

0 comments on commit 298b3a6

Please sign in to comment.