Skip to content

Commit 11a52dd

Browse files
committed
refactor: update website
1 parent 3204501 commit 11a52dd

File tree

12 files changed

+132
-88
lines changed

12 files changed

+132
-88
lines changed

bun.lock

Lines changed: 78 additions & 38 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
},
1111
"dependencies": {
1212
"@astrojs/sitemap": "^3.4.1",
13-
"@tailwindcss/vite": "^4.1.8",
14-
"astro": "^5.9.1",
15-
"tailwindcss": "^4.1.8"
13+
"@tailwindcss/vite": "^4.1.10",
14+
"astro": "^5.9.3",
15+
"tailwindcss": "^4.1.10"
1616
},
1717
"devDependencies": {
1818
"@antfu/eslint-config": "^4.14.1",
1919
"astro-eslint-parser": "^1.2.2",
20-
"eslint": "^9.28.0",
20+
"eslint": "^9.29.0",
2121
"eslint-plugin-astro": "^1.3.1",
2222
"lefthook": "^1.11.13",
23-
"wrangler": "^4.19.1"
23+
"wrangler": "^4.20.0"
2424
}
2525
}

src/assets/icon-bluesky.svg

Lines changed: 1 addition & 0 deletions
Loading

src/assets/icon-github.svg

Lines changed: 3 additions & 0 deletions
Loading

src/assets/icon-linkedin.svg

Lines changed: 1 addition & 0 deletions
Loading

src/assets/icon-x.svg

Lines changed: 1 addition & 0 deletions
Loading

src/components/About.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<p class="text-sm py-8 antialiased">
2-
My focus is on developing fast, intuitive, and minimalist web experiences, designed for seamless user interaction and optimal performance. I am committed to building and delivering the best possible solutions.
3-
</p>
1+
<section class="text-sm pt-2.5 pb-6 antialiased">
2+
Hello! I'm Junseong Park, a Product Engineer passionate about elevating UX & DX.
3+
</section>

src/components/Card.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import SocialLinks from '~/components/SocialLinks.astro'
44
import { TITLE } from '~/const'
55
---
66

7-
<div class="min-w-[320px] max-w-3xl mx-auto px-6 pb-20 text-white font-mono">
8-
<h1 class="text-3xl font-bold">{TITLE}</h1>
7+
<div class="min-w-[320px] max-w-3xl mx-auto px-6 pb-10 text-white font-mono">
8+
<h1 class="text-4xl font-bold">{TITLE}</h1>
99
<About />
1010
<SocialLinks />
1111
</div>

src/components/SocialLink.astro

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
import type { HTMLAttributes } from 'astro/types'
3+
4+
type Props = HTMLAttributes<'a'>
5+
6+
const { href, title } = Astro.props;
7+
---
8+
9+
<a
10+
{href}
11+
aria-label={title}
12+
title={`Go to my ${title}`}
13+
target="_blank"
14+
rel="noopener noreferrer"
15+
class="hover:opacity-50 transition-opacity bg-slate-800 rounded-xl p-3.5"
16+
>
17+
<slot />
18+
</a>

src/components/SocialLinks.astro

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
---
2-
import { SOCIAL_LINKS } from '~/const'
2+
import IconBlueSky from '../assets/icon-bluesky.svg'
3+
import IconGithub from '../assets/icon-github.svg'
4+
import IconLinkedIn from '../assets/icon-linkedin.svg'
5+
import IconX from '../assets/icon-x.svg'
6+
import SocialLink from './SocialLink.astro';
37
---
48

5-
<nav aria-label="social-media-links">
6-
<ul class="flex gap-4 text-sm font-semibold">
7-
{
8-
SOCIAL_LINKS.map(link => (
9-
<li>
10-
<a
11-
href={link.url}
12-
target="_blank"
13-
rel="noopener noreferrer"
14-
aria-label={`${link.title} Profile`}
15-
class="hover:underline underline-offset-4"
16-
>
17-
{link.title}
18-
</a>
19-
</li>
20-
))
21-
}
22-
</ul>
9+
<nav title="social-media-links" class="flex gap-3">
10+
<SocialLink href="https://github.com/jsparkdev" title="Github">
11+
<IconGithub width={28} height={28} />
12+
</SocialLink>
13+
<SocialLink href="https://linkedin.com/in/jsparkdev" title="LinkedIn">
14+
<IconLinkedIn width={28} height={28} />
15+
</SocialLink>
16+
<SocialLink href="https://x.com/jsparkdev" title="X">
17+
<IconX width={28} height={28} />
18+
</SocialLink>
19+
<SocialLink href="https://bsky.app/profile/jspark.dev" title="BlueSky">
20+
<IconBlueSky width={28} height={28} />
21+
</SocialLink>
2322
</nav>

0 commit comments

Comments
 (0)