diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..d4d9225 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,3 @@ +import withNuxt from './.nuxt/eslint.config.mjs' + +export default withNuxt() diff --git a/eslint.config.ts b/eslint.config.ts deleted file mode 100644 index 20475f8..0000000 --- a/eslint.config.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { globalIgnores } from 'eslint/config' -import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript' -import pluginVue from 'eslint-plugin-vue' -import skipFormatting from '@vue/eslint-config-prettier/skip-formatting' - -// To allow more languages other than `ts` in `.vue` files, uncomment the following lines: -// import { configureVueProject } from '@vue/eslint-config-typescript' -// configureVueProject({ scriptLangs: ['ts', 'tsx'] }) -// More info at https://github.com/vuejs/eslint-config-typescript/#advanced-setup - -export default defineConfigWithVueTs( - { - name: 'app/files-to-lint', - files: ['**/*.{ts,mts,tsx,vue}'], - }, - - globalIgnores(['**/dist/**', '**/dist-ssr/**', '**/coverage/**']), - - pluginVue.configs['flat/essential'], - vueTsConfigs.recommended, - skipFormatting, -) diff --git a/shared/types/index.ts b/shared/types/index.ts new file mode 100644 index 0000000..64685bc --- /dev/null +++ b/shared/types/index.ts @@ -0,0 +1,59 @@ +export interface ProjectButton { + title: string + link: string +} + +export interface Project { + id: string + image: string + technologies: string[] + category: string + date: string + featured?: boolean + buttons?: ProjectButton[] + gallery?: string[] + demoUrl?: string + githubUrl?: string + features?: string[] +} + +export interface Technology { + name: string + level: 'Beginner' | 'Intermediate' | 'Advanced' + image: string +} + +export interface TechStack { + programming: Technology[] + front: Technology[] + database: Technology[] + devtools: Technology[] + operating_systems: Technology[] + socials: Technology[] +} + +export interface Testimonial { + name: string + role: string + company: string + avatar: string + rating: number + content: string + date: string + platform: string + featured?: boolean + project_type: string + results?: string[] +} + +export interface TestimonialsStats { + totalReviews: number + averageRating: number + projectsCompleted: number +} + +export interface FAQ { + questionKey: string + answerKey: string + featuresKey: string +}