- pradhidhi.cloud – the main portfolio site where I would host my projects, résumé, and contact information.
- nityaved.com – a blog where I could chronicle my learning journey, share tutorials, and reflect on my mistakes.
- Initial Prompt – I asked Antigravity: “Create a Vite React project for a beginner portfolio.”
- Scaffold Generation – Antigravity executed the
npx create-vitecommand, then opened the generated files for me to inspect. - Design System – I requested a modern theme. Antigravity produced
src/theme.jswith a dark‑mode palette, typography (Google Font Inter), and a spacing helper. - Component Boilerplate – For each UI piece (Hero, Navbar, ProjectCard) I gave a short description, and Antigravity returned ready‑to‑use React components with styled‑components styling.
- Asset Creation – Using Antigravity’s
generate_imagetool, I created a header illustration and placeholder screenshots for projects, saving them directly intosrc/assets/. - Iterative Fixes – When a component threw an error (e.g., undefined props), I asked Antigravity to add optional chaining and defensive checks. It edited the code in place.
- Inspiration: I bookmarked a few Dribbble portfolio templates that used glass‑morphism cards, bold gradients, and minimal navigation.
- Customization Steps:
- Copy the visual language – I asked Antigravity to generate a “glass‑morphism card” component.
- Adjust colors – The original Dribbble palettes were bright teal; I tweaked them in
theme.jsto a more muted hsl(210, 70%, 55%) primary and dark background. - Typography – Swapped the default system font for Inter, which matches the modern aesthetic.
- Spacing – Added a
spacinghelper (theme.spacing(2)) to keep margins consistent across components.
- The hero text overflowed.
- The project grid collapsed into a single column with huge gaps.
- The header image stretched and lost aspect ratio.
- Header Image – Generated via Antigravity (
generate_image) with the prompt “abstract gradient wave for a tech portfolio header”. Saved assrc/assets/header.jpg. - Implementation – Added a
Headercomponent that renders the image as a background with a dark overlay:
- Color Scheme – The theme uses a dark‑mode base (
background: hsl(210,20%,10%)) with a primary accent (hsl(210,70%,55%)). Buttons, links, and hover states all derive fromtheme.colors.primary, ensuring a consistent look. - Mobile‑friendly header – The
heightis set withclamp(180px, 30vh, 260px)so it shrinks on small screens while preserving the visual impact.
- Choose Vite – Simple, fast, modern; perfect for a beginner’s portfolio.
- Scaffold – One command creates the entire folder tree and starter files.
- Add Dependencies – React Router, styled‑components, SEO tools, markdown renderer.
- Invite Antigravity – AI assists in generating theme, components, assets, and fixes.
- Design Inspiration – Borrow visual cues from Dribbble, then customize colors, fonts, and spacing.
- Mobile Polish – Use CSS
clamp,auto‑fitgrids, responsive images, and proper viewport meta. - Header & Colors – Generate a custom header image, overlay it, and apply a cohesive dark‑mode palette.
- Start small – Scaffold a minimal project first; you can always add complexity later.
- Leverage tools – Modern dev tools (Vite, Antigravity, styled‑components) dramatically reduce friction.
- Iterate fast – Deploy early, get feedback, and fix issues iteratively.
- Document everything – Write down mistakes; they become the most valuable learning resources.
- Stay curious – Every bug is a chance to learn something new.
