A modern, responsive React application template with a beautiful dark theme and blue accents. This template includes a chat interface, navigation system, and multiple pre-built pages.
- Go to the original repository on GitHub
- Click the "Fork" button in the top-right corner
- Wait for GitHub to create your copy of the repository
- You now have your own version of the project in your GitHub account
- Go to Netlify
- Sign up or log in (you can use your GitHub account)
- Click "Add new site" → "Import an existing project"
- Choose "Deploy with GitHub"
- Select your forked repository
- Configure the build settings:
- Build command:
npm run build
- Publish directory:
dist
- Build command:
- Click "Deploy site"
- While deploying, you can set up a custom domain name:
- Go to "Site settings" → "Domain management"
- Click "Add custom domain"
- Follow the instructions to set up your domain
- Install Git if you haven't already
- Open GitHub Desktop or Terminal
- If using GitHub Desktop:
- Click "File" → "Clone repository"
- Select your forked repository
- Choose a local path
- Click "Clone"
- If using Terminal:
git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.git cd REPOSITORY_NAME
- Install Visual Studio Code
- Open your cloned project:
- File → Open Folder → Select your project folder
- Install recommended extensions:
- ESLint
- Prettier
- Tailwind CSS IntelliSense
-
Changing the Title
- Open
src/components/TopMenu.tsx
- Find:
<h1 className="text-xl sm:text-2xl font-bold..."> AI Workshop Assistant </h1>
- Change "AI Workshop Assistant" to your title
- Open
-
Modifying Colors
- Open
src/App.tsx
- Find the background gradient:
className="flex flex-col h-screen bg-gradient-to-b from-gray-950 via-blue-950 to-gray-950"
- Change colors using Tailwind color values
- Common colors: blue-950, indigo-950, purple-950, etc.
- Open
-
Changing Menu Options
- Open
src/App.tsx
- Find the navigation section:
<nav className="space-y-4"> <a href="/dashboard">Dashboard</a> <a href="/projects">Projects</a> // etc... </nav>
- Change the text between
>
and</a>
- Open
-
Modifying Bottom Buttons
- Open
src/components/BottomMenu.tsx
- Find:
<span className="text-sm sm:text-base">Button 1</span>
- Change "Button 1" to your desired text
- Open
-
Customizing Pages
- Navigate to
src/pages/
- Open any page file (e.g.,
Dashboard.tsx
) - Find and modify the title and content sections
- Navigate to
- Go to bolt.new
- Create a new project
- Import your GitHub repository
- Make changes directly in the browser
- Commit and push changes from the web interface
- Save all your changes
- Open the Source Control panel (Ctrl+Shift+G or Cmd+Shift+G)
- Enter a commit message describing your changes
- Click the checkmark to commit
- Click the "..." menu and select "Push"
- Save all your changes
- Open GitHub Desktop
- Review your changes
- Add a commit message
- Click "Commit to main"
- Click "Push origin"
- Go to Netlify
- Select your site
- Click "Deploys" to see deployment status
- Your site will automatically update after each push
- View deployment progress at:
https://app.netlify.com/sites/YOUR-SITE-NAME/overview
Create a .env
file in your project root:
VITE_OPENAI_API_KEY=your_openai_api_key_here
VITE_OPENAI_ASSISTANT_ID=your_assistant_id_here
To get these values:
- Go to OpenAI
- Create an account or log in
- Go to API section to get your API key
- Create an Assistant to get the Assistant ID
Common issues and solutions:
-
Build fails on Netlify
- Check if all environment variables are set in Netlify's dashboard
- Verify the build command and publish directory
-
Changes not showing up
- Make sure you committed and pushed your changes
- Check Netlify's deploy log for errors
- Clear your browser cache
-
Local development issues
- Run
npm install
to update dependencies - Verify your
.env
file exists and has correct values - Check console for error messages
- Run
MIT License - feel free to use this template for any purpose!