diff --git a/index.html b/index.html index 255f31e..e3b6591 100644 --- a/index.html +++ b/index.html @@ -92,22 +92,22 @@ text-shadow: 0 -1px 0 rgba(0,0,0,0.6); } - - +
+ \ No newline at end of file diff --git a/package.json b/package.json index 85bc2c2..cba8bad 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,23 @@ { "name": "m5rcel-portfolio", + "version": "1.0.0", "private": true, - "version": "0.0.0", - "type": "module", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview" }, "dependencies": { - "react": "^19.2.1", - "react-dom": "^19.2.1", - "framer-motion": "10.16.4", - "lucide-react": "0.292.0" + "framer-motion": "^10.16.4", + "lucide-react": "0.292.0", + "react": "^18.2.0", + "react-dom": "^18.2.0" }, "devDependencies": { - "@types/node": "^22.14.0", - "@vitejs/plugin-react": "^5.0.0", - "typescript": "~5.8.2", - "vite": "^6.2.0" + "@types/react": "^18.2.0", + "@types/react-dom": "^18.2.0", + "@vitejs/plugin-react": "^4.2.0", + "typescript": "^5.0.0", + "vite": "^5.0.0" } -} +} \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index ee5fb8d..6b2481a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,23 +1,6 @@ -import path from 'path'; -import { defineConfig, loadEnv } from 'vite'; +import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; -export default defineConfig(({ mode }) => { - const env = loadEnv(mode, '.', ''); - return { - server: { - port: 3000, - host: '0.0.0.0', - }, - plugins: [react()], - define: { - 'process.env.API_KEY': JSON.stringify(env.GEMINI_API_KEY), - 'process.env.GEMINI_API_KEY': JSON.stringify(env.GEMINI_API_KEY) - }, - resolve: { - alias: { - '@': path.resolve(__dirname, '.'), - } - } - }; -}); +export default defineConfig({ + plugins: [react()], +}); \ No newline at end of file