-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBlogListPage.tsx
More file actions
30 lines (26 loc) · 882 Bytes
/
Copy pathBlogListPage.tsx
File metadata and controls
30 lines (26 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { Metadata } from 'next';
import { getSortedFeedData } from '@/features/blog/services/post-repository';
import { Container } from '@/shared/layout';
import BlogListClient from './BlogListClient';
export const metadata: Metadata = {
title: 'Blog',
description: '개발과 일상에 대한 이야기를 나눕니다',
};
export default function BlogPage() {
const allPosts = getSortedFeedData();
return (
<main className="py-10">
<Container size="md">
<header className="mb-12">
<h1 className="text-3xl md:text-4xl font-bold text-[var(--color-grey-900)]">
Blog
</h1>
<p className="mt-4 text-lg text-[var(--color-grey-600)]">
개발과 일상에 대한 이야기를 나눕니다
</p>
</header>
<BlogListClient posts={allPosts} />
</Container>
</main>
);
}