mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 12:14:42 +01:00
Change skill type
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { Education, JsonParsedContent, Post, Project, Skill, WorkExperience } from '~~/types'
|
||||
import type { Education, Post, Project, Skill, WorkExperience } from '~~/types'
|
||||
|
||||
export function getProjects() {
|
||||
return useAsyncData('content:projects', () => {
|
||||
@@ -27,7 +27,7 @@ export function getWorkExperiences() {
|
||||
}
|
||||
|
||||
export function getSkills() {
|
||||
return useAsyncData('content:skills', () => queryContent<JsonParsedContent<Skill[]>>('skills').findOne())
|
||||
return useAsyncData('content:skills', () => queryContent<Skill[]>('skills').findOne())
|
||||
}
|
||||
|
||||
export function getPosts() {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"body": [
|
||||
[
|
||||
{
|
||||
"name": "TypeScript",
|
||||
"icon": "skill-icons:typescript"
|
||||
@@ -103,4 +102,3 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user