A nature-themed interactive website dedicated to the Ashoka Tree (Saraca asoca), featuring animated introductions, a member registry of those who planted it, and educational information about its significance in Ayurveda and culture.
- Responsive Design: Built with Tailwind CSS for mobile and desktop.
- Animations: Smooth scroll-based reveals and transitions using Framer Motion.
- Interactive Gallery: A carousel showcasing the tree's beauty.
- Glassmorphism UI: Modern aesthetic with blur effects and soft gradients.
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open your browser at
http://localhost:5173.
This project is configured to use Vite, which Vercel supports out of the box.
-
Push to GitHub: Ensure your project code is pushed to a repository on your GitHub account.
-
Log in to Vercel: Visit vercel.com and sign up or log in using your GitHub account.
-
Add New Project:
- Click the "Add New..." button on your dashboard.
- Select "Project".
- Import your
ashoka-tree-memorialrepository.
-
Configure Project: Vercel should automatically detect the framework settings:
- Framework Preset:
Vite - Root Directory:
./(default) - Build Command:
npm run build(orvite build) - Output Directory:
dist
- Framework Preset:
-
Deploy: Click "Deploy". Vercel will install dependencies, build the project, and assign a live URL.
- If you encounter build errors regarding missing modules, ensure you have run
npm installlocally to generate a validpackage-lock.jsonbefore pushing to GitHub. - This project uses
cdn.tailwindcss.comfor styling inindex.htmlto keep configuration simple. This works perfectly in production without additional build steps for CSS.