├── pnpm-lock.yaml ├── postcss.config.mjs ├── lib ├── utils.ts ├── seo.js └── analytics.js ├── components ├── ui │ ├── aspect-ratio.tsx │ ├── skeleton.tsx │ ├── collapsible.tsx │ ├── use-mobile.tsx │ ├── textarea.tsx │ ├── label.tsx │ ├── input.tsx │ ├── separator.tsx │ ├── progress.tsx │ ├── toaster.tsx │ ├── sonner.tsx │ ├── checkbox.tsx │ ├── slider.tsx │ ├── switch.tsx │ ├── badge.tsx │ ├── tooltip.tsx │ ├── hover-card.tsx │ ├── popover.tsx │ ├── avatar.tsx │ ├── radio-group.tsx │ ├── toggle.tsx │ ├── alert.tsx │ ├── scroll-area.tsx │ ├── resizable.tsx │ ├── toggle-group.tsx │ ├── tabs.tsx │ ├── button.tsx │ ├── card.tsx │ ├── accordion.tsx │ ├── input-otp.tsx │ ├── calendar.tsx │ ├── breadcrumb.tsx │ ├── pagination.tsx │ ├── table.tsx │ ├── drawer.tsx │ ├── dialog.tsx │ ├── use-toast.ts │ ├── sheet.tsx │ ├── form.tsx │ ├── alert-dialog.tsx │ ├── toast.tsx │ ├── command.tsx │ └── navigation-menu.tsx ├── Desktop.module.css ├── theme-provider.tsx ├── WindowsLogo.js ├── EducationFolder.js ├── DesktopIcon.js ├── DesktopIcon.module.css ├── Loader.js ├── CertificationsFolder.js ├── ResumePdfViewer.js ├── PersonalInfoFolder.js ├── ResumePdfViewer.module.css ├── ContactFolder.js ├── SkillsFolder.js ├── Window.module.css ├── LoginScreen.js ├── Desktop.js ├── AdditionalInfoFolder.js ├── StartMenu.module.css ├── StartMenu.js ├── Experience.module.css ├── FileExplorer.module.css ├── MailBrowser.js ├── LoginScreen.module.css ├── Taskbar.module.css ├── LinkedinBrowser.js ├── InstagramBrowser.js ├── SocialBrowser.module.css ├── GithubBrowser.js ├── ProjectsFolder.js └── Loader.css ├── .gitignore ├── components.json ├── hooks ├── use-mobile.tsx └── use-toast.ts ├── tsconfig.json ├── app ├── layout.js ├── page.module.css ├── head.js ├── metadata.js └── globals.css ├── data ├── motivationalText.js ├── desktopApps.js └── apps.js ├── next.config.mjs ├── package.json ├── tailwind.config.ts └── docs └── workflow.js /pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: '9.0' 2 | 3 | settings: 4 | autoInstallPeers: true 5 | excludeLinksFromLockfile: false -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('postcss-load-config').Config} */ 2 | const config = { 3 | plugins: { 4 | tailwindcss: {}, 5 | }, 6 | }; 7 | 8 | export default config; 9 | -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- 1 | import { clsx, type ClassValue } from "clsx" 2 | import { twMerge } from "tailwind-merge" 3 | 4 | export function cn(...inputs: ClassValue[]) { 5 | return twMerge(clsx(inputs)) 6 | } 7 | -------------------------------------------------------------------------------- /components/ui/aspect-ratio.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio" 4 | 5 | const AspectRatio = AspectRatioPrimitive.Root 6 | 7 | export { AspectRatio } 8 | -------------------------------------------------------------------------------- /components/Desktop.module.css: -------------------------------------------------------------------------------- 1 | .desktop { 2 | flex: 1; 3 | position: relative; 4 | overflow: hidden; 5 | } 6 | 7 | .iconGrid { 8 | display: flex; 9 | flex-direction: column; 10 | width:fit-content; 11 | gap: 15px; 12 | padding: 10px; 13 | align-items: flex-start; 14 | } 15 | -------------------------------------------------------------------------------- /components/ui/skeleton.tsx: -------------------------------------------------------------------------------- 1 | import { cn } from "@/lib/utils" 2 | 3 | function Skeleton({ 4 | className, 5 | ...props 6 | }: React.HTMLAttributes) { 7 | return ( 8 |
12 | ) 13 | } 14 | 15 | export { Skeleton } 16 | -------------------------------------------------------------------------------- /components/theme-provider.tsx: -------------------------------------------------------------------------------- 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 {children} 11 | } 12 | -------------------------------------------------------------------------------- /components/ui/collapsible.tsx: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import * as CollapsiblePrimitive from "@radix-ui/react-collapsible" 4 | 5 | const Collapsible = CollapsiblePrimitive.Root 6 | 7 | const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger 8 | 9 | const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent 10 | 11 | export { Collapsible, CollapsibleTrigger, CollapsibleContent } 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | 6 | # next.js 7 | /.next/ 8 | /out/ 9 | 10 | # production 11 | /build 12 | 13 | # debug 14 | npm-debug.log* 15 | yarn-debug.log* 16 | yarn-error.log* 17 | .pnpm-debug.log* 18 | 19 | # env files 20 | .env* 21 | 22 | # vercel 23 | .vercel 24 | 25 | # typescript 26 | *.tsbuildinfo 27 | next-env.d.ts -------------------------------------------------------------------------------- /components/WindowsLogo.js: -------------------------------------------------------------------------------- 1 | export default function WindowsLogo() { 2 | return ( 3 |
4 | 5 | 9 | 10 |
11 | ) 12 | } 13 | -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://ui.shadcn.com/schema.json", 3 | "style": "default", 4 | "rsc": true, 5 | "tsx": true, 6 | "tailwind": { 7 | "config": "tailwind.config.ts", 8 | "css": "app/globals.css", 9 | "baseColor": "neutral", 10 | "cssVariables": true, 11 | "prefix": "" 12 | }, 13 | "aliases": { 14 | "components": "@/components", 15 | "utils": "@/lib/utils", 16 | "ui": "@/components/ui", 17 | "lib": "@/lib", 18 | "hooks": "@/hooks" 19 | }, 20 | "iconLibrary": "lucide" 21 | } -------------------------------------------------------------------------------- /components/EducationFolder.js: -------------------------------------------------------------------------------- 1 | "use client" 2 | import styles from "./FolderContent.module.css" 3 | 4 | export default function EducationFolder() { 5 | return ( 6 |
7 |

Education

8 | 9 |
10 |
11 |

B.Sc (Hons.) Computer Science

12 | 2021-2024 13 |
14 |

University of Delhi

15 |
16 |
17 | ) 18 | } 19 | -------------------------------------------------------------------------------- /hooks/use-mobile.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | 3 | const MOBILE_BREAKPOINT = 768 4 | 5 | export function useIsMobile() { 6 | const [isMobile, setIsMobile] = React.useState(undefined) 7 | 8 | React.useEffect(() => { 9 | const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`) 10 | const onChange = () => { 11 | setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) 12 | } 13 | mql.addEventListener("change", onChange) 14 | setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) 15 | return () => mql.removeEventListener("change", onChange) 16 | }, []) 17 | 18 | return !!isMobile 19 | } 20 | -------------------------------------------------------------------------------- /components/ui/use-mobile.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | 3 | const MOBILE_BREAKPOINT = 768 4 | 5 | export function useIsMobile() { 6 | const [isMobile, setIsMobile] = React.useState(undefined) 7 | 8 | React.useEffect(() => { 9 | const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`) 10 | const onChange = () => { 11 | setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) 12 | } 13 | mql.addEventListener("change", onChange) 14 | setIsMobile(window.innerWidth < MOBILE_BREAKPOINT) 15 | return () => mql.removeEventListener("change", onChange) 16 | }, []) 17 | 18 | return !!isMobile 19 | } 20 | -------------------------------------------------------------------------------- /components/DesktopIcon.js: -------------------------------------------------------------------------------- 1 | "use client" 2 | 3 | import { motion } from "framer-motion" 4 | import styles from "./DesktopIcon.module.css" 5 | 6 | export default function DesktopIcon({ app, isSelected, onClick, onDoubleClick }) { 7 | return ( 8 | { 12 | e.stopPropagation() 13 | onDoubleClick() 14 | }} 15 | whileHover={{ scale: 1.05 }} 16 | whileTap={{ scale: 0.95 }} 17 | > 18 |
{app.icon}
19 |
{app.name}
20 |
21 | ) 22 | } 23 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "lib": ["dom", "dom.iterable", "esnext"], 4 | "allowJs": true, 5 | "target": "ES6", 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 | "@/*": ["./*"] 23 | } 24 | }, 25 | "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], 26 | "exclude": ["node_modules"] 27 | } 28 | -------------------------------------------------------------------------------- /app/layout.js: -------------------------------------------------------------------------------- 1 | import "./globals.css" 2 | import { Inter } from "next/font/google" 3 | import generateMetadata from "./metadata" 4 | 5 | const inter = Inter({ subsets: ["latin"] }) 6 | 7 | export const metadata = generateMetadata() 8 | 9 | export default function RootLayout({ children }) { 10 | return ( 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | {children} 19 | 20 | ) 21 | } 22 | -------------------------------------------------------------------------------- /data/motivationalText.js: -------------------------------------------------------------------------------- 1 | // @/data/motivationalText.js 2 | 3 | const motivationalTexts = [ 4 | "Loading potential...", 5 | "Crafting clean code...", 6 | "Assembling awesomeness...", 7 | "Preparing precision...", 8 | "Almost there...", 9 | "Building brilliance...", 10 | "Loading creativity...", 11 | "Pixel-perfect prep...", 12 | "Skills booting up...", 13 | "Getting things ready...", 14 | "Powering up portfolio...", 15 | "Unpacking experience...", 16 | "Warming up impact...", 17 | "Launching logic...", 18 | "Ready in a sec...", 19 | "Loading with intent...", 20 | "Just a blink away...", 21 | "Shaping your view...", 22 | "Deploying talent...", 23 | "Loading something solid..." 24 | ]; 25 | 26 | 27 | 28 | export default motivationalTexts; 29 | -------------------------------------------------------------------------------- /components/ui/textarea.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react" 2 | 3 | import { cn } from "@/lib/utils" 4 | 5 | const Textarea = React.forwardRef< 6 | HTMLTextAreaElement, 7 | React.ComponentProps<"textarea"> 8 | >(({ className, ...props }, ref) => { 9 | return ( 10 |