Initial upload of divax-portfolio
Browse files- .gitattributes +1 -0
- .gitignore +41 -0
- README.md +36 -0
- eslint.config.mjs +22 -0
- next.config.ts +7 -0
- package-lock.json +0 -0
- package.json +38 -0
- postcss.config.mjs +5 -0
- public/file.svg +1 -0
- public/globe.svg +1 -0
- public/next.svg +1 -0
- public/resume.pdf +3 -0
- public/textures/earth/earth_clouds_1k.jpg +3 -0
- public/textures/earth/earth_clouds_trans_1k.jpg +3 -0
- public/textures/earth/earth_day_1k.jpg +3 -0
- public/textures/earth/earth_spec_1k.jpg +3 -0
- public/textures/mars/mars_1k.jpg +3 -0
- public/textures/moon/moon_1k.jpg +3 -0
- public/vercel.svg +1 -0
- public/window.svg +1 -0
- src/app/favicon.ico +0 -0
- src/app/globals.css +68 -0
- src/app/layout.tsx +60 -0
- src/app/not-found.tsx +9 -0
- src/app/page.tsx +75 -0
- src/components/ChatBot.tsx +267 -0
- src/components/Earth.tsx +18 -0
- src/components/ExperienceTimeline.tsx +31 -0
- src/components/Footer.tsx +11 -0
- src/components/Hero.tsx +59 -0
- src/components/NavBar.tsx +78 -0
- src/components/Planet.tsx +112 -0
- src/components/ProjectAccent.tsx +24 -0
- src/components/ProjectGrid.tsx +43 -0
- src/components/ScrollProgress.tsx +19 -0
- src/components/Section.tsx +16 -0
- src/components/SectionAccent.tsx +20 -0
- src/components/SkillsParallax.tsx +19 -0
- src/components/SkillsWall.tsx +24 -0
- src/components/ThemeToggle.tsx +29 -0
- src/components/theme-provider.tsx +20 -0
- src/lib/cn.ts +4 -0
- src/lib/content.ts +126 -0
- tsconfig.json +27 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
public/resume.pdf filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
| 2 |
+
|
| 3 |
+
# dependencies
|
| 4 |
+
/node_modules
|
| 5 |
+
/.pnp
|
| 6 |
+
.pnp.*
|
| 7 |
+
.yarn/*
|
| 8 |
+
!.yarn/patches
|
| 9 |
+
!.yarn/plugins
|
| 10 |
+
!.yarn/releases
|
| 11 |
+
!.yarn/versions
|
| 12 |
+
|
| 13 |
+
# testing
|
| 14 |
+
/coverage
|
| 15 |
+
|
| 16 |
+
# next.js
|
| 17 |
+
/.next/
|
| 18 |
+
/out/
|
| 19 |
+
|
| 20 |
+
# production
|
| 21 |
+
/build
|
| 22 |
+
|
| 23 |
+
# misc
|
| 24 |
+
.DS_Store
|
| 25 |
+
*.pem
|
| 26 |
+
|
| 27 |
+
# debug
|
| 28 |
+
npm-debug.log*
|
| 29 |
+
yarn-debug.log*
|
| 30 |
+
yarn-error.log*
|
| 31 |
+
.pnpm-debug.log*
|
| 32 |
+
|
| 33 |
+
# env files (can opt-in for committing if needed)
|
| 34 |
+
.env*
|
| 35 |
+
|
| 36 |
+
# vercel
|
| 37 |
+
.vercel
|
| 38 |
+
|
| 39 |
+
# typescript
|
| 40 |
+
*.tsbuildinfo
|
| 41 |
+
next-env.d.ts
|
README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
|
| 2 |
+
|
| 3 |
+
## Getting Started
|
| 4 |
+
|
| 5 |
+
First, run the development server:
|
| 6 |
+
|
| 7 |
+
```bash
|
| 8 |
+
npm run dev
|
| 9 |
+
# or
|
| 10 |
+
yarn dev
|
| 11 |
+
# or
|
| 12 |
+
pnpm dev
|
| 13 |
+
# or
|
| 14 |
+
bun dev
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
| 18 |
+
|
| 19 |
+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
| 20 |
+
|
| 21 |
+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
|
| 22 |
+
|
| 23 |
+
## Learn More
|
| 24 |
+
|
| 25 |
+
To learn more about Next.js, take a look at the following resources:
|
| 26 |
+
|
| 27 |
+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
| 28 |
+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
| 29 |
+
|
| 30 |
+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
| 31 |
+
|
| 32 |
+
## Deploy on Vercel
|
| 33 |
+
|
| 34 |
+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
| 35 |
+
|
| 36 |
+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|
eslint.config.mjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { dirname } from "path";
|
| 2 |
+
import { fileURLToPath } from "url";
|
| 3 |
+
import { FlatCompat } from "@eslint/eslintrc";
|
| 4 |
+
|
| 5 |
+
const __filename = fileURLToPath(import.meta.url);
|
| 6 |
+
const __dirname = dirname(__filename);
|
| 7 |
+
|
| 8 |
+
const compat = new FlatCompat({
|
| 9 |
+
baseDirectory: __dirname,
|
| 10 |
+
});
|
| 11 |
+
|
| 12 |
+
const eslintConfig = [
|
| 13 |
+
...compat.extends("next/core-web-vitals", "next/typescript"),
|
| 14 |
+
{
|
| 15 |
+
rules: {
|
| 16 |
+
"@typescript-eslint/no-explicit-any": "off",
|
| 17 |
+
"@typescript-eslint/no-unused-vars": ["warn"],
|
| 18 |
+
},
|
| 19 |
+
},
|
| 20 |
+
];
|
| 21 |
+
|
| 22 |
+
export default eslintConfig;
|
next.config.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { NextConfig } from "next";
|
| 2 |
+
|
| 3 |
+
const nextConfig: NextConfig = {
|
| 4 |
+
/* config options here */
|
| 5 |
+
};
|
| 6 |
+
|
| 7 |
+
export default nextConfig;
|
package-lock.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "divax-portfolio",
|
| 3 |
+
"version": "0.1.0",
|
| 4 |
+
"private": true,
|
| 5 |
+
"scripts": {
|
| 6 |
+
"dev": "next dev --turbopack",
|
| 7 |
+
"build": "next build",
|
| 8 |
+
"start": "next start",
|
| 9 |
+
"lint": "next lint"
|
| 10 |
+
},
|
| 11 |
+
"dependencies": {
|
| 12 |
+
"@google/generative-ai": "^0.24.1",
|
| 13 |
+
"@react-three/drei": "^10.6.1",
|
| 14 |
+
"@react-three/fiber": "^9.3.0",
|
| 15 |
+
"@react-three/postprocessing": "^3.0.4",
|
| 16 |
+
"framer-motion": "^12.23.12",
|
| 17 |
+
"lucide-react": "^0.537.0",
|
| 18 |
+
"maath": "^0.10.8",
|
| 19 |
+
"next": "15.4.6",
|
| 20 |
+
"next-themes": "^0.4.6",
|
| 21 |
+
"react": "19.1.0",
|
| 22 |
+
"react-dom": "19.1.0",
|
| 23 |
+
"react-markdown": "^10.1.0",
|
| 24 |
+
"remark-gfm": "^4.0.1",
|
| 25 |
+
"three": "^0.179.1"
|
| 26 |
+
},
|
| 27 |
+
"devDependencies": {
|
| 28 |
+
"@eslint/eslintrc": "^3",
|
| 29 |
+
"@tailwindcss/postcss": "^4",
|
| 30 |
+
"@types/node": "^20",
|
| 31 |
+
"@types/react": "^19",
|
| 32 |
+
"@types/react-dom": "^19",
|
| 33 |
+
"eslint": "^9",
|
| 34 |
+
"eslint-config-next": "15.4.6",
|
| 35 |
+
"tailwindcss": "^4",
|
| 36 |
+
"typescript": "^5"
|
| 37 |
+
}
|
| 38 |
+
}
|
postcss.config.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const config = {
|
| 2 |
+
plugins: ["@tailwindcss/postcss"],
|
| 3 |
+
};
|
| 4 |
+
|
| 5 |
+
export default config;
|
public/file.svg
ADDED
|
|
public/globe.svg
ADDED
|
|
public/next.svg
ADDED
|
|
public/resume.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5628f45429499f8e73ea09e9e1f7c68c216fd14dd48ca6e98592f875915eadf2
|
| 3 |
+
size 340338
|
public/textures/earth/earth_clouds_1k.jpg
ADDED
|
Git LFS Details
|
public/textures/earth/earth_clouds_trans_1k.jpg
ADDED
|
Git LFS Details
|
public/textures/earth/earth_day_1k.jpg
ADDED
|
Git LFS Details
|
public/textures/earth/earth_spec_1k.jpg
ADDED
|
Git LFS Details
|
public/textures/mars/mars_1k.jpg
ADDED
|
Git LFS Details
|
public/textures/moon/moon_1k.jpg
ADDED
|
Git LFS Details
|
public/vercel.svg
ADDED
|
|
public/window.svg
ADDED
|
|
src/app/favicon.ico
ADDED
|
|
src/app/globals.css
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import "tailwindcss";
|
| 2 |
+
|
| 3 |
+
/* Design tokens */
|
| 4 |
+
:root {
|
| 5 |
+
/* Default to LIGHT theme tokens */
|
| 6 |
+
--bg: #fbfdfc; /* near-white with a hint of mint */
|
| 7 |
+
--fg: #0e1514; /* deep graphite green */
|
| 8 |
+
--muted: #5f6e6a; /* slate green */
|
| 9 |
+
--teal: #0f766e; /* warm teal 700 */
|
| 10 |
+
--teal-500: #14b8a6; /* accent */
|
| 11 |
+
--amber: #f59e0b; /* warm amber 500 */
|
| 12 |
+
--amber-400: #fbbf24;
|
| 13 |
+
--card: rgba(0, 0, 0, 0.04);
|
| 14 |
+
--ring: color-mix(in oklab, var(--teal) 55%, white 45%);
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
/* Theme surface tokens for Tailwind @theme */
|
| 18 |
+
@theme inline {
|
| 19 |
+
--color-bg: var(--bg);
|
| 20 |
+
--color-fg: var(--fg);
|
| 21 |
+
--color-muted: var(--muted);
|
| 22 |
+
--color-teal: var(--teal);
|
| 23 |
+
--color-teal-500: var(--teal-500);
|
| 24 |
+
--color-amber: var(--amber);
|
| 25 |
+
--color-amber-400: var(--amber-400);
|
| 26 |
+
--color-card: var(--card);
|
| 27 |
+
--color-ring: var(--ring);
|
| 28 |
+
--font-sans: var(--font-geist-sans);
|
| 29 |
+
--font-mono: var(--font-geist-mono);
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.dark {
|
| 33 |
+
--bg: #0b1211;
|
| 34 |
+
--fg: #e9f3f1;
|
| 35 |
+
--muted: #9fb0ad;
|
| 36 |
+
--card: rgba(255, 255, 255, 0.05);
|
| 37 |
+
--ring: color-mix(in oklab, var(--amber) 55%, white 45%);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
/* Global reset and base */
|
| 41 |
+
*, *::before, *::after { box-sizing: border-box; }
|
| 42 |
+
html, body { height: 100%; }
|
| 43 |
+
body {
|
| 44 |
+
/* Light subtle tints, switch naturally in dark via --bg */
|
| 45 |
+
background: radial-gradient(1200px_1200px at 20% -10%, color-mix(in oklab, var(--teal) 6%, var(--bg) 94%), var(--bg)) no-repeat,
|
| 46 |
+
radial-gradient(900px_900px at 120% 10%, color-mix(in oklab, var(--amber) 5%, var(--bg) 95%), transparent 60%) no-repeat,
|
| 47 |
+
var(--bg);
|
| 48 |
+
color: var(--fg);
|
| 49 |
+
font-family: var(--font-geist-sans), ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
/* Smooth theme transitions */
|
| 53 |
+
.theme-smooth {
|
| 54 |
+
transition-property: background-color, color, border-color, fill, stroke;
|
| 55 |
+
transition-duration: 400ms;
|
| 56 |
+
transition-timing-function: cubic-bezier(.2,.8,.2,1);
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
/* Utilities */
|
| 60 |
+
.container-px { padding-left: clamp(1rem, 4vw, 2rem); padding-right: clamp(1rem, 4vw, 2rem); }
|
| 61 |
+
.max-w-wrapper { max-width: 1200px; margin-inline: auto; }
|
| 62 |
+
|
| 63 |
+
/* Focus */
|
| 64 |
+
:where(a, button, input, textarea, select):focus-visible {
|
| 65 |
+
outline: none;
|
| 66 |
+
box-shadow: 0 0 0 3px var(--color-ring);
|
| 67 |
+
border-radius: 12px;
|
| 68 |
+
}
|
src/app/layout.tsx
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Metadata } from "next";
|
| 2 |
+
import { Geist, Geist_Mono } from "next/font/google";
|
| 3 |
+
import "./globals.css";
|
| 4 |
+
import { ThemeProvider } from "@/components/theme-provider";
|
| 5 |
+
import { cn } from "@/lib/cn";
|
| 6 |
+
import { ScrollProgress } from "@/components/ScrollProgress";
|
| 7 |
+
import { ChatBot } from "@/components/ChatBot";
|
| 8 |
+
|
| 9 |
+
const geistSans = Geist({
|
| 10 |
+
variable: "--font-geist-sans",
|
| 11 |
+
subsets: ["latin"],
|
| 12 |
+
});
|
| 13 |
+
|
| 14 |
+
const geistMono = Geist_Mono({
|
| 15 |
+
variable: "--font-geist-mono",
|
| 16 |
+
subsets: ["latin"],
|
| 17 |
+
});
|
| 18 |
+
|
| 19 |
+
export const metadata: Metadata = {
|
| 20 |
+
title: "Divax Shah — AI/ML Engineer Portfolio",
|
| 21 |
+
description:
|
| 22 |
+
"AI enthusiast and engineer building premium-grade AI systems: LLM fine-tuning, NLP, CV, and generative AI.",
|
| 23 |
+
metadataBase: new URL("https://divax.sh"),
|
| 24 |
+
openGraph: {
|
| 25 |
+
title: "Divax Shah — AI/ML Engineer Portfolio",
|
| 26 |
+
description:
|
| 27 |
+
"AI enthusiast and engineer building premium-grade AI systems: LLM fine-tuning, NLP, CV, and generative AI.",
|
| 28 |
+
type: "website",
|
| 29 |
+
},
|
| 30 |
+
twitter: {
|
| 31 |
+
card: "summary_large_image",
|
| 32 |
+
title: "Divax Shah — AI/ML Engineer Portfolio",
|
| 33 |
+
description:
|
| 34 |
+
"AI enthusiast and engineer building premium-grade AI systems: LLM fine-tuning, NLP, CV, and generative AI.",
|
| 35 |
+
},
|
| 36 |
+
};
|
| 37 |
+
|
| 38 |
+
export default function RootLayout({
|
| 39 |
+
children,
|
| 40 |
+
}: Readonly<{
|
| 41 |
+
children: React.ReactNode;
|
| 42 |
+
}>) {
|
| 43 |
+
return (
|
| 44 |
+
<html lang="en" suppressHydrationWarning>
|
| 45 |
+
<body
|
| 46 |
+
className={cn(
|
| 47 |
+
geistSans.variable,
|
| 48 |
+
geistMono.variable,
|
| 49 |
+
"antialiased min-h-dvh bg-bg text-fg transition-colors duration-500"
|
| 50 |
+
)}
|
| 51 |
+
>
|
| 52 |
+
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
| 53 |
+
<ScrollProgress />
|
| 54 |
+
<ChatBot />
|
| 55 |
+
{children}
|
| 56 |
+
</ThemeProvider>
|
| 57 |
+
</body>
|
| 58 |
+
</html>
|
| 59 |
+
);
|
| 60 |
+
}
|
src/app/not-found.tsx
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export default function NotFound() {
|
| 2 |
+
return (
|
| 3 |
+
<div className="container-px max-w-wrapper py-24">
|
| 4 |
+
<h1 className="text-3xl font-semibold">Not found</h1>
|
| 5 |
+
<p className="mt-2 text-muted">The page you’re looking for doesn’t exist.</p>
|
| 6 |
+
</div>
|
| 7 |
+
);
|
| 8 |
+
}
|
| 9 |
+
|
src/app/page.tsx
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { NavBar } from "@/components/NavBar";
|
| 2 |
+
import { Hero } from "@/components/Hero";
|
| 3 |
+
import { Section } from "@/components/Section";
|
| 4 |
+
import { ExperienceTimeline } from "@/components/ExperienceTimeline";
|
| 5 |
+
import { ProjectGrid } from "@/components/ProjectGrid";
|
| 6 |
+
import { SkillsWall } from "@/components/SkillsWall";
|
| 7 |
+
import { Footer } from "@/components/Footer";
|
| 8 |
+
import { SkillsParallax } from "@/components/SkillsParallax";
|
| 9 |
+
import { MoonBadge, MarsBadge } from "@/components/SectionAccent";
|
| 10 |
+
|
| 11 |
+
export default function Home() {
|
| 12 |
+
return (
|
| 13 |
+
<div className="font-sans">
|
| 14 |
+
<NavBar />
|
| 15 |
+
<Hero />
|
| 16 |
+
|
| 17 |
+
<Section id="about" title="About" accessory={<MoonBadge /> }>
|
| 18 |
+
<p className="text-muted max-w-prose">
|
| 19 |
+
Passionate about pushing the boundaries of AI and creating innovative solutions that shape the future of technology.
|
| 20 |
+
</p>
|
| 21 |
+
</Section>
|
| 22 |
+
|
| 23 |
+
<Section id="experience" title="Professional Experience" accessory={<MarsBadge /> }>
|
| 24 |
+
<ExperienceTimeline />
|
| 25 |
+
</Section>
|
| 26 |
+
|
| 27 |
+
<Section id="projects" title="Featured Projects">
|
| 28 |
+
<ProjectGrid />
|
| 29 |
+
</Section>
|
| 30 |
+
|
| 31 |
+
<Section id="skills" title="Skills & Expertise">
|
| 32 |
+
<SkillsParallax>
|
| 33 |
+
<SkillsWall />
|
| 34 |
+
</SkillsParallax>
|
| 35 |
+
</Section>
|
| 36 |
+
|
| 37 |
+
<Section id="contact" title="Let’s Connect!">
|
| 38 |
+
<div className="grid grid-cols-1 sm:grid-cols-2 md:flex md:flex-wrap items-center gap-3">
|
| 39 |
+
<a
|
| 40 |
+
href="mailto:divax12345@gmail.com"
|
| 41 |
+
className="inline-flex items-center gap-2 rounded-full bg-amber text-black px-5 py-2.5 text-sm font-medium hover:brightness-110 transition"
|
| 42 |
+
>
|
| 43 |
+
Contact
|
| 44 |
+
</a>
|
| 45 |
+
<a
|
| 46 |
+
href="https://github.com/shahdivax"
|
| 47 |
+
target="_blank"
|
| 48 |
+
rel="noopener noreferrer"
|
| 49 |
+
className="inline-flex items-center gap-2 rounded-full border border-white/15 px-5 py-2.5 text-sm font-medium hover:bg-card transition"
|
| 50 |
+
>
|
| 51 |
+
GitHub
|
| 52 |
+
</a>
|
| 53 |
+
<a
|
| 54 |
+
href="https://www.linkedin.com/in/divax-shah/"
|
| 55 |
+
target="_blank"
|
| 56 |
+
rel="noopener noreferrer"
|
| 57 |
+
className="inline-flex items-center gap-2 rounded-full border border-white/15 px-5 py-2.5 text-sm font-medium hover:bg-card transition"
|
| 58 |
+
>
|
| 59 |
+
LinkedIn
|
| 60 |
+
</a>
|
| 61 |
+
<a
|
| 62 |
+
href="https://huggingface.co/diabolic6045"
|
| 63 |
+
target="_blank"
|
| 64 |
+
rel="noopener noreferrer"
|
| 65 |
+
className="inline-flex items-center gap-2 rounded-full border border-white/15 px-5 py-2.5 text-sm font-medium hover:bg-card transition"
|
| 66 |
+
>
|
| 67 |
+
HuggingFace
|
| 68 |
+
</a>
|
| 69 |
+
</div>
|
| 70 |
+
</Section>
|
| 71 |
+
|
| 72 |
+
<Footer />
|
| 73 |
+
</div>
|
| 74 |
+
);
|
| 75 |
+
}
|
src/components/ChatBot.tsx
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { useEffect, useRef, useState } from "react";
|
| 4 |
+
import { GoogleGenerativeAI } from "@google/generative-ai";
|
| 5 |
+
import { motion, AnimatePresence } from "framer-motion";
|
| 6 |
+
import { MessageCircle } from "lucide-react";
|
| 7 |
+
import ReactMarkdown from "react-markdown";
|
| 8 |
+
import remarkGfm from "remark-gfm";
|
| 9 |
+
|
| 10 |
+
type Role = "user" | "model";
|
| 11 |
+
type Message = { role: Role; parts: { text: string }[] };
|
| 12 |
+
|
| 13 |
+
const resumeData = `Divax Shah - AI Developer & Python Developer
|
| 14 |
+
Contact Information:
|
| 15 |
+
- Phone: +91-8866572525
|
| 16 |
+
- Email: divax12345@gmail.com
|
| 17 |
+
- LinkedIn: https://www.linkedin.com/in/divax-shah/
|
| 18 |
+
- GitHub: https://github.com/shahdivax
|
| 19 |
+
- HuggingFace: https://huggingface.co/diabolic6045
|
| 20 |
+
- Portfolio: https://divax-shah-portfolio.vercel.app/
|
| 21 |
+
|
| 22 |
+
Professional Experience:
|
| 23 |
+
- **AI/ML Engineer** at Avinyaa Edtech Private Limited (March 2025 - Present)
|
| 24 |
+
- Developing and enhancing AI models for kreativespace.com's AI Writing Tools Suite.
|
| 25 |
+
- Focused on creating and refining grammar checker and developing an advanced AI text detection system.
|
| 26 |
+
- Involves fine-tuning Transformer Models (MLM and LLMs) for high accuracy and optimal output.
|
| 27 |
+
|
| 28 |
+
- **Jr. Python Developer** at Thinkbiz Technology Private Limited (May 2024 - March 2025)
|
| 29 |
+
- Developed an advanced pipeline for Jugaad, Thinkbiz's product, using OCR and LLM technologies to extract and process text from invoices.
|
| 30 |
+
- Conducted extensive research and evaluation of open-source OCR and LLM tools.
|
| 31 |
+
- Built and curated specialized datasets to enhance accuracy and reliability of text extraction.
|
| 32 |
+
|
| 33 |
+
- **AI and Synthetic Data Developer Intern** at DMI Finance Private Limited (January 2024 - April 2024)
|
| 34 |
+
- Developed a generative AI system for synthetic structured data generation, from concept to deployment.
|
| 35 |
+
- Created a pipeline with Python and Gradio for data cleaning, deduplication, and embedding.
|
| 36 |
+
- Designed a robust training framework using PyTorch and Hugging Face's Transformers.
|
| 37 |
+
- Introduced a user-friendly Gradio interface to streamline synthetic structured data generation.
|
| 38 |
+
|
| 39 |
+
Key Projects:
|
| 40 |
+
1. **QuizWiz** (https://quiz-wiz-official.vercel.app/)
|
| 41 |
+
- Advanced, AI-powered chatbot creation platform enabling users to build, deploy, and interact with custom chatbots.
|
| 42 |
+
- Offers user-friendly interface leveraging cutting-edge natural language processing technologies.
|
| 43 |
+
- Tech: NLP, Chatbot, Flask, Mistral-AI-API, Gemini-API.
|
| 44 |
+
|
| 45 |
+
2. **Sanskrit qwen 7B Translate** (https://huggingface.co/diabolic6045/Sanskrit-qwen-7B-Translate)
|
| 46 |
+
- Fine-tuned the Qwen2.5-7B-Instruct-1M language model to translate Vedic Sanskrit texts into English.
|
| 47 |
+
- Leveraged Qlora technique and a curated dataset of Sanskrit-English parallel texts.
|
| 48 |
+
- Aims to make ancient Sanskrit literature more accessible.
|
| 49 |
+
- Tech: LLM, Translation, Fine-tuning, Sanskrit, Qwen-2.5-7B-Instruct-1M.
|
| 50 |
+
|
| 51 |
+
3. **Geolocation through Image Classification** (https://huggingface.co/diabolic6045/indian_cities_image_classification)
|
| 52 |
+
- Developed a deep learning model to identify Indian cities from images, achieving 66.3% accuracy.
|
| 53 |
+
- Implemented transfer learning using VGG16 CNN for feature extraction.
|
| 54 |
+
- Tech: Computer Vision, Deep Learning, Transfer Learning.
|
| 55 |
+
|
| 56 |
+
4. **Character Chatbot** (https://huggingface.co/diabolic6045/tony_stark_chatbot)
|
| 57 |
+
- Built an NLP chatbot using Python, TensorFlow, and HuggingFace Transformers for interactive conversations with fictional characters.
|
| 58 |
+
- Tech: LLM, Chatbot, Fine-tuning, DialoGPT-medium.
|
| 59 |
+
|
| 60 |
+
5. **Itinerary Generator** (https://huggingface.co/diabolic6045/itineraries_Generator)
|
| 61 |
+
- Developed an advanced itinerary builder by fine-tuning GPT-2 on worldwide trip plans.
|
| 62 |
+
- Used PyTorch and Hugging Face's Transformers for on-demand travel itinerary generation.
|
| 63 |
+
- Tech: LLM, GPT-2, Fine-tuning.
|
| 64 |
+
|
| 65 |
+
6. **Synthetic Data Generation** (/documents/divax-recco.pdf)
|
| 66 |
+
- Created a generative AI system for synthetic structured data generation.
|
| 67 |
+
- Implemented a pipeline with Python and Gradio for data cleaning, deduplication, and embedding.
|
| 68 |
+
- Tech: Generative AI, Data Synthesis, PyTorch, Fine-tuning, Llama-2.
|
| 69 |
+
|
| 70 |
+
7. **Something** (https://something-atep.onrender.com)
|
| 71 |
+
- A web application designed to keep investors informed with the latest, most relevant news about their stock portfolio.
|
| 72 |
+
- Aggregates news from multiple trusted sources and uses AI to summarize key points.
|
| 73 |
+
- Tech: Flask, Firebase, Gemini AI.
|
| 74 |
+
|
| 75 |
+
Technical Skills:
|
| 76 |
+
- **ML Frameworks & Libraries:** PyTorch, TensorFlow / Keras, HuggingFace Transformers, scikit-learn, LangChain, NumPy & Pandas.
|
| 77 |
+
- **AI Specializations & Techniques:** Natural Language Processing (NLP), Computer Vision (CV), LLM Fine-tuning, Generative AI, Prompt Engineering, Reinforcement Learning (RL).
|
| 78 |
+
- **LLM Ecosystem & Tools:** Axolotl, Unsloth, OpenAI API, Google Gemini API, Anthropic API, Mistral AI API.
|
| 79 |
+
- **Programming Languages:** Python, Java, C++.
|
| 80 |
+
- **Other Tools/Frameworks:** Flask, Streamlit, Tkinter, OpenCV.
|
| 81 |
+
|
| 82 |
+
Education:
|
| 83 |
+
- **B.Tech in Computer Science and Engineering**
|
| 84 |
+
- Parul Institute of Engineering and Technology (2024)
|
| 85 |
+
- CGPA: 8.2
|
| 86 |
+
- **GHSEB, Gujarat**
|
| 87 |
+
- Gyanmanjari Secondary and Higher Secondary School, Bhavnagar (2020)
|
| 88 |
+
- Percentage: 64%`;
|
| 89 |
+
|
| 90 |
+
export function ChatBot() {
|
| 91 |
+
const [messages, setMessages] = useState<Message[]>([]);
|
| 92 |
+
const [input, setInput] = useState("");
|
| 93 |
+
const [isLoading, setIsLoading] = useState(false);
|
| 94 |
+
const [isOpen, setIsOpen] = useState(false);
|
| 95 |
+
const [genAI, setGenAI] = useState<GoogleGenerativeAI | null>(null);
|
| 96 |
+
const chatRef = useRef<any>(null);
|
| 97 |
+
const endRef = useRef<HTMLDivElement>(null);
|
| 98 |
+
|
| 99 |
+
useEffect(() => {
|
| 100 |
+
endRef.current?.scrollIntoView({ behavior: "smooth" });
|
| 101 |
+
}, [messages]);
|
| 102 |
+
|
| 103 |
+
useEffect(() => {
|
| 104 |
+
const key = process.env.NEXT_PUBLIC_GEMINI_API_KEY;
|
| 105 |
+
if (!key) return;
|
| 106 |
+
const ai = new GoogleGenerativeAI(key);
|
| 107 |
+
setGenAI(ai);
|
| 108 |
+
}, []);
|
| 109 |
+
|
| 110 |
+
useEffect(() => {
|
| 111 |
+
if (!genAI || chatRef.current) return;
|
| 112 |
+
const model = genAI.getGenerativeModel({ model: "gemini-2.5-flash" });
|
| 113 |
+
chatRef.current = model.startChat({ history: [] });
|
| 114 |
+
}, [genAI]);
|
| 115 |
+
|
| 116 |
+
// Allow external toggle (navbar 🤗) via a custom event
|
| 117 |
+
useEffect(() => {
|
| 118 |
+
function onToggle() {
|
| 119 |
+
setIsOpen((v) => !v);
|
| 120 |
+
}
|
| 121 |
+
window.addEventListener("divax-toggle-chat", onToggle as EventListener);
|
| 122 |
+
return () => window.removeEventListener("divax-toggle-chat", onToggle as EventListener);
|
| 123 |
+
}, []);
|
| 124 |
+
|
| 125 |
+
async function handleSubmit(e: React.FormEvent) {
|
| 126 |
+
e.preventDefault();
|
| 127 |
+
if (!input.trim() || isLoading) return;
|
| 128 |
+
|
| 129 |
+
if (!genAI) {
|
| 130 |
+
setMessages((prev) => [
|
| 131 |
+
...prev,
|
| 132 |
+
{ role: "user", parts: [{ text: input }] },
|
| 133 |
+
{ role: "model", parts: [{ text: "API key missing. Set NEXT_PUBLIC_GEMINI_API_KEY and reload." }] },
|
| 134 |
+
]);
|
| 135 |
+
setInput("");
|
| 136 |
+
return;
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
if (!chatRef.current) {
|
| 140 |
+
const model = genAI.getGenerativeModel({ model: "gemini-2.0-flash" });
|
| 141 |
+
chatRef.current = model.startChat({ history: [] });
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
const first = messages.length === 0;
|
| 145 |
+
const question = input;
|
| 146 |
+
setMessages((prev) => [...prev, { role: "user", parts: [{ text: question }] }, { role: "model", parts: [{ text: "" }] }]);
|
| 147 |
+
setInput("");
|
| 148 |
+
setIsLoading(true);
|
| 149 |
+
|
| 150 |
+
try {
|
| 151 |
+
const prompt = first
|
| 152 |
+
? `You are Divax Shah's portfolio assistant. Only answer about his professional work.\n${resumeData}\nUser: ${question}`
|
| 153 |
+
: question;
|
| 154 |
+
try {
|
| 155 |
+
const result = await chatRef.current.sendMessageStream(prompt);
|
| 156 |
+
let full = "";
|
| 157 |
+
for await (const chunk of result.stream) {
|
| 158 |
+
if (chunk?.text) {
|
| 159 |
+
full += chunk.text();
|
| 160 |
+
setMessages((prev) => {
|
| 161 |
+
const next = [...prev];
|
| 162 |
+
const last = next[next.length - 1];
|
| 163 |
+
if (last?.role === "model") last.parts[0].text = full;
|
| 164 |
+
return next;
|
| 165 |
+
});
|
| 166 |
+
}
|
| 167 |
+
}
|
| 168 |
+
} catch {
|
| 169 |
+
const res = await chatRef.current.sendMessage(prompt);
|
| 170 |
+
const text = await res.response.text();
|
| 171 |
+
setMessages((prev) => {
|
| 172 |
+
const next = [...prev];
|
| 173 |
+
const last = next[next.length - 1];
|
| 174 |
+
if (last?.role === "model") last.parts[0].text = text;
|
| 175 |
+
return next;
|
| 176 |
+
});
|
| 177 |
+
}
|
| 178 |
+
} catch (err) {
|
| 179 |
+
setMessages((prev) => {
|
| 180 |
+
const next = [...prev];
|
| 181 |
+
const last = next[next.length - 1];
|
| 182 |
+
if (last?.role === "model") last.parts[0].text = "Sorry, I hit an error. Please try again.";
|
| 183 |
+
return next;
|
| 184 |
+
});
|
| 185 |
+
} finally {
|
| 186 |
+
setIsLoading(false);
|
| 187 |
+
}
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
const suggestions = [
|
| 191 |
+
"His role at Avinyaa?",
|
| 192 |
+
"AI models fine-tuned at Avinyaa?",
|
| 193 |
+
"Jugaad OCR+LLM pipeline?",
|
| 194 |
+
"Details on QuizWiz?",
|
| 195 |
+
"Sanskrit Qwen project?",
|
| 196 |
+
];
|
| 197 |
+
|
| 198 |
+
return (
|
| 199 |
+
<>
|
| 200 |
+
{/* Bottom-right launcher */}
|
| 201 |
+
<button
|
| 202 |
+
onClick={() => setIsOpen((v) => !v)}
|
| 203 |
+
className="fixed bottom-6 right-6 z-40 h-12 w-12 rounded-full border border-black/10 dark:border-white/10 bg-card backdrop-blur hover:bg-black/10 dark:hover:bg-white/10 shadow"
|
| 204 |
+
aria-label="Open chat"
|
| 205 |
+
>
|
| 206 |
+
<MessageCircle className="h-5 w-5 m-auto" />
|
| 207 |
+
</button>
|
| 208 |
+
|
| 209 |
+
<AnimatePresence>
|
| 210 |
+
{isOpen && (
|
| 211 |
+
<motion.div
|
| 212 |
+
initial={{ opacity: 0, y: 10 }}
|
| 213 |
+
animate={{ opacity: 1, y: 0 }}
|
| 214 |
+
exit={{ opacity: 0, y: 10 }}
|
| 215 |
+
transition={{ duration: 0.2 }}
|
| 216 |
+
className="fixed bottom-6 right-4 z-40 w-[min(92vw,380px)] h-[520px] bg-bg border border-black/10 dark:border-white/10 rounded-xl shadow-2xl flex flex-col"
|
| 217 |
+
>
|
| 218 |
+
<div className="px-4 py-3 border-b border-black/10 dark:border-white/10 flex items-center justify-between">
|
| 219 |
+
<p className="text-sm font-medium">Chat with Divax’s AI</p>
|
| 220 |
+
<button className="text-muted hover:text-fg" onClick={() => setIsOpen(false)}>×</button>
|
| 221 |
+
</div>
|
| 222 |
+
<div className="flex-1 overflow-y-auto px-4 py-3 space-y-3">
|
| 223 |
+
{messages.length === 0 ? (
|
| 224 |
+
<div className="text-sm text-muted">
|
| 225 |
+
<p className="mb-2">Ask about Divax’s experience, projects, or skills.</p>
|
| 226 |
+
<div className="flex flex-wrap gap-2">
|
| 227 |
+
{suggestions.map((q) => (
|
| 228 |
+
<button key={q} className="text-xs rounded-full border px-3 py-1 hover:bg-card" onClick={() => setInput(q)}>
|
| 229 |
+
{q}
|
| 230 |
+
</button>
|
| 231 |
+
))}
|
| 232 |
+
</div>
|
| 233 |
+
</div>
|
| 234 |
+
) : (
|
| 235 |
+
messages.map((m, i) => (
|
| 236 |
+
<div key={i} className={`flex ${m.role === "user" ? "justify-end" : "justify-start"}`}>
|
| 237 |
+
<div className={`max-w-[85%] rounded-2xl px-3 py-2 text-sm ${m.role === "user" ? "bg-teal text-white" : "bg-card"}`}>
|
| 238 |
+
{m.role === "user" ? (
|
| 239 |
+
m.parts[0].text
|
| 240 |
+
) : (
|
| 241 |
+
<ReactMarkdown remarkPlugins={[remarkGfm]}>{m.parts[0].text}</ReactMarkdown>
|
| 242 |
+
)}
|
| 243 |
+
</div>
|
| 244 |
+
</div>
|
| 245 |
+
))
|
| 246 |
+
)}
|
| 247 |
+
{isLoading && <div className="text-xs text-muted">Thinking…</div>}
|
| 248 |
+
<div ref={endRef} />
|
| 249 |
+
</div>
|
| 250 |
+
<form onSubmit={handleSubmit} className="p-3 border-t border-black/10 dark:border-white/10">
|
| 251 |
+
<div className="flex gap-2">
|
| 252 |
+
<input
|
| 253 |
+
className="flex-1 rounded-full border border-black/10 dark:border-white/10 bg-transparent px-3 py-2 text-sm"
|
| 254 |
+
value={input}
|
| 255 |
+
onChange={(e) => setInput(e.target.value)}
|
| 256 |
+
placeholder="Ask about Divax…"
|
| 257 |
+
/>
|
| 258 |
+
<button type="submit" disabled={isLoading || !input.trim()} className="rounded-full bg-amber text-black text-sm px-3 py-2 disabled:opacity-50">Send</button>
|
| 259 |
+
</div>
|
| 260 |
+
</form>
|
| 261 |
+
</motion.div>
|
| 262 |
+
)}
|
| 263 |
+
</AnimatePresence>
|
| 264 |
+
</>
|
| 265 |
+
);
|
| 266 |
+
}
|
| 267 |
+
|
src/components/Earth.tsx
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { PlanetCanvas } from "./Planet";
|
| 4 |
+
|
| 5 |
+
export function EarthCanvas() {
|
| 6 |
+
return (
|
| 7 |
+
<PlanetCanvas
|
| 8 |
+
mapSrc="/textures/earth/earth_day_1k.jpg"
|
| 9 |
+
specularSrc="/textures/earth/earth_spec_1k.jpg"
|
| 10 |
+
cloudsSrc="/textures/earth/earth_clouds_1k.jpg"
|
| 11 |
+
cloudsAlphaSrc="/textures/earth/earth_clouds_trans_1k.jpg"
|
| 12 |
+
tiltDeg={23.4}
|
| 13 |
+
speed={0.15}
|
| 14 |
+
camera={[0, 0, 2.9]}
|
| 15 |
+
/>
|
| 16 |
+
);
|
| 17 |
+
}
|
| 18 |
+
|
src/components/ExperienceTimeline.tsx
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { experiences } from "@/lib/content";
|
| 4 |
+
import { motion } from "framer-motion";
|
| 5 |
+
|
| 6 |
+
export function ExperienceTimeline() {
|
| 7 |
+
return (
|
| 8 |
+
<ol className="relative ml-4 border-l border-white/10">
|
| 9 |
+
{experiences.map((exp, idx) => (
|
| 10 |
+
<motion.li
|
| 11 |
+
key={exp.company + idx}
|
| 12 |
+
initial={{ opacity: 0, y: 10 }}
|
| 13 |
+
whileInView={{ opacity: 1, y: 0 }}
|
| 14 |
+
viewport={{ once: true, amount: 0.3 }}
|
| 15 |
+
transition={{ duration: 0.5, delay: idx * 0.05 }}
|
| 16 |
+
className="mb-10 ml-4"
|
| 17 |
+
>
|
| 18 |
+
<span className="absolute -left-1.5 mt-1.5 h-3 w-3 rounded-full bg-gradient-to-br from-teal-500 to-amber shadow" />
|
| 19 |
+
<h3 className="text-lg font-medium">
|
| 20 |
+
{exp.role} <span className="text-muted">@ {exp.company}</span>
|
| 21 |
+
</h3>
|
| 22 |
+
<p className="text-xs text-muted mt-0.5">{exp.date}</p>
|
| 23 |
+
<p className="mt-3 text-sm leading-relaxed text-muted/90 max-w-prose">
|
| 24 |
+
{exp.details}
|
| 25 |
+
</p>
|
| 26 |
+
</motion.li>
|
| 27 |
+
))}
|
| 28 |
+
</ol>
|
| 29 |
+
);
|
| 30 |
+
}
|
| 31 |
+
|
src/components/Footer.tsx
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export function Footer() {
|
| 2 |
+
return (
|
| 3 |
+
<footer className="container-px max-w-wrapper py-12 text-xs text-muted">
|
| 4 |
+
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4">
|
| 5 |
+
<p>© 2025 Divax Shah. All rights reserved.</p>
|
| 6 |
+
<p>Crafted with Next.js, Tailwind CSS, Three.js, and Framer Motion.</p>
|
| 7 |
+
</div>
|
| 8 |
+
</footer>
|
| 9 |
+
);
|
| 10 |
+
}
|
| 11 |
+
|
src/components/Hero.tsx
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
// Cleaned: hero now uses EarthCanvas only
|
| 4 |
+
import { motion } from "framer-motion";
|
| 5 |
+
import Link from "next/link";
|
| 6 |
+
import { EarthCanvas } from "./Earth";
|
| 7 |
+
|
| 8 |
+
// Placeholder removed; no extra 3D in hero besides Earth
|
| 9 |
+
|
| 10 |
+
export function Hero() {
|
| 11 |
+
return (
|
| 12 |
+
<section id="home" className="relative overflow-hidden">
|
| 13 |
+
<div className="container-px max-w-wrapper grid md:grid-cols-[1.2fr_1fr] gap-8 md:gap-12 items-center py-20 md:py-28">
|
| 14 |
+
<div className="z-10">
|
| 15 |
+
<motion.h1
|
| 16 |
+
initial={{ opacity: 0, y: 10 }}
|
| 17 |
+
animate={{ opacity: 1, y: 0 }}
|
| 18 |
+
transition={{ duration: 0.6 }}
|
| 19 |
+
className="text-5xl md:text-6xl font-semibold tracking-tight leading-[1.05]"
|
| 20 |
+
>
|
| 21 |
+
Building thoughtful AI experiences.
|
| 22 |
+
</motion.h1>
|
| 23 |
+
<motion.p
|
| 24 |
+
initial={{ opacity: 0, y: 10 }}
|
| 25 |
+
animate={{ opacity: 1, y: 0 }}
|
| 26 |
+
transition={{ duration: 0.6, delay: 0.1 }}
|
| 27 |
+
className="mt-5 text-base md:text-lg text-muted max-w-[60ch]"
|
| 28 |
+
>
|
| 29 |
+
AI Enthusiast crafting premium-grade solutions in LLM fine-tuning, NLP, CV, and Generative AI. Passionate about bringing ideas to life with precision and elegance.
|
| 30 |
+
</motion.p>
|
| 31 |
+
<motion.div
|
| 32 |
+
initial={{ opacity: 0, y: 10 }}
|
| 33 |
+
animate={{ opacity: 1, y: 0 }}
|
| 34 |
+
transition={{ duration: 0.6, delay: 0.2 }}
|
| 35 |
+
className="mt-8 flex flex-wrap gap-3"
|
| 36 |
+
>
|
| 37 |
+
<Link
|
| 38 |
+
href="#projects"
|
| 39 |
+
className="inline-flex items-center gap-2 rounded-full bg-teal text-white px-5 py-2.5 text-sm font-medium hover:brightness-110 transition"
|
| 40 |
+
>
|
| 41 |
+
View Projects
|
| 42 |
+
</Link>
|
| 43 |
+
<a
|
| 44 |
+
href="/resume.pdf"
|
| 45 |
+
download="resume.pdf"
|
| 46 |
+
className="inline-flex items-center gap-2 rounded-full border border-white/15 px-5 py-2.5 text-sm font-medium hover:bg-card transition"
|
| 47 |
+
>
|
| 48 |
+
Download Resume
|
| 49 |
+
</a>
|
| 50 |
+
</motion.div>
|
| 51 |
+
</div>
|
| 52 |
+
<div className="aspect-square relative">
|
| 53 |
+
<EarthCanvas />
|
| 54 |
+
</div>
|
| 55 |
+
</div>
|
| 56 |
+
</section>
|
| 57 |
+
);
|
| 58 |
+
}
|
| 59 |
+
|
src/components/NavBar.tsx
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import Link from "next/link";
|
| 4 |
+
import { ThemeToggle } from "./ThemeToggle";
|
| 5 |
+
import { Github, Linkedin, MessageCircle, SquareDashedMousePointer } from "lucide-react";
|
| 6 |
+
import { motion } from "framer-motion";
|
| 7 |
+
|
| 8 |
+
const navItems = [
|
| 9 |
+
{ href: "#about", label: "About" },
|
| 10 |
+
{ href: "#experience", label: "Experience" },
|
| 11 |
+
{ href: "#projects", label: "Projects" },
|
| 12 |
+
{ href: "#skills", label: "Skills" },
|
| 13 |
+
{ href: "#contact", label: "Contact" },
|
| 14 |
+
];
|
| 15 |
+
|
| 16 |
+
export function NavBar() {
|
| 17 |
+
return (
|
| 18 |
+
<motion.header
|
| 19 |
+
initial={{ y: -24, opacity: 0 }}
|
| 20 |
+
animate={{ y: 0, opacity: 1 }}
|
| 21 |
+
transition={{ duration: 0.5, ease: [0.2, 0.8, 0.2, 1] }}
|
| 22 |
+
className="sticky top-0 z-50 backdrop-blur supports-[backdrop-filter]:bg-bg/75 border-b border-black/10 dark:border-white/10"
|
| 23 |
+
>
|
| 24 |
+
<div className="container-px max-w-wrapper h-16 flex items-center justify-between">
|
| 25 |
+
<Link href="#home" className="group inline-flex items-center gap-2">
|
| 26 |
+
<SquareDashedMousePointer className="h-5 w-5 text-teal group-hover:scale-110 transition-transform" />
|
| 27 |
+
<span className="relative font-semibold tracking-tight">
|
| 28 |
+
Divax Shah
|
| 29 |
+
<span className="absolute -bottom-1 left-0 h-[2px] w-0 bg-gradient-to-r from-teal-500 to-amber transition-all duration-500 group-hover:w-full" />
|
| 30 |
+
</span>
|
| 31 |
+
</Link>
|
| 32 |
+
<nav className="hidden md:flex items-center gap-6 text-sm">
|
| 33 |
+
{navItems.map((item) => (
|
| 34 |
+
<Link
|
| 35 |
+
key={item.href}
|
| 36 |
+
href={item.href}
|
| 37 |
+
className="text-muted hover:text-fg transition-colors"
|
| 38 |
+
>
|
| 39 |
+
{item.label}
|
| 40 |
+
</Link>
|
| 41 |
+
))}
|
| 42 |
+
</nav>
|
| 43 |
+
<div className="flex items-center gap-3">
|
| 44 |
+
<a
|
| 45 |
+
href="https://github.com/shahdivax"
|
| 46 |
+
target="_blank"
|
| 47 |
+
rel="noopener noreferrer"
|
| 48 |
+
className="p-2 rounded-full hover:bg-card transition-colors"
|
| 49 |
+
>
|
| 50 |
+
<Github className="h-5 w-5" />
|
| 51 |
+
</a>
|
| 52 |
+
<a
|
| 53 |
+
href="https://www.linkedin.com/in/divax-shah/"
|
| 54 |
+
target="_blank"
|
| 55 |
+
rel="noopener noreferrer"
|
| 56 |
+
className="p-2 rounded-full hover:bg-card transition-colors"
|
| 57 |
+
>
|
| 58 |
+
<Linkedin className="h-5 w-5" />
|
| 59 |
+
</a>
|
| 60 |
+
{/* HuggingFace link in place of chat icon */}
|
| 61 |
+
<a
|
| 62 |
+
href="https://huggingface.co/diabolic6045"
|
| 63 |
+
target="_blank"
|
| 64 |
+
rel="noopener noreferrer"
|
| 65 |
+
className="inline-flex items-center justify-center h-8 w-8 rounded-full border border-black/10 dark:border-white/10 hover:bg-card"
|
| 66 |
+
aria-label="HuggingFace"
|
| 67 |
+
title="Hugging Face"
|
| 68 |
+
>
|
| 69 |
+
<span className="text-base">🤗</span>
|
| 70 |
+
</a>
|
| 71 |
+
<ThemeToggle />
|
| 72 |
+
{/* Chat launcher moved to bottom-right; navbar no longer needs this */}
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</motion.header>
|
| 76 |
+
);
|
| 77 |
+
}
|
| 78 |
+
|
src/components/Planet.tsx
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { useRef, useMemo } from "react";
|
| 4 |
+
import { Canvas, useFrame } from "@react-three/fiber";
|
| 5 |
+
import { useTexture } from "@react-three/drei";
|
| 6 |
+
import type { Group, Texture } from "three";
|
| 7 |
+
|
| 8 |
+
function toRad(d: number) { return (d * Math.PI) / 180; }
|
| 9 |
+
|
| 10 |
+
function RotatingSphere({
|
| 11 |
+
mapSrc,
|
| 12 |
+
cloudsSrc,
|
| 13 |
+
cloudsAlphaSrc,
|
| 14 |
+
specularSrc,
|
| 15 |
+
tiltDeg = 23.4,
|
| 16 |
+
speed = 0.015,
|
| 17 |
+
}: {
|
| 18 |
+
mapSrc: string;
|
| 19 |
+
cloudsSrc?: string;
|
| 20 |
+
cloudsAlphaSrc?: string;
|
| 21 |
+
specularSrc?: string;
|
| 22 |
+
tiltDeg?: number;
|
| 23 |
+
speed?: number; // radians per second
|
| 24 |
+
}) {
|
| 25 |
+
const group = useRef<Group>(null!);
|
| 26 |
+
|
| 27 |
+
// Always load valid URLs to avoid loader errors; fall back to base map
|
| 28 |
+
const maps = useTexture([
|
| 29 |
+
mapSrc,
|
| 30 |
+
specularSrc ?? mapSrc,
|
| 31 |
+
cloudsSrc ?? mapSrc,
|
| 32 |
+
cloudsAlphaSrc ?? mapSrc,
|
| 33 |
+
]) as unknown as [
|
| 34 |
+
Texture,
|
| 35 |
+
Texture | undefined,
|
| 36 |
+
Texture | undefined,
|
| 37 |
+
Texture | undefined
|
| 38 |
+
];
|
| 39 |
+
const [map, spec, clouds, cloudsAlpha] = maps;
|
| 40 |
+
const cloudMat = useMemo(() => ({ transparent: true, depthWrite: false }), []);
|
| 41 |
+
|
| 42 |
+
useFrame((_s, delta) => {
|
| 43 |
+
if (!group.current) return;
|
| 44 |
+
group.current.rotation.y += speed * delta; // slow, continuous
|
| 45 |
+
});
|
| 46 |
+
|
| 47 |
+
return (
|
| 48 |
+
<group ref={group} rotation={[0, 0, toRad(tiltDeg)]}>
|
| 49 |
+
<mesh>
|
| 50 |
+
<sphereGeometry args={[1, 128, 128]} />
|
| 51 |
+
{spec ? (
|
| 52 |
+
// eslint-disable-next-line react/jsx-no-undef
|
| 53 |
+
<meshPhongMaterial map={map} specularMap={spec} shininess={7} />
|
| 54 |
+
) : (
|
| 55 |
+
// eslint-disable-next-line react/jsx-no-undef
|
| 56 |
+
<meshLambertMaterial map={map} />
|
| 57 |
+
)}
|
| 58 |
+
</mesh>
|
| 59 |
+
{clouds && (
|
| 60 |
+
<mesh scale={1.008}>
|
| 61 |
+
<sphereGeometry args={[1, 128, 128]} />
|
| 62 |
+
{/* eslint-disable-next-line react/jsx-no-undef */}
|
| 63 |
+
<meshLambertMaterial map={clouds} alphaMap={cloudsAlpha} {...cloudMat} />
|
| 64 |
+
</mesh>
|
| 65 |
+
)}
|
| 66 |
+
</group>
|
| 67 |
+
);
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
export function PlanetCanvas({
|
| 71 |
+
mapSrc,
|
| 72 |
+
cloudsSrc,
|
| 73 |
+
cloudsAlphaSrc,
|
| 74 |
+
specularSrc,
|
| 75 |
+
camera = [0, 0, 2.8],
|
| 76 |
+
tiltDeg,
|
| 77 |
+
speed,
|
| 78 |
+
}: {
|
| 79 |
+
mapSrc: string;
|
| 80 |
+
cloudsSrc?: string;
|
| 81 |
+
cloudsAlphaSrc?: string;
|
| 82 |
+
specularSrc?: string;
|
| 83 |
+
camera?: [number, number, number];
|
| 84 |
+
tiltDeg?: number;
|
| 85 |
+
speed?: number;
|
| 86 |
+
}) {
|
| 87 |
+
return (
|
| 88 |
+
<div className="absolute inset-0 rounded-3xl" aria-hidden>
|
| 89 |
+
<Canvas
|
| 90 |
+
camera={{ position: camera, fov: 45 }}
|
| 91 |
+
style={{ width: "100%", height: "100%" }}
|
| 92 |
+
onCreated={({ gl }) => {
|
| 93 |
+
// Ensure planet fully fits on very small containers
|
| 94 |
+
gl.setPixelRatio(Math.min(window.devicePixelRatio, 2));
|
| 95 |
+
}}
|
| 96 |
+
>
|
| 97 |
+
<ambientLight intensity={0.45} />
|
| 98 |
+
<directionalLight position={[4, 4, 6]} intensity={0.9} color="#fff5e1" />
|
| 99 |
+
<directionalLight position={[-6, -3, -2]} intensity={0.25} color="#a7f3d0" />
|
| 100 |
+
<RotatingSphere
|
| 101 |
+
mapSrc={mapSrc}
|
| 102 |
+
cloudsSrc={cloudsSrc}
|
| 103 |
+
cloudsAlphaSrc={cloudsAlphaSrc}
|
| 104 |
+
specularSrc={specularSrc}
|
| 105 |
+
tiltDeg={tiltDeg}
|
| 106 |
+
speed={speed}
|
| 107 |
+
/>
|
| 108 |
+
</Canvas>
|
| 109 |
+
</div>
|
| 110 |
+
);
|
| 111 |
+
}
|
| 112 |
+
|
src/components/ProjectAccent.tsx
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { Canvas } from "@react-three/fiber";
|
| 4 |
+
import { Points, PointMaterial } from "@react-three/drei";
|
| 5 |
+
import { useMemo } from "react";
|
| 6 |
+
|
| 7 |
+
export function ProjectAccent() {
|
| 8 |
+
const count = 500;
|
| 9 |
+
const positions = useMemo(() => {
|
| 10 |
+
const arr = new Float32Array(count * 3);
|
| 11 |
+
for (let i = 0; i < count * 3; i++) arr[i] = (Math.random() - 0.5) * 6;
|
| 12 |
+
return arr;
|
| 13 |
+
}, []);
|
| 14 |
+
return (
|
| 15 |
+
<div className="absolute inset-0 -z-10 opacity-60">
|
| 16 |
+
<Canvas camera={{ position: [0, 0, 4] }}>
|
| 17 |
+
<Points positions={positions} stride={3} limit={count} frustumCulled>
|
| 18 |
+
<PointMaterial color="#0f766e" size={0.015} sizeAttenuation transparent opacity={0.35} />
|
| 19 |
+
</Points>
|
| 20 |
+
</Canvas>
|
| 21 |
+
</div>
|
| 22 |
+
);
|
| 23 |
+
}
|
| 24 |
+
|
src/components/ProjectGrid.tsx
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { projects } from "@/lib/content";
|
| 4 |
+
import { motion } from "framer-motion";
|
| 5 |
+
import { ProjectAccent } from "./ProjectAccent";
|
| 6 |
+
|
| 7 |
+
export function ProjectGrid() {
|
| 8 |
+
return (
|
| 9 |
+
<div className="relative grid sm:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 10 |
+
<ProjectAccent />
|
| 11 |
+
{projects.map((p, idx) => (
|
| 12 |
+
<motion.article
|
| 13 |
+
key={p.title}
|
| 14 |
+
initial={{ opacity: 0, y: 10 }}
|
| 15 |
+
whileInView={{ opacity: 1, y: 0 }}
|
| 16 |
+
viewport={{ once: true, amount: 0.3 }}
|
| 17 |
+
transition={{ duration: 0.4, delay: idx * 0.03 }}
|
| 18 |
+
className="rounded-2xl border border-white/10 bg-card p-5 hover:border-white/20 transition-colors"
|
| 19 |
+
>
|
| 20 |
+
{p.url ? (
|
| 21 |
+
<a href={p.url} target="_blank" rel="noopener noreferrer" className="text-base font-semibold tracking-tight hover:underline">
|
| 22 |
+
{p.title}
|
| 23 |
+
</a>
|
| 24 |
+
) : (
|
| 25 |
+
<h3 className="text-base font-semibold tracking-tight">{p.title}</h3>
|
| 26 |
+
)}
|
| 27 |
+
<p className="mt-2 text-sm text-muted leading-relaxed">{p.description}</p>
|
| 28 |
+
<div className="mt-4 flex flex-wrap gap-2">
|
| 29 |
+
{p.tags.map((t) => (
|
| 30 |
+
<span
|
| 31 |
+
key={t}
|
| 32 |
+
className="inline-flex items-center rounded-full bg-black/10 dark:bg-white/10 px-2.5 py-1 text-xs text-muted"
|
| 33 |
+
>
|
| 34 |
+
{t}
|
| 35 |
+
</span>
|
| 36 |
+
))}
|
| 37 |
+
</div>
|
| 38 |
+
</motion.article>
|
| 39 |
+
))}
|
| 40 |
+
</div>
|
| 41 |
+
);
|
| 42 |
+
}
|
| 43 |
+
|
src/components/ScrollProgress.tsx
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { motion, useScroll, useSpring } from "framer-motion";
|
| 4 |
+
|
| 5 |
+
export function ScrollProgress() {
|
| 6 |
+
const { scrollYProgress } = useScroll();
|
| 7 |
+
const scaleX = useSpring(scrollYProgress, {
|
| 8 |
+
stiffness: 120,
|
| 9 |
+
damping: 20,
|
| 10 |
+
restDelta: 0.001,
|
| 11 |
+
});
|
| 12 |
+
return (
|
| 13 |
+
<motion.div
|
| 14 |
+
style={{ scaleX }}
|
| 15 |
+
className="fixed left-0 right-0 top-0 h-0.5 origin-left z-[60] bg-gradient-to-r from-teal-500 to-amber"
|
| 16 |
+
/>
|
| 17 |
+
);
|
| 18 |
+
}
|
| 19 |
+
|
src/components/Section.tsx
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { ReactNode } from "react";
|
| 2 |
+
|
| 3 |
+
export function Section({ id, title, children, accessory }: { id: string; title: string; children: ReactNode; accessory?: ReactNode }) {
|
| 4 |
+
return (
|
| 5 |
+
<section id={id} className="container-px max-w-wrapper py-16 md:py-24">
|
| 6 |
+
<div className="flex items-start justify-between gap-6">
|
| 7 |
+
<h2 className="text-2xl md:text-3xl font-semibold tracking-tight">
|
| 8 |
+
<span className="bg-gradient-to-r from-teal-500 to-amber bg-clip-text text-transparent">{title}</span>
|
| 9 |
+
</h2>
|
| 10 |
+
<div className="shrink-0 translate-y-1">{accessory}</div>
|
| 11 |
+
</div>
|
| 12 |
+
<div className="mt-8 md:mt-10">{children}</div>
|
| 13 |
+
</section>
|
| 14 |
+
);
|
| 15 |
+
}
|
| 16 |
+
|
src/components/SectionAccent.tsx
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { PlanetCanvas } from "./Planet";
|
| 4 |
+
|
| 5 |
+
export function MoonBadge() {
|
| 6 |
+
return (
|
| 7 |
+
<div className="relative h-24 w-24 sm:h-28 sm:w-28">
|
| 8 |
+
<PlanetCanvas mapSrc="/textures/moon/moon_1k.jpg" camera={[0, 0, 2.6]} tiltDeg={6.7} speed={0.08} />
|
| 9 |
+
</div>
|
| 10 |
+
);
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
export function MarsBadge() {
|
| 14 |
+
return (
|
| 15 |
+
<div className="relative h-24 w-24 sm:h-28 sm:w-28">
|
| 16 |
+
<PlanetCanvas mapSrc="/textures/mars/mars_1k.jpg" camera={[0, 0, 2.6]} tiltDeg={25} speed={0.06} />
|
| 17 |
+
</div>
|
| 18 |
+
);
|
| 19 |
+
}
|
| 20 |
+
|
src/components/SkillsParallax.tsx
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { motion, useScroll, useTransform } from "framer-motion";
|
| 4 |
+
|
| 5 |
+
export function SkillsParallax({ children }: { children: React.ReactNode }) {
|
| 6 |
+
const { scrollYProgress } = useScroll({ offset: ["start end", "end start"] });
|
| 7 |
+
const y = useTransform(scrollYProgress, [0, 1], [40, -40]);
|
| 8 |
+
const opacity = useTransform(scrollYProgress, [0, 1], [0.6, 1]);
|
| 9 |
+
return (
|
| 10 |
+
<div className="relative">
|
| 11 |
+
<motion.div
|
| 12 |
+
style={{ y, opacity }}
|
| 13 |
+
className="pointer-events-none absolute -inset-x-6 -top-10 -bottom-10 -z-10 rounded-[40px] bg-gradient-to-tr from-teal-500/10 to-amber/10 blur-2xl"
|
| 14 |
+
/>
|
| 15 |
+
{children}
|
| 16 |
+
</div>
|
| 17 |
+
);
|
| 18 |
+
}
|
| 19 |
+
|
src/components/SkillsWall.tsx
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { skills } from "@/lib/content";
|
| 4 |
+
import { motion } from "framer-motion";
|
| 5 |
+
|
| 6 |
+
export function SkillsWall() {
|
| 7 |
+
return (
|
| 8 |
+
<div className="flex flex-wrap gap-2">
|
| 9 |
+
{skills.map((s, idx) => (
|
| 10 |
+
<motion.span
|
| 11 |
+
key={s}
|
| 12 |
+
initial={{ opacity: 0, y: 6 }}
|
| 13 |
+
whileInView={{ opacity: 1, y: 0 }}
|
| 14 |
+
viewport={{ once: true, amount: 0.3 }}
|
| 15 |
+
transition={{ duration: 0.35, delay: idx * 0.02 }}
|
| 16 |
+
className="rounded-full border border-black/10 dark:border-white/10 bg-card px-3 py-1.5 text-xs md:text-sm text-muted hover:border-black/20 dark:hover:border-white/20 hover:text-fg transition-colors"
|
| 17 |
+
>
|
| 18 |
+
{s}
|
| 19 |
+
</motion.span>
|
| 20 |
+
))}
|
| 21 |
+
</div>
|
| 22 |
+
);
|
| 23 |
+
}
|
| 24 |
+
|
src/components/ThemeToggle.tsx
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { useTheme } from "next-themes";
|
| 4 |
+
import { Moon, Sun } from "lucide-react";
|
| 5 |
+
import { useEffect, useState } from "react";
|
| 6 |
+
|
| 7 |
+
export function ThemeToggle() {
|
| 8 |
+
const { theme, setTheme, resolvedTheme } = useTheme();
|
| 9 |
+
const [mounted, setMounted] = useState(false);
|
| 10 |
+
useEffect(() => setMounted(true), []);
|
| 11 |
+
const current = (mounted ? resolvedTheme : theme) ?? "system";
|
| 12 |
+
const isDark = current === "dark";
|
| 13 |
+
return (
|
| 14 |
+
<button
|
| 15 |
+
aria-label="Toggle theme"
|
| 16 |
+
className="relative inline-flex h-9 w-9 items-center justify-center rounded-full border border-white/10 bg-card backdrop-blur-sm transition-colors hover:border-white/20"
|
| 17 |
+
onClick={() => setTheme(isDark ? "light" : "dark")}
|
| 18 |
+
>
|
| 19 |
+
<span className="sr-only">Toggle theme</span>
|
| 20 |
+
<Sun
|
| 21 |
+
className="absolute h-4 w-4 text-amber transition-all duration-300 scale-100 opacity-100 dark:scale-0 dark:opacity-0"
|
| 22 |
+
/>
|
| 23 |
+
<Moon
|
| 24 |
+
className="absolute h-4 w-4 text-teal transition-all duration-300 scale-0 opacity-0 dark:scale-100 dark:opacity-100"
|
| 25 |
+
/>
|
| 26 |
+
</button>
|
| 27 |
+
);
|
| 28 |
+
}
|
| 29 |
+
|
src/components/theme-provider.tsx
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import * as React from "react";
|
| 4 |
+
import {
|
| 5 |
+
ThemeProvider as NextThemesProvider,
|
| 6 |
+
type ThemeProviderProps,
|
| 7 |
+
} from "next-themes";
|
| 8 |
+
|
| 9 |
+
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
| 10 |
+
return (
|
| 11 |
+
<NextThemesProvider
|
| 12 |
+
disableTransitionOnChange
|
| 13 |
+
storageKey="divax-theme"
|
| 14 |
+
{...props}
|
| 15 |
+
>
|
| 16 |
+
<div className="theme-smooth min-h-dvh">{children}</div>
|
| 17 |
+
</NextThemesProvider>
|
| 18 |
+
);
|
| 19 |
+
}
|
| 20 |
+
|
src/lib/cn.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export function cn(...classes: Array<string | undefined | false | null>) {
|
| 2 |
+
return classes.filter(Boolean).join(" ");
|
| 3 |
+
}
|
| 4 |
+
|
src/lib/content.ts
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export const about = {
|
| 2 |
+
name: "Divax Shah",
|
| 3 |
+
tagline: "AI Enthusiast",
|
| 4 |
+
blurb:
|
| 5 |
+
"Passionate about pushing the boundaries of AI and creating innovative solutions that shape the future of technology.",
|
| 6 |
+
links: {
|
| 7 |
+
github: "https://github.com/shahdivax",
|
| 8 |
+
linkedin: "https://www.linkedin.com/in/divax-shah/",
|
| 9 |
+
huggingface: "https://huggingface.co/diabolic6045",
|
| 10 |
+
email: "mailto:divax12345@gmail.com",
|
| 11 |
+
phone: "+91-8866572525",
|
| 12 |
+
portfolio: "https://divax-shah-portfolio.vercel.app/",
|
| 13 |
+
} as Partial<Record<string, string>>,
|
| 14 |
+
};
|
| 15 |
+
|
| 16 |
+
export type Experience = {
|
| 17 |
+
role: string;
|
| 18 |
+
company: string;
|
| 19 |
+
date: string;
|
| 20 |
+
details: string;
|
| 21 |
+
};
|
| 22 |
+
|
| 23 |
+
export const experiences: Experience[] = [
|
| 24 |
+
{
|
| 25 |
+
role: "Jr. AI/ML Developer",
|
| 26 |
+
company: "Avinyaa Edtech Private Limited",
|
| 27 |
+
date: "Mar 2025 – Present",
|
| 28 |
+
details:
|
| 29 |
+
"Developing and refining an advanced grammar checker for KreativeSpace’s AI Writing Tools Suite by fine-tuning LLMs for high accuracy and natural language output. Designing and training a multilingual AI text classification system to detect AI-generated content in English, Hindi, Spanish, German, Dutch, and Italian (up to 95% accuracy), often outperforming Quillbot’s detector and approaching GPTZero.",
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
role: "Jr. Python Developer",
|
| 33 |
+
company: "Thinkbiz Technology Private Limited",
|
| 34 |
+
date: "May 2024 – Mar 2025",
|
| 35 |
+
details:
|
| 36 |
+
"Built a scalable PoC of an advanced chatbot system with LangChain Agents and LLM, handling structured (SQL) and unstructured data with ~17 agents, intercommunication, RBAC, real-time ingestion, and automated source citation. Developed an OCR–LLM pipeline for Jugaad, improving invoice extraction accuracy from 15%→85% and receipts from 10%→90% across formats.",
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
role: "AI & Synthetic Data Developer Intern",
|
| 40 |
+
company: "DMI Finance Private Limited",
|
| 41 |
+
date: "Jan 2024 – Apr 2024",
|
| 42 |
+
details:
|
| 43 |
+
"Developed a generative AI system for synthetic structured data generation with Python + Gradio for cleaning, deduplication, and embedding. Built a robust PyTorch + Transformers fine-tuning framework enabling LLM adaptation across diverse datasets, significantly improving accuracy and performance, and delivered a user-friendly Gradio interface for synthesis.",
|
| 44 |
+
},
|
| 45 |
+
];
|
| 46 |
+
|
| 47 |
+
export type Project = {
|
| 48 |
+
title: string;
|
| 49 |
+
description: string;
|
| 50 |
+
tags: string[];
|
| 51 |
+
url?: string;
|
| 52 |
+
};
|
| 53 |
+
|
| 54 |
+
export const projects: Project[] = [
|
| 55 |
+
{
|
| 56 |
+
title: "QuizWiz",
|
| 57 |
+
description:
|
| 58 |
+
"AI-powered platform for one-click custom chatbot creation with document ingestion (PDF/TXT), RAG via LlamaIndex, and deployment-ready workflows.",
|
| 59 |
+
tags: ["NLP", "Chatbot", "Flask", "Mistral-AI-API", "Gemini-API", "Website"],
|
| 60 |
+
url: "https://quiz-wiz-official.vercel.app/",
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
title: "Sanskrit-qwen (7B) Translate",
|
| 64 |
+
description:
|
| 65 |
+
"Fine-tuned Qwen2.5-7B-Instruct-1M on Sanskrit datasets using QLoRA (Axolotl), gradient checkpointing, 4-bit quantization, and cosine LR to translate Vedic Sanskrit → English.",
|
| 66 |
+
tags: ["LLM", "Translation", "Fine-tuning", "Sanskrit", "Qwen-2.5-7B", "Model"],
|
| 67 |
+
url: "https://huggingface.co/diabolic6045/Sanskrit-qwen-7B-Translate",
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
title: "Geolocation through Image Classification",
|
| 71 |
+
description:
|
| 72 |
+
"Transfer learning with VGG16 to identify Indian cities from images, achieving 66.3% accuracy.",
|
| 73 |
+
tags: ["Computer Vision", "Deep Learning", "Transfer Learning", "Model"],
|
| 74 |
+
url: "https://huggingface.co/diabolic6045/indian_cities_image_classification",
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
title: "Character Chatbot",
|
| 78 |
+
description:
|
| 79 |
+
"Conversational agents with DialoGPT-medium: interactive chats as Tony Stark, Harry Potter, and more.",
|
| 80 |
+
tags: ["LLM", "Chatbot", "Fine-tuning", "DialoGPT", "Model"],
|
| 81 |
+
url: "https://huggingface.co/diabolic6045/tony_stark_chatbot",
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
title: "Itinerary Generator",
|
| 85 |
+
description:
|
| 86 |
+
"GPT-2 fine-tuned for on-demand travel itinerary generation with PyTorch + Transformers.",
|
| 87 |
+
tags: ["LLM", "GPT-2", "Fine-tuning", "Model"],
|
| 88 |
+
url: "https://huggingface.co/diabolic6045/itineraries_Generator",
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
title: "Synthetic Data Generation",
|
| 92 |
+
description:
|
| 93 |
+
"End-to-end synthetic structured data pipeline with Python + Gradio for cleaning, dedup, embeddings, and generation.",
|
| 94 |
+
tags: ["Generative AI", "Data Synthesis", "PyTorch", "Fine-tuning", "Llama-2", "Paper"],
|
| 95 |
+
url: "/documents/divax-recco.pdf",
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
title: "Something",
|
| 99 |
+
description:
|
| 100 |
+
"Investor news aggregator with AI summaries to track impactful updates on portfolios.",
|
| 101 |
+
tags: ["Flask", "Firebase", "Gemini AI", "App"],
|
| 102 |
+
url: "https://something-atep.onrender.com",
|
| 103 |
+
},
|
| 104 |
+
];
|
| 105 |
+
|
| 106 |
+
export const skills = [
|
| 107 |
+
"PyTorch",
|
| 108 |
+
"TensorFlow / Keras",
|
| 109 |
+
"HuggingFace Transformers",
|
| 110 |
+
"scikit-learn",
|
| 111 |
+
"LangChain",
|
| 112 |
+
"NumPy & Pandas",
|
| 113 |
+
"NLP",
|
| 114 |
+
"Computer Vision",
|
| 115 |
+
"LLM Fine-tuning",
|
| 116 |
+
"Generative AI",
|
| 117 |
+
"Prompt Engineering",
|
| 118 |
+
"Reinforcement Learning",
|
| 119 |
+
"Axolotl",
|
| 120 |
+
"Unsloth",
|
| 121 |
+
"OpenAI API",
|
| 122 |
+
"Google Gemini API",
|
| 123 |
+
"Anthropic API",
|
| 124 |
+
"Mistral AI API",
|
| 125 |
+
];
|
| 126 |
+
|
tsconfig.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compilerOptions": {
|
| 3 |
+
"target": "ES2017",
|
| 4 |
+
"lib": ["dom", "dom.iterable", "esnext"],
|
| 5 |
+
"allowJs": true,
|
| 6 |
+
"skipLibCheck": true,
|
| 7 |
+
"strict": true,
|
| 8 |
+
"noEmit": true,
|
| 9 |
+
"esModuleInterop": true,
|
| 10 |
+
"module": "esnext",
|
| 11 |
+
"moduleResolution": "bundler",
|
| 12 |
+
"resolveJsonModule": true,
|
| 13 |
+
"isolatedModules": true,
|
| 14 |
+
"jsx": "preserve",
|
| 15 |
+
"incremental": true,
|
| 16 |
+
"plugins": [
|
| 17 |
+
{
|
| 18 |
+
"name": "next"
|
| 19 |
+
}
|
| 20 |
+
],
|
| 21 |
+
"paths": {
|
| 22 |
+
"@/*": ["./src/*"]
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
| 26 |
+
"exclude": ["node_modules"]
|
| 27 |
+
}
|