Skip to content

Commit

Permalink
Merge pull request #31 from grzegorzxpatyk/develop
Browse files Browse the repository at this point in the history
add website address to contact section
  • Loading branch information
grzegorzxpatyk committed Apr 4, 2024
2 parents 882dd26 + 0555218 commit 1f1705d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/components/contact.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import { EnvelopeClosed, Home, GithubLogo, LinkedinLogo } from 'radix-icons-svelte';
import { EnvelopeClosed, Home, GithubLogo, LinkedinLogo, LinkBreak2 } from 'radix-icons-svelte';
import { onMount } from 'svelte';
let isMediumScreen: boolean | undefined;
Expand Down Expand Up @@ -27,6 +27,7 @@
export let githubLink: string;
export let linkedINName: string;
export let linkedINLink: string;
export let website: string;
</script>

<div
Expand All @@ -36,6 +37,9 @@
<li class="flex flex-row justify-start items-center">
<Home class="mr-2" />{location}
</li>
<li class="flex flex-row justify-start items-center">
<LinkBreak2 class="mr-2" /> <a href={website} target="_blank">{website.split('//')[1]}</a>
</li>
<li class="flex flex-row justify-start items-center">
<EnvelopeClosed class="mr-2" /> <a href="mailto:{email}">{isMediumScreen ? email.substring(0, email.indexOf('@')) : email}</a>
</li>
Expand Down
1 change: 1 addition & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
githubLink="https://github.com/grzegorzxpatyk"
linkedINName="Grzegorz Patyk"
linkedINLink="https://www.linkedin.com/in/grzegorz-patyk"
website="https://gpatyk.dev"
/>
<Technologies
technologies={[
Expand Down

0 comments on commit 1f1705d

Please sign in to comment.