This commit is contained in:
도로롱
2025-10-23 21:17:20 +09:00
parent b68d6b6582
commit d9a0850a7d
7 changed files with 18 additions and 18 deletions

View File

@@ -17,12 +17,12 @@ const projects = (await getCollection("projects"))
.sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf())
.slice(0,SITE.NUM_PROJECTS_ON_HOMEPAGE);
const allwork = (await getCollection("work"))
const allCareerEntries = (await getCollection("career"))
.sort((a, b) => new Date(b.data.dateStart).valueOf() - new Date(a.data.dateStart).valueOf())
.slice(0,SITE.NUM_WORKS_ON_HOMEPAGE);
const work = await Promise.all(
allwork.map(async (item) => {
const career = await Promise.all(
allCareerEntries.map(async (item) => {
const { Content } = await item.render();
return { ...item, Content };
})
@@ -39,7 +39,7 @@ const work = await Promise.all(
<section>
<article class="space-y-4">
<p class="animate">
안녕하세요 저는 서울특별시 소재 양정고등학교에 재학중인 안담휘 입니다. 프로그래밍과 정보보안에 관심이 있는 초보입니다.
Bye!
</p>
</article>
</section>
@@ -67,12 +67,12 @@ const work = await Promise.all(
<h5 class="font-semibold text-black dark:text-white">
Career
</h5>
<Link href="/work">
<Link href="/career">
See my career
</Link>
</div>
<ul class="flex flex-col space-y-4">
{work.map(entry => (
{career.map(entry => (
<li>
<div class="text-sm opacity-75">
{dateRange(entry.data.dateStart, entry.data.dateEnd)}
@@ -111,12 +111,12 @@ const work = await Promise.all(
<section class="animate space-y-4">
<h5 class="font-semibold text-black dark:text-white">
Let's Connect
Contact Me
</h5>
<article>
<p>
If you want to get in touch with me about something or just to say hi,
reach out on social media or send me an email.
reach out on social media or send me a spam email.
</p>
</article>
<ul class="flex flex-wrap gap-2">