--- import { getCollection } from "astro:content"; import Container from "@components/Container.astro"; import PageLayout from "@layouts/PageLayout.astro"; import ArrowCard from "@components/ArrowCard.astro"; import Link from "@components/Link.astro"; import { dateRange } from "@lib/utils"; import { SITE, HOME, SOCIALS } from "@consts"; const blog = (await getCollection("blog")) .filter(post => !post.data.draft) .sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf()) .slice(0,SITE.NUM_POSTS_ON_HOMEPAGE); const projects = (await getCollection("projects")) .filter(project => !project.data.draft) .sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf()) .slice(0,SITE.NUM_PROJECTS_ON_HOMEPAGE); 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 career = await Promise.all( allCareerEntries.map(async (item) => { const { Content } = await item.render(); return { ...item, Content }; }) ); ---

Hi, I'm Damhwee Ahn 👋🏻

Bye!

Latest posts
See all posts
    {blog.map(post => (
  • ))}
Career
See my career
    {career.map(entry => (
  • {dateRange(entry.data.dateStart, entry.data.dateEnd)}
    {entry.data.company}
    {entry.data.role}
  • ))}
Recent projects
See all projects
    {projects.map(project => (
  • ))}
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 a spam email.

    {SOCIALS.map(SOCIAL => (
  • {SOCIAL.NAME} {"/"}
  • ))}
  • {SITE.EMAIL}