-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
191dc8b
commit 6e5d08b
Showing
5 changed files
with
114 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<script lang="ts"> | ||
import Container from '$lib/components/Container.svelte'; | ||
import resume_url from './resume'; | ||
import socials_data, { SocialType } from './socials_data'; | ||
const socials: SocialType[] = [SocialType.INSTAGRAM, SocialType.LINKEDIN, SocialType.GITHUB]; | ||
</script> | ||
|
||
<footer> | ||
<header id="CONTACT" /> | ||
<Container> | ||
<div class="main-box"> | ||
<ul class="socials-links"> | ||
{#each socials.map((s) => socials_data[s]) as social} | ||
<li class="link"> | ||
<a href={social.link.href} target="_blank" rel="noopener noreferrer"> | ||
<img src={social.icon_src} alt="{social.name} link" width="48px" height="48px" /> | ||
</a> | ||
</li> | ||
{/each} | ||
</ul> | ||
<a class="resume-link" href={resume_url.href} target="_blank" rel="noopener noreferrer" | ||
>> MY RESUME <</a | ||
> | ||
</div> | ||
</Container> | ||
</footer> | ||
|
||
<style lang="scss"> | ||
footer { | ||
height: 227px; | ||
background-color: var(--color-pf-white); | ||
margin-top: 80px; | ||
header { | ||
height: 0; | ||
} | ||
div.main-box { | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
ul.socials-links { | ||
display: flex; | ||
justify-content: space-between; | ||
li.link { | ||
&:not(:first-child) { | ||
margin-left: 39px; | ||
} | ||
a { | ||
img { | ||
} | ||
} | ||
} | ||
} | ||
a.resume-link { | ||
text-decoration: underline; | ||
text-transform: uppercase; | ||
font-size: 40px; | ||
font-weight: 700; | ||
color: var(--color-pf-primary); | ||
text-decoration-thickness: 2px; | ||
text-underline-offset: 4px; | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as default } from './Contact.svelte'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const resume_url = new URL('https://drive.google.com/file/d/1jT1tWbB_gD2_Pj0JGZ46DmnbzlW6JJJY/view?usp=sharing'); | ||
|
||
export default resume_url; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import social_icon_github from '$lib/assets/icons/social/svg/Github.svg'; | ||
import social_icon_instagram from '$lib/assets/icons/social/svg/Instagram.svg'; | ||
import social_icon_linkedin from '$lib/assets/icons/social/svg/LinkedIn.svg'; | ||
|
||
export enum SocialType { | ||
GITHUB = 'github', | ||
INSTAGRAM = 'instagram', | ||
LINKEDIN = 'linkedin' | ||
} | ||
|
||
type SocialData = { | ||
name: string; | ||
icon_src: string; | ||
link: URL; | ||
}; | ||
|
||
const socials_data: Record<SocialType, SocialData> = { | ||
github: { | ||
name: 'Github', | ||
icon_src: social_icon_github, | ||
link: new URL('https://github.com/stothesecond') | ||
}, | ||
instagram: { | ||
name: 'Instagram', | ||
icon_src: social_icon_instagram, | ||
link: new URL('https://www.instagram.com/big_simba') | ||
}, | ||
linkedin: { | ||
name: 'LinkedIn', | ||
icon_src: social_icon_linkedin, | ||
link: new URL('https://www.linkedin.com/in/programmerstevie') | ||
} | ||
}; | ||
|
||
export default socials_data; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters