Overview
This guide will walk you through common customization tasks for ESBO Web, from changing brand colors to adding new sections and features.Changing Brand Colors
Update Additional Colors in App.jsx
Some colors are defined as arbitrary values in the component. Search for:
bg-[#0b132b]- Dark navy backgroundbg-[#d4af37]- Accent goldbg-[#a3823a]- Hover state goldtext-[#d4af37]- Text accent
tailwind.config.js.Updating Text Content
- Header Text
- Hero Text
- Feature Text
- Contact Info
Changing Images
Replace Logo
Add your logo file to Supported formats: JPG, PNG, SVG, WebP
src/assets/ and update the import:src/App.jsx
Update Hero Background Images
Replace the Unsplash URLs with your own images:You can use:
src/App.jsx
- External URLs (Unsplash, CDN, etc.)
- Local images in
src/assets/(imported like the logo) - Image optimization services
For best performance, optimize images before adding them. Recommended sizes:
- Logo: 200x200px or smaller
- Hero images: 1920x1080px
- Favicon: 32x32px or 64x64px
Updating Social Media Links
Locate Social Links Section
Find the social media section in
src/App.jsx (around line 97-121):src/App.jsx
Modifying Sections
Rearrange Sections
Sections inApp.jsx are ordered as:
- Header (line 11-22)
- Hero (line 25-39)
- Icon Features (line 42-65)
- Contact (line 68-124)
- Footer (line 127-135)
- Floating Chat Button (line 138-140)
<section> or <header> block to a new position.
Add a New Section
Remove a Section
Simply delete the entire<section> block you want to remove. Make sure to:
- Remove any unused icon imports at the top
- Check that z-index layering still works
- Test responsive layout
Customizing Icons
Browse Available Icons
Visit lucide.dev to browse thousands of icons.
Use Icon in Component
src/App.jsx
size: Icon size in pixelsstrokeWidth: Line thickness (1-3)color: Override color (not recommended, use Tailwind classes)
Button Customization
- Add Links
Making the Chat Button Functional
The floating chat button is currently decorative. To make it functional:Responsive Design Tips
Mobile-First Approach
Mobile-First Approach
Start with mobile styles, then add larger breakpoints:
Hide Elements on Mobile
Hide Elements on Mobile
Use responsive display utilities:
Responsive Text Sizes
Responsive Text Sizes
Responsive Spacing
Responsive Spacing
Testing Your Changes
Development Server
Run the dev server to see changes in real-time:Open
http://localhost:5173 in your browser.Test Responsive Design
- Open browser DevTools (F12)
- Click device toolbar icon
- Test on various screen sizes
- Check mobile, tablet, and desktop views
Common Customization Recipes
Change Page Title
Edit
index.html:Add Google Fonts
Add to Then use in
index.html <head>:tailwind.config.jsAdd Analytics
Add tracking code to
index.html before </head>Enable Dark Mode
Add
darkMode: 'class' to tailwind.config.js and use dark: prefixGetting Help
- Tailwind CSS Docs: tailwindcss.com/docs
- React Docs: react.dev
- Lucide Icons: lucide.dev
- Vite Docs: vitejs.dev
Next Steps
Project Structure
Understand the codebase organization
Components
Deep dive into React components