asdf
This commit is contained in:
@@ -19,8 +19,8 @@ import { SITE } from "@consts";
|
||||
<span>
|
||||
{`/`}
|
||||
</span>
|
||||
<Link href="/work">
|
||||
work
|
||||
<Link href="/career">
|
||||
career
|
||||
</Link>
|
||||
<span>
|
||||
{`/`}
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "whitehatcontest 2025 pre writeup(forensics/ai)"
|
||||
description: "writing"
|
||||
date: "2025/10/23"
|
||||
date: "Oct 23 2025 "
|
||||
---
|
||||
|
||||
시간나면작성
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -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(
|
||||
<Container>
|
||||
<div class="space-y-10">
|
||||
<div class="animate font-semibold text-black dark:text-white">
|
||||
Work
|
||||
Career
|
||||
</div>
|
||||
<ul class="flex flex-col space-y-4">
|
||||
{
|
||||
work.map(entry => (
|
||||
career.map(entry => (
|
||||
<li class="animate">
|
||||
<div class="text-sm opacity-75">
|
||||
{dateRange(entry.data.dateStart, entry.data.dateEnd)}
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user