refactor(config): update nuxt.config.ts to enhance module configuration, remove deprecated files, and improve contact form validation with zod schema
This commit is contained in:
@@ -35,8 +35,9 @@ const techData = computed((): Technology => {
|
||||
|
||||
let found = allTechs.find((t) => t.name.toLowerCase() === techName.toLowerCase())
|
||||
|
||||
if (!found && techMapping[techName]) {
|
||||
found = allTechs.find((t) => t.name.toLowerCase() === techMapping[techName].toLowerCase())
|
||||
const mapped = techMapping[techName]
|
||||
if (!found && mapped) {
|
||||
found = allTechs.find((t) => t.name.toLowerCase() === mapped.toLowerCase())
|
||||
}
|
||||
|
||||
return found ?? { name: techName, image: '', level: 'Intermediate' as const }
|
||||
|
||||
Reference in New Issue
Block a user