Skip to content

Commit

Permalink
The project has a new code snippet: ddblogyoutubearticle
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitardanailov committed Dec 11, 2023
1 parent 14810ab commit 479479a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .vscode/react.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,33 @@
"",
"export default $0"
]
},
"CustomYoutubeArticle": {
"prefix": "ddblogyoutubearticle",
"body": [
"'use client'",
"",
"import TargetBlankLink from '@/components/TargetBlankLink'",
"import BlogLectureTitle from '@/components/BlogLectureTitle'",
"import BlogLectureDescription from '@/components/BlogLectureDescription'",
"",
"const Component = () => {"
" const title = ''",
"",
" return (",
" <article className=\"blog-list-article\">",
" <BlogLectureTitle text={title} />"
" <BlogLectureDescription>",
" <>",
" </>",
" </BlogLectureDescription>",
" <span className=\"text-bold\">Video: </span>",
" <TargetBlankLink href=\"\" text={title} title={title} />",
" </article>",
" )",
"}",
"",
"export default Component",
]
}
}

0 comments on commit 479479a

Please sign in to comment.