103 lines
2.1 KiB
TypeScript
103 lines
2.1 KiB
TypeScript
|
|
type TContens = {
|
||
|
|
id: number
|
||
|
|
createdAt: string
|
||
|
|
author: string
|
||
|
|
title: string
|
||
|
|
tags: string
|
||
|
|
category: string
|
||
|
|
status: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export const CONTENTS: TContens[] = [
|
||
|
|
{
|
||
|
|
id: 1,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'John Doe',
|
||
|
|
title: 'Introduction to TypeScript',
|
||
|
|
tags: 'typescript, programming',
|
||
|
|
category: 'Education',
|
||
|
|
status: 'Published',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 2,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'Jane Smith',
|
||
|
|
title: 'Advanced React Patterns',
|
||
|
|
tags: 'react, javascript',
|
||
|
|
category: 'Development',
|
||
|
|
status: 'Draft',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 3,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'Alice Johnson',
|
||
|
|
title: 'Understanding Redux',
|
||
|
|
tags: 'redux, state management',
|
||
|
|
category: 'Development',
|
||
|
|
status: 'Published',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 4,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'Bob Brown',
|
||
|
|
title: 'CSS Grid Layout',
|
||
|
|
tags: 'css, design',
|
||
|
|
category: 'Design',
|
||
|
|
status: 'Published',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 5,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'Charlie Davis',
|
||
|
|
title: 'Node.js Best Practices',
|
||
|
|
tags: 'nodejs, backend',
|
||
|
|
category: 'Development',
|
||
|
|
status: 'Published',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 6,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'Diana Evans',
|
||
|
|
title: 'GraphQL for Beginners',
|
||
|
|
tags: 'graphql, api',
|
||
|
|
category: 'Development',
|
||
|
|
status: 'Draft',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 7,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'Evan Harris',
|
||
|
|
title: 'Building RESTful APIs',
|
||
|
|
tags: 'rest, api',
|
||
|
|
category: 'Development',
|
||
|
|
status: 'Published',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 8,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'Fiona Green',
|
||
|
|
title: 'Introduction to Docker',
|
||
|
|
tags: 'docker, devops',
|
||
|
|
category: 'DevOps',
|
||
|
|
status: 'Published',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 9,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'George King',
|
||
|
|
title: 'Microservices Architecture',
|
||
|
|
tags: 'microservices, architecture',
|
||
|
|
category: 'Development',
|
||
|
|
status: 'Draft',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
id: 10,
|
||
|
|
createdAt: '24/10/2024',
|
||
|
|
author: 'Hannah Lee',
|
||
|
|
title: 'Kubernetes Essentials',
|
||
|
|
tags: 'kubernetes, devops',
|
||
|
|
category: 'DevOps',
|
||
|
|
status: 'Published',
|
||
|
|
},
|
||
|
|
]
|