-
Notifications
You must be signed in to change notification settings - Fork 2
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
4b374ed
commit 2d36d49
Showing
21 changed files
with
1,801 additions
and
578 deletions.
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
pkgs.mkShell | ||
{ | ||
nativeBuildInputs = with pkgs; [ | ||
git, | ||
git | ||
nodejs | ||
]; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,44 @@ | ||
--- | ||
--- | ||
|
||
<div id="cursor"/> | ||
|
||
|
||
<script> | ||
document.body.onmousemove = function(e) { | ||
document.documentElement.style.setProperty ( | ||
'--x', ( | ||
e.clientX + window.scrollX | ||
) | ||
+ 'px' | ||
); | ||
|
||
document.documentElement.style.setProperty ( | ||
'--y', ( | ||
e.clientY + window.scrollY | ||
) | ||
+ 'px' | ||
); | ||
} | ||
</script> | ||
|
||
|
||
<style> | ||
#cursor { | ||
position: absolute; | ||
|
||
top: var(--y, 0); | ||
left: var(--x, 0); | ||
transform: translate(-50%, -50%); | ||
z-index: 2; | ||
|
||
width: 1rem; | ||
height: 1rem; | ||
|
||
background: white; | ||
border-radius: 50%; | ||
|
||
mix-blend-mode: difference; | ||
/* transition: transform 0.2s;*/ | ||
} | ||
</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
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,157 @@ | ||
--- | ||
import SkillItem from "./SkillItem.astro" | ||
import WorkReference from "./WorkReference.astro" | ||
|
||
interface Props { | ||
achor: string; | ||
startDate: string; | ||
endDate: string; | ||
role: string; | ||
company: string; | ||
href: string; | ||
blurb: string; | ||
skills: Array<string>; | ||
work: Array<Object>; | ||
} | ||
|
||
const { anchor, startDate, endDate, role, company, href, blurb, skills, work } = Astro.props; | ||
--- | ||
|
||
<div id={anchor} class="experience"> | ||
<h4 class="date text-dark">{startDate} — {endDate}</h4> | ||
|
||
<a href={href}> | ||
<h3 class="role"> | ||
<span class="line">{role}</span> | ||
<span class="line"> | ||
@ {company} | ||
<i class="fa fa-fw fa-angle-double-right" aria-hidden="true"/> | ||
</span> | ||
</h3> | ||
</a> | ||
|
||
<div class="blurb text-dark">{blurb}</div> | ||
|
||
<div class="work-links"> | ||
{ work && work.map((work) => | ||
<a class="work-link" href={work.href}> | ||
<span class="work-text">{work.text}</span> | ||
<i class="fa fa-fw fa-angle-double-right" aria-hidden="true"/> | ||
</a> | ||
)} | ||
</div> | ||
|
||
<div class="skills"> | ||
{ skills && skills.map((skill) => | ||
<div class="skill fade-item"> | ||
{skill} | ||
</div> | ||
)} | ||
</div> | ||
</div> | ||
|
||
|
||
<style> | ||
|
||
.experience { | ||
padding: 1em; | ||
} | ||
|
||
|
||
|
||
h4 { | ||
margin: 0.25em 0 0.25em 0.1em; | ||
} | ||
|
||
|
||
|
||
h3 { | ||
margin: 0.2em 0 0.6em 0; | ||
} | ||
|
||
.role { | ||
font-family: "Rasa", serif; | ||
font-size: 1.5em; | ||
line-height: 1em; | ||
|
||
.line { | ||
text-decoration: underline; | ||
text-decoration-color: var(--gold); | ||
} | ||
} | ||
|
||
|
||
|
||
.blurb { | ||
margin: 0em 0em 1em 0em; | ||
} | ||
|
||
|
||
|
||
.work-links { | ||
margin: 1em 0; | ||
} | ||
|
||
.work-link { | ||
display: block; | ||
|
||
font-family: "Rasa", serif; | ||
text-decoration: none; | ||
|
||
margin: 0.25em 0; | ||
} | ||
|
||
.work-text { | ||
text-decoration: underline; | ||
text-decoration-color: var(--gold); | ||
} | ||
|
||
|
||
|
||
.skills { | ||
margin: 1em 0; | ||
} | ||
|
||
.skills .skill { | ||
/* This has to be here to properly animate */ | ||
transition: opacity 0.2s; | ||
} | ||
|
||
.skills:has(.skill:hover) .skill:not(:hover) { | ||
opacity: 0.2; | ||
} | ||
|
||
.skill { | ||
display: inline-block; | ||
|
||
padding: 0 0.5em; | ||
margin: 0.25em 0.1em; | ||
|
||
color: var(--gold); | ||
background-color: var(--goldTransparent); | ||
|
||
font-family: "Rasa", serif; | ||
line-height: 2em; | ||
|
||
border-radius: 0.5em; | ||
} | ||
|
||
|
||
|
||
@media (prefers-reduced-motion) { | ||
.skills:has(.skill:hover) .skill:not(:hover) { | ||
opacity: 1; | ||
} | ||
} | ||
|
||
@media (prefers-reduced-transparency) { | ||
.skill { | ||
background-color: rgb(47, 41, 28); | ||
} | ||
|
||
.skills:has(.skill:hover) .skill:not(:hover) { | ||
opacity: 1; | ||
} | ||
} | ||
|
||
</style> |
Oops, something went wrong.