Skip to content

Commit

Permalink
Merge pull request #68 from trueberryless-org/resume
Browse files Browse the repository at this point in the history
Add resume to header
  • Loading branch information
trueberryless authored Jan 19, 2025
2 parents 0fd9461 + 247c88e commit faecae9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/eight-bulldogs-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"trueberryless": patch
---

Add resume (classic version of designed curriculum vitae).
Binary file added src/public/resume.pdf
Binary file not shown.
7 changes: 4 additions & 3 deletions src/src/components/Nav.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const textLinks: { label: string; href: string }[] = [
{ label: 'Home', href: '/' },
{ label: 'Work', href: '/work/' },
{ label: 'About', href: '/about/' },
{ label: 'Resume', href: '/resume.pdf' },
];
/** Icon links to social media — edit these with links to your profiles! */
Expand Down Expand Up @@ -129,7 +130,7 @@ const isCurrentPage = (href: string) => {
setExpanded(e.matches);
btn.hidden = e.matches;
};
const mediaQueries = window.matchMedia('(min-width: 50em)');
const mediaQueries = window.matchMedia('(min-width: 60em)');
handleViewports(mediaQueries);
mediaQueries.addEventListener('change', handleViewports);
}
Expand Down Expand Up @@ -261,7 +262,7 @@ const isCurrentPage = (href: string) => {
height: calc(var(--icon-size) + 2 * var(--icon-padding));
}

@media (min-width: 50em) {
@media (min-width: 60em) {
nav {
display: grid;
grid-template-columns: 1fr auto 1fr;
Expand Down Expand Up @@ -336,7 +337,7 @@ const isCurrentPage = (href: string) => {
}
}

@media (min-width: 60em) {
@media (min-width: 70em) {
.socials {
display: flex;
justify-content: flex-end;
Expand Down
2 changes: 1 addition & 1 deletion src/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ import portrait from '../assets/portrait.jpg';
box-shadow: var(--shadow-md);
}

@media (min-width: 50em) {
@media (min-width: 60em) {
.hero {
display: grid;
grid-template-columns: 6fr 4fr;
Expand Down

0 comments on commit faecae9

Please sign in to comment.