-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEngineeringPage.tsx
More file actions
35 lines (31 loc) · 1.09 KB
/
Copy pathEngineeringPage.tsx
File metadata and controls
35 lines (31 loc) · 1.09 KB
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
31
32
33
34
35
import { Metadata } from 'next';
import { Suspense } from 'react';
import { getSortedFeedData } from '@/features/blog/services/post-repository';
import { Container } from '@/shared/layout';
import EngineeringPageClient from './EngineeringPageClient';
export const metadata: Metadata = {
title: 'Engineering',
description: '기술 글과 시리즈를 같은 흐름에서 살펴볼 수 있어요',
};
export default function EngineeringPage() {
const engineeringPosts = getSortedFeedData().filter(
(post) => post.category === 'Tech'
);
return (
<main className="py-10">
<Container size="md">
<header className="mb-10">
<h1 className="text-3xl md:text-4xl font-bold text-[var(--color-grey-900)]">
Engineering
</h1>
<p className="mt-4 text-lg text-[var(--color-grey-600)]">
기술 글과 시리즈를 같은 흐름에서 살펴볼 수 있어요
</p>
</header>
<Suspense fallback={null}>
<EngineeringPageClient posts={engineeringPosts} />
</Suspense>
</Container>
</main>
);
}