diff --git a/src/components/Header.astro b/src/components/Header.astro index 62d195f..2843996 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -19,8 +19,8 @@ import { SITE } from "@consts"; {`/`} - - work + + career {`/`} diff --git a/src/consts.ts b/src/consts.ts index 3067232..2b550c6 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -4,7 +4,7 @@ export const SITE: Site = { NAME: "Damhwee Ahn", EMAIL: "me@damhw.ee", NUM_POSTS_ON_HOMEPAGE: 5, - NUM_WORKS_ON_HOMEPAGE: 0, + NUM_WORKS_ON_HOMEPAGE: 3, NUM_PROJECTS_ON_HOMEPAGE: 3, }; diff --git a/src/content/blog/01-whpre-writeup/index.md b/src/content/blog/01-whpre-writeup/index.md index cf343f2..725628f 100644 --- a/src/content/blog/01-whpre-writeup/index.md +++ b/src/content/blog/01-whpre-writeup/index.md @@ -1,7 +1,7 @@ --- title: "whitehatcontest 2025 pre writeup(forensics/ai)" description: "writing" -date: "2025/10/23" +date: "Oct 23 2025 " --- 시간나면작성 diff --git a/src/content/work/apple.md b/src/content/career/apple.md similarity index 100% rename from src/content/work/apple.md rename to src/content/career/apple.md diff --git a/src/content/config.ts b/src/content/config.ts index 2c43c91..a0fe3e9 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -10,7 +10,7 @@ const blog = defineCollection({ }), }); -const work = defineCollection({ +const career = defineCollection({ type: "content", schema: z.object({ company: z.string(), @@ -32,4 +32,4 @@ const projects = defineCollection({ }), }); -export const collections = { blog, work, projects }; +export const collections = { blog, career, projects }; diff --git a/src/pages/work/index.astro b/src/pages/career/index.astro similarity index 91% rename from src/pages/work/index.astro rename to src/pages/career/index.astro index b38e49b..e14b9f4 100644 --- a/src/pages/work/index.astro +++ b/src/pages/career/index.astro @@ -5,10 +5,10 @@ import Container from "@components/Container.astro"; import { dateRange } from "@lib/utils"; import { WORK } from "@consts"; -const collection = (await getCollection("work")) +const collection = (await getCollection("career")) .sort((a, b) => new Date(b.data.dateStart).valueOf() - new Date(a.data.dateStart).valueOf()); -const work = await Promise.all( +const career = await Promise.all( collection.map(async (item) => { const { Content } = await item.render(); return { ...item, Content }; @@ -20,11 +20,11 @@ const work = await Promise.all(
- Work + Career
    { - work.map(entry => ( + career.map(entry => (
  • {dateRange(entry.data.dateStart, entry.data.dateEnd)} diff --git a/src/pages/index.astro b/src/pages/index.astro index 06efbc1..19886d7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -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(

    - 안녕하세요 저는 서울특별시 소재 양정고등학교에 재학중인 안담휘 입니다. 프로그래밍과 정보보안에 관심이 있는 초보입니다. + Bye!

    @@ -67,12 +67,12 @@ const work = await Promise.all(
    Career
    - + See my career
      - {work.map(entry => ( + {career.map(entry => (
    • {dateRange(entry.data.dateStart, entry.data.dateEnd)} @@ -111,12 +111,12 @@ const work = await Promise.all(
      - Let's Connect + Contact Me

      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.