@@ -19,17 +20,32 @@
gap: $unit-4x;
margin: $unit-6x auto $unit-6x;
padding: $unit-5x;
- width: 100%;
max-width: 784px;
+ &.no-horizontal-padding {
+ padding-left: 0;
+ padding-right: 0;
+ }
+
@include breakpoint('phone') {
margin-top: $unit-2x;
margin-bottom: $unit-3x;
padding: $unit-3x;
+
+ &.no-horizontal-padding {
+ padding-left: 0;
+ padding-right: 0;
+ }
}
@include breakpoint('small-phone') {
+ gap: $unit-2x;
padding: $unit-2x;
+
+ &.no-horizontal-padding {
+ padding-left: 0;
+ padding-right: 0;
+ }
}
header {
diff --git a/src/lib/components/ProjectItem.svelte b/src/lib/components/ProjectItem.svelte
index 8b420af..f2452ce 100644
--- a/src/lib/components/ProjectItem.svelte
+++ b/src/lib/components/ProjectItem.svelte
@@ -13,9 +13,7 @@
{SVGComponent}
{backgroundColor}
maxMovement={10}
- smoothness={0.1}
containerHeight="220px"
- bounceStiffness={0.1}
bounceDamping={0.2}
/>
{name}
@@ -31,20 +29,27 @@
.project-name {
margin: $unit 0 $unit-half;
- font-size: 18px;
+ font-size: 1.2rem;
font-weight: bold;
color: $red-60;
}
.project-description {
margin: 0;
- font-size: 14px;
- line-height: 1.4;
- max-height: 2.8em;
+ font-size: 1rem;
+ line-height: 1.3;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
- -webkit-line-clamp: 2;
+ -webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
+
+ @include breakpoint('phone') {
+ .project-description {
+ -webkit-line-clamp: none;
+ overflow: visible;
+ max-height: fit-content;
+ }
+ }
diff --git a/src/lib/components/RecentAlbums.svelte b/src/lib/components/RecentAlbums.svelte
new file mode 100644
index 0000000..60db534
--- /dev/null
+++ b/src/lib/components/RecentAlbums.svelte
@@ -0,0 +1,85 @@
+
+
+
+ {#if albums.length > 0}
+
+ {#each albums.slice(0, 4) as album}
+ -
+
+
+ {/each}
+
+ {:else}
+ Loading albums...
+ {/if}
+
+
+
diff --git a/src/lib/components/Squiggly.svelte b/src/lib/components/Squiggly.svelte
index 1f6e20e..be97291 100644
--- a/src/lib/components/Squiggly.svelte
+++ b/src/lib/components/Squiggly.svelte
@@ -39,7 +39,7 @@
}
$: {
- text // add this as a dependency
+ text
updateTextWidth()
}
@@ -65,7 +65,7 @@
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 4d43a1a..6729899 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -5,6 +5,7 @@
import MentionList from '$components/MentionList.svelte'
import Page from '$components/Page.svelte'
import ProjectList from '$components/ProjectList.svelte'
+ import RecentAlbums from '$components/RecentAlbums.svelte'
import Squiggly from '$components/Squiggly.svelte'
import type { PageData } from './$types'
@@ -19,9 +20,7 @@
-
+
@@ -40,9 +39,9 @@
Right now, I'm spending my free time building a hobby journaling app called Maitsu. I've spent time at several companies over the last 11 years, but you might know me as the
- first designer hired at
- Pinterest.
+ >. I've spent time at several companies over the last 11 years, but you might know me from
+ Pinterest, where I was the first
+ design hire.
I was born and raised in New York City and spend a lot of time in Tokyo. I graduated from in 2011 with a Bachelors of Arts in Communication Design.
+
+