Skip to content

Commit

Permalink
feat(contentlayer): create AboutMe definition and mdx file
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Jul 18, 2023
1 parent 2b7935b commit dacd878
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions content/about-me.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
My name is **Mateus Felipe Gonçalves**, I'm 20 years old and I live in Pará de Minas - MG, Brazil.

**Self-taught** full-stack. I have knowledge in [ReactJS](https://react.dev/) and [NextJS](https://nextjs.org/) on the Front-end, [Nest.js](https://nestjs.com/) and [Express.js](https://expressjs.com) on the Back-end, and [React-native](https://reactnative.dev/)/[Expo](https://expo.dev/) on Mobile with a focus on Android. My main stack is around [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript), primarily [Typescript](https://www.typescriptlang.org/).

I'm on an intermediate level of English in reading and writing, skill acquired by reading various documentation and articles related to technologies and other subjects in English, and also writing blog posts and documentation of personal projects.
7 changes: 7 additions & 0 deletions content/definitions/AboutMe.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineDocumentType } from 'contentlayer/source-files'

export const AboutMe = defineDocumentType(() => ({
name: 'About',
contentType: 'mdx',
filePathPattern: 'about-me.mdx'
}))
3 changes: 2 additions & 1 deletion contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import { makeSource } from 'contentlayer/source-files'

import { Post } from './content/definitions/Post'
import { Project } from './content/definitions/Project'
import { AboutMe } from './content/definitions/AboutMe'
import { remarkPlugins, rehypePlugins } from './content/plugin'

export default makeSource({
contentDirPath: 'content',
documentTypes: [Post, Project],
documentTypes: [Post, Project, AboutMe],
disableImportAliasWarning: true,
mdx: {
remarkPlugins,
Expand Down

0 comments on commit dacd878

Please sign in to comment.