💻 | Working so hard on the design review

This commit is contained in:
2021-04-02 21:58:07 +02:00
parent ca8e80af4b
commit 08599b09d1
47 changed files with 1036 additions and 1609 deletions

11
@types/index.d.ts vendored
View File

@@ -1,28 +1,33 @@
import { NuxtAxiosInstance } from '@nuxtjs/axios'
import VueI18n, {IVueI18n} from "vue-i18n";
import {ColorModeInstance} from "@nuxtjs/color-mode/types/color-mode";
import {NuxtApp} from "@nuxt/types/app";
declare module 'vue/types/vue' {
interface Vue {
$axios: NuxtAxiosInstance,
i18n: VueI18n & IVueI18n
}
}
declare module '@nuxt/types' {
interface NuxtAppOptions {
$axios: NuxtAxiosInstance,
i18n: VueI18n & IVueI18n
}
interface Context {
$axios: NuxtAxiosInstance,
$i18n: VueI18n & IVueI18n
$colorMode: ColorModeInstance
i18n: VueI18n & IVueI18n
$colorMode: ColorModeInstance,
$app: NuxtApp
}
}
declare module 'vuex/types/index' {
interface Store<S> {
$axios: NuxtAxiosInstance
$axios: NuxtAxiosInstance,
i18n: VueI18n & IVueI18n
}
}

View File

@@ -36,5 +36,28 @@ interface Formation {
end_date: string
}
interface Tag {
slug: string
}
export { FormData, InfoData, Skill, Experience, Formation }
interface Post {
slug: string,
title: string,
description: string,
reading_time: number,
tags: Array<Tag>,
cover: string,
date: string
}
interface Project {
slug: string,
title: string,
description: string,
url: string,
cover: string,
color: string,
skills: Array<Skill>
}
export { FormData, InfoData, Skill, Experience, Formation, Post, Tag, Project }