Skip to content

FixITSukil/baskaran-training-consultancy

Repository files navigation

BK Training & Consultancy Website

A professional, modern website for BK Training & Consultancy - a training and business consultancy service provider in Malaysia.

πŸ“‹ Project Overview

This is a fully responsive, production-ready website built with Next.js 16, React 19, and Tailwind CSS. The site features:

  • 5 Main Pages: Home, About, Services, Testimonials, and Contact
  • Responsive Design: Mobile-first design that works on all devices
  • Professional Branding: Blue, white, and gold color scheme reflecting consultancy expertise
  • Smooth Navigation: Sticky navbar with smooth scroll behavior
  • Contact Form: Ready for backend email integration
  • SEO Optimized: Metadata and semantic HTML structure

Pages Included

  1. Home - Hero section with CTA, service preview, and quick stats
  2. About - Founder profile, mission, values, and why choose us section
  3. Services - Detailed service offerings (6 services) with highlights
  4. Testimonials - Client testimonials, success stories, and statistics
  5. Contact - Contact form, business information, FAQ section, and map placeholder

🎨 Design Specifications

Color Palette:

  • Primary Blue: #1e3a5f (Trustworthy, professional)
  • Light Blue: #2d5a8c
  • Accent Gold: #d4af37 (Premium, attention)
  • Text Dark: #1a1a1a
  • White: #ffffff

Typography:

  • Sans-serif system font (Geist)
  • Bold headings for hierarchy
  • Clear, readable body text

πŸš€ Getting Started

Prerequisites

  • Node.js 18+ (recommended: Node.js 20 LTS)
  • npm or yarn package manager

Local Development

  1. Clone the repository:

    git clone https://github.com/YOUR_USERNAME/baskaran-training-consultancy.git
    cd baskaran-training-consultancy
  2. Install dependencies:

    npm install
  3. Run development server:

    npm run dev
  4. Open browser: Navigate to http://localhost:3000

Build for Production

npm run build
npm start

πŸ“€ Deployment to Vercel

Option 1: GitHub Integration (Recommended)

  1. Push to GitHub:

    git init
    git add .
    git commit -m "Initial commit: BK Training & Consultancy website"
    git remote add origin https://github.com/YOUR_USERNAME/baskaran-training-consultancy.git
    git branch -M main
    git push -u origin main
  2. Connect to Vercel:

    • Visit vercel.com
    • Sign up/login with GitHub
    • Click "New Project"
    • Select the baskaran-training-consultancy repository
    • Click "Deploy"
  3. Automatic Deployments:

    • Each push to main branch will automatically deploy
    • Preview URLs for each pull request

Option 2: Direct Deployment

# Install Vercel CLI
npm i -g vercel

# Deploy
vercel

Environment Variables (if needed)

Create a .env.local file for local development (not committed to git):

# TODO: Add environment variables if needed
# NEXT_PUBLIC_API_URL=https://api.example.com

For Vercel, add environment variables in Project Settings β†’ Environment Variables.

πŸ”§ Customization Guide

Placeholder Content to Update

Look for // TODO: comments in the code for content that needs to be updated:

  • Business Details: Phone number, email, address (update in layout.tsx and contact page)
  • Founder Information: Name, bio, qualifications (app/about/page.tsx)
  • Services: Customize the 6 services and add real details (app/services/page.tsx)
  • Testimonials: Replace placeholder testimonials with real client feedback (app/testimonials/page.tsx)
  • Contact Form: Set up email backend integration (app/contact/page.tsx)
  • Images: Add founder photo, company logo, etc.
  • Google Maps: Embed real location (app/contact/page.tsx)

Color Scheme Changes

To change the color scheme, update the CSS variables in app/globals.css:

:root {
  --primary-blue: #1e3a5f;      /* Change primary color */
  --accent-gold: #d4af37;        /* Change accent color */
  --text-dark: #1a1a1a;          /* Change text color */
}

Or update inline styles in components (look for style={{ backgroundColor: '#1e3a5f' }}).

πŸ“§ Business Email Setup (For Malaysia-Based Sole Proprietor)

Email Solution Comparison

Feature Zoho Mail (Free) Google Workspace Namecheap Private Email
Cost (Monthly) Free $6-18/user $0.40/month (up to 100 accounts)
Storage 5GB 30GB 100MB-2GB (depending on plan)
Users Included 1 1 Unlimited
Custom Domain Yes Yes Yes
Mobile Apps Yes Yes Basic
Business Tools CRM, projects, etc. Full Google Suite Email only
Support Good Excellent Limited
Setup Difficulty Easy Easy Very Easy

πŸ† Recommended: Namecheap Private Email βœ…

Why it's best for solo proprietors:

  • βœ… Lowest cost: RM 1.60/year (β‚ͺ0.40/month) for basic business email
  • βœ… No yearly commitment: Pay as you go
  • βœ… Easy setup: Integrated with domain registrar
  • βœ… Unlimited forwarding: Set up multiple email addresses forwarding to one inbox
  • βœ… Perfect for: Single founder or small team with tight budget
  • βœ… Scalable: Can add more accounts as business grows

Setup Steps:

  1. Buy domain on Namecheap
  2. Add "Private Email" service (RM 1.60/year)
  3. Create business email (e.g., hello@yourdomain.com)
  4. Configure forwarding to personal Gmail for easy management

Alternative if you want more features:

  • Google Workspace: Better if you need shared calendar, docs, and full collaboration suite (RM 25-50/month)
  • Zoho Mail: Good middle ground if you want built-in CRM and business tools (Free tier available)

πŸ“ž Contact Form Integration

The contact form is currently set up to log submissions to the browser console. To enable email notifications:

Option A: Using Vercel Edge Functions (Recommended)

// Create app/api/contact/route.ts
// TODO: Implement email sending via SendGrid, Nodemailer, or Resend

Option B: Using Third-Party Services

  • SendGrid: Free tier available
  • Resend: Email for developers
  • Mailgun: Developer-friendly
  • AWS SES: Low cost at scale

Option C: Using Zoho Mail Zapier Integration

  • Connect Zoho Mail to Zapier
  • Set up automation to create spreadsheet or send notification

🌐 Domain & DNS Setup (Cloudflare)

Step 1: Purchase Domain

  • Recommended registrars: Namecheap, GoDaddy, or Domain.com

Step 2: Add to Cloudflare

  1. Sign up at cloudflare.com
  2. Click "Add site"
  3. Enter your domain
  4. Select free plan
  5. Cloudflare will show you new nameservers
  6. Update nameservers in your domain registrar
  7. Wait for propagation (2-24 hours)

Step 3: Configure DNS for Vercel

  1. In Cloudflare dashboard, go to DNS
  2. Add these records:
    • A Record: @ β†’ Points to Vercel IP (shown in Vercel settings)
    • Or use CNAME: www β†’ cname.vercel-dns.com
  3. In Vercel project settings:
    • Add domain
    • Complete verification

Step 4: Enable SSL/TLS

  • Cloudflare provides free SSL
  • Set to "Full" or "Full (Strict)" mode
  • Your site will be https://yourdomain.com

Step 5: Optional Enhancements

  • Enable auto-minify (CSS, JS, HTML)
  • Enable Brotli compression
  • Set up page rules for caching

πŸ”’ Security Considerations

  • βœ… HTTPS enabled (via Cloudflare)
  • βœ… No sensitive data in frontend
  • βœ… Form validation on client-side
  • ⚠️ TODO: Implement server-side validation for contact form
  • ⚠️ TODO: Add CAPTCHA to contact form (hCaptcha or reCAPTCHA)

πŸ“Š Analytics & Monitoring

Vercel Analytics

  • Analytics included in free tier
  • Visit Vercel dashboard to view traffic
  • Track page views and performance

Google Analytics (Optional)

# Install google-analytics-4
npm install @react-ga/react-ga4

# TODO: Add GA4 tracking code to layout.tsx

πŸ“ SEO Optimization

  • βœ… Page metadata configured
  • βœ… Semantic HTML structure
  • βœ… Mobile-responsive design
  • βœ… Fast load times
  • TODO: Add Open Graph meta tags for social sharing
  • TODO: Add structured data (schema.org)
  • TODO: Create sitemap.xml
  • TODO: Create robots.txt

πŸ› Troubleshooting

Port 3000 already in use

# Kill process on port 3000
npx kill-port 3000
# Or use different port
npm run dev -- -p 3001

Build errors

# Clear cache and rebuild
rm -rf .next
npm run build

Deployment fails

  • Check logs in Vercel dashboard
  • Ensure all environment variables are set
  • Verify build command: next build

πŸ“š Tech Stack

  • Framework: Next.js 16.2.7 (App Router)
  • UI Library: React 19.2.4
  • Styling: Tailwind CSS 4.3.0
  • Language: TypeScript 5.9.3
  • Deployment: Vercel
  • DNS/CDN: Cloudflare
  • Package Manager: npm

🚧 Future Enhancements

  • Blog section with articles
  • Online course integration
  • Booking system for consultations
  • Newsletter signup
  • Client portal for training materials
  • Video testimonials
  • Live chat support
  • Performance monitoring dashboard

πŸ“„ License

Private project for BK Training & Consultancy. All rights reserved.

πŸ“ž Support

For technical issues or questions about the website:


Last Updated: June 2024

Status: βœ… Ready for Client Review

Next Steps After Client Approval:

  1. Collect real business details and photos
  2. Update all placeholder content
  3. Set up email service (Namecheap Private Email)
  4. Configure contact form backend
  5. Register domain and configure Cloudflare
  6. Deploy to production
  7. Set up analytics and monitoring
  8. Launch marketing campaign

About

Professional website for BK Training & Consultancy - a training and business consultancy service provider in Malaysia

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors