Skip to content

Hidden-History/wbsolutions

Repository files navigation

WB Solutions

Professional Web Development & AI Automation

Website HTML5 Tailwind CSS PHP JavaScript


A modern, lightning-fast static website built with HTML5, Tailwind CSS, and vanilla JavaScript. Designed for small businesses seeking professional web presence with AI-powered features.


View Live Site Β· Report Bug Β· Request Feature


✨ Features

🎨 Design

  • Glassmorphism UI - Frosted glass effects
  • Gold & Charcoal - Premium color palette
  • Smooth Animations - CSS transitions & transforms
  • Custom Typography - Professional font stack

πŸ“± Responsive

  • Mobile-First - 320px to 4K+ support
  • Fluid Layouts - Flexbox & CSS Grid
  • Touch Friendly - Optimized for all devices
  • Adaptive Images - Performance optimized

πŸ€– AI Integration

  • Chatbot Widget - n8n powered assistant
  • Smart Forms - Webhook integration
  • ROI Calculator - Interactive estimates
  • Auto Responses - Instant engagement

⚑ Performance

  • < 1.5s Load - Optimized assets
  • GZIP Enabled - Compressed delivery
  • Minified CSS - Production ready
  • No Frameworks - Pure vanilla JS

πŸ› οΈ Tech Stack

Category Technology
HTML5 Semantic markup, accessibility features
CSS3 Tailwind CSS v4, custom properties
JavaScript ES6+, no dependencies
PHP Template includes, dynamic content
n8n Chatbot & form webhooks

πŸ“ Project Structure

wb-solutions-html/
β”‚
β”œβ”€β”€ πŸ“„ index.php                    # Homepage
β”œβ”€β”€ πŸ“„ about.php                    # Company info
β”œβ”€β”€ πŸ“„ services.php                 # Services overview
β”œβ”€β”€ πŸ“„ portfolio.php                # Case studies
β”œβ”€β”€ πŸ“„ contact.php                  # Contact form
β”‚
β”œβ”€β”€ πŸ“‚ services/
β”‚   β”œβ”€β”€ static-websites.php         # Web development
β”‚   β”œβ”€β”€ ai-chat-agents.php          # AI chatbots
β”‚   β”œβ”€β”€ business-automation.php     # Workflow automation
β”‚   └── custom-branding.php         # Brand design
β”‚
β”œβ”€β”€ πŸ“‚ includes/
β”‚   β”œβ”€β”€ header.php                  # Navigation bar
β”‚   β”œβ”€β”€ footer.php                  # Site footer
β”‚   └── chatbot.php                 # Chat widget
β”‚
β”œβ”€β”€ πŸ“‚ css/
β”‚   └── styles.css                  # Compiled Tailwind
β”‚
β”œβ”€β”€ πŸ“‚ js/
β”‚   β”œβ”€β”€ main.js                     # Core functionality
β”‚   β”œβ”€β”€ forms.js                    # Form validation
β”‚   β”œβ”€β”€ chatbot.js                  # Chat logic
β”‚   └── calculator.js               # ROI calculator
β”‚
β”œβ”€β”€ πŸ“‚ assets/
β”‚   β”œβ”€β”€ logo.png                    # Brand logo
β”‚   β”œβ”€β”€ favicon-16x16.png           # Favicon
β”‚   β”œβ”€β”€ favicon-32x32.png           # Favicon @2x
β”‚   └── apple-touch-icon.png        # iOS icon
β”‚
β”œβ”€β”€ πŸ“‚ src/
β”‚   └── input.css                   # Tailwind source
β”‚
β”œβ”€β”€ βš™οΈ package.json                 # npm scripts
β”œβ”€β”€ βš™οΈ tailwind.config.js           # Tailwind config
β”œβ”€β”€ βš™οΈ .htaccess                    # Apache rules
β”œβ”€β”€ πŸ€– robots.txt                   # SEO directives
└── πŸ—ΊοΈ sitemap.xml                  # XML sitemap

πŸš€ Quick Start

Prerequisites

node -v  # v18 or higher
npm -v   # v9 or higher

Installation

# Clone the repository
git clone https://github.com/yourusername/wb-solutions-html.git

# Navigate to project
cd wb-solutions-html

# Install dependencies
npm install

# Build CSS
npm run build:css

Development

# Watch for CSS changes
npm run watch:css

# Start PHP server (in another terminal)
php -S localhost:8000

# Open in browser
open http://localhost:8000

🎨 Color Palette

Gold
Gold
#D4AF37
Gold Light
Gold Light
#E5C158
Gold Dark
Gold Dark
#B8962E
Charcoal
Charcoal
#1A1A1A
Charcoal Dark
Charcoal Dark
#121212

πŸ“¦ Deployment

DirectAdmin / cPanel

  1. Upload Files

    Upload entire directory to public_html/
    
  2. Delete Default Index

    Remove index.html if present (PHP priority issue)
    
  3. Verify Hidden Files

    Ensure .htaccess is uploaded
    
  4. Set Permissions

    Files: 644 | Directories: 755
    

Checklist

  • All .php files uploaded
  • includes/ directory complete
  • css/styles.css present
  • js/ directory complete
  • assets/ with images
  • .htaccess configured
  • robots.txt & sitemap.xml

βš™οΈ Configuration

Webhook Setup

Contact Form

Edit js/forms.js:

const WEBHOOK_URL = 'https://your-n8n-instance.com/webhook/contact';
Chatbot

Edit js/chatbot.js:

const CHATBOT_URL = 'https://your-n8n-instance.com/webhook/chat';

πŸ“Š Performance

Metric Score
🟒 Performance 95+
🟒 Accessibility 100
🟒 Best Practices 100
🟒 SEO 100

Tested with Google Lighthouse


🌐 Browser Support

Browser Support
Chrome βœ… 90+
Firefox βœ… 88+
Safari βœ… 14+
Edge βœ… 90+

πŸ“„ Pages

Page Route Description
🏠 Home / Hero, services, testimonials, FAQ
πŸ‘₯ About /about.php Company story, team, values
πŸ’Ό Services /services.php Service tiers, comparison
πŸ“ Portfolio /portfolio.php Case studies, projects
πŸ“§ Contact /contact.php Contact form, info
πŸ”’ Privacy /privacy-policy.php Privacy policy
πŸ“œ Terms /terms-of-service.php Terms of service
β™Ώ Accessibility /accessibility.php A11y statement

πŸ’Ό Services


Websites

Static Websites
Fast, responsive sites


Chatbots

AI Chat Agents
24/7 customer support


Automation

Automation
Workflow optimization


Branding

Custom Branding
Visual identity design


πŸ“ž Contact

Website Email


Built with ❀️ by WB Solutions

Made with Love

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published