A modern, responsive landing page showcasing AI-powered development tools and video tutorials. Built with vanilla HTML, CSS, and JavaScript for optimal performance and easy deployment to GitHub Pages.
- Modern Design: Sleek, dark theme with gradient accents and smooth animations
- Responsive Layout: Mobile-first design that works on all devices
- Video Gallery: Configurable YouTube video showcase with modal playback
- Smooth Scrolling: Enhanced navigation with smooth scroll effects
- Performance Optimized: Fast loading with lazy loading and optimized assets
- SEO Ready: Proper meta tags and structured markup
- HTML5: Semantic markup with accessibility features
- CSS3: Modern styling with CSS Grid, Flexbox, and animations
- Vanilla JavaScript: No frameworks, pure performance
- YouTube API: Embedded video integration
ai-assisted-engineering/
βββ index.html # Main landing page
βββ styles.css # All styling and responsive design
βββ script.js # Interactive functionality
βββ config.js # Video configuration (easily editable)
βββ README.md # This file
βββ .github/
β βββ workflows/
β βββ deploy.yml # GitHub Actions deployment
βββ CNAME # Custom domain configuration (optional)
To update the video gallery, edit the config.js file:
const videoConfig = [
{
id: "YOUR_YOUTUBE_VIDEO_ID", // YouTube video ID from URL
title: "Your Video Title", // Display title
description: "Video description...", // Brief description
thumbnail: "https://img.youtube.com/vi/YOUR_VIDEO_ID/maxresdefault.jpg"
},
// Add more videos...
];From a YouTube URL like https://www.youtube.com/watch?v=dQw4w9WgXcQ, the video ID is dQw4w9WgXcQ.
Install Bun (fast JavaScript runtime):
# macOS, Linux, WSL
curl -fsSL https://bun.sh/install | bash
# Or with Homebrew on macOS
brew install bun- Clone or download the project files
- Open
index.htmlin your browser, or - Serve locally using a simple HTTP server:
# Using Bun (recommended)
bun x http-server
# Or using Python 3 (fallback)
python -m http.server 8000
# Or using PHP
php -S localhost:8000- Visit
http://localhost:8000in your browser
- Create a new repository on GitHub
- Push your code to the repository:
git init
git add .
git commit -m "Initial commit: AI-assisted engineering landing page"
git branch -M main
git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git
git push -u origin main-
Enable GitHub Pages:
- Go to repository Settings β Pages
- Source: "GitHub Actions"
- The deployment workflow will run automatically
-
Access your site at:
https://YOUR_USERNAME.github.io/YOUR_REPO/
- Push code to your repository
- Go to Settings β Pages
- Select source: "Deploy from a branch"
- Choose branch:
mainand folder/ (root) - Save and wait for deployment
Edit the CSS custom properties in styles.css:
:root {
--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--background-dark: #0a0a0a;
--text-primary: #ffffff;
--text-secondary: #b3b3b3;
}- Hero section: Edit text in
index.htmlhero section - About section: Update features and descriptions
- Footer: Add your contact information or social links
Simply add more objects to the videoConfig array in config.js. The layout will automatically adjust.
- Add a
CNAMEfile with your domain name - Configure DNS settings with your domain provider
- Update GitHub Pages settings to use custom domain
Add Google Analytics or other tracking by including the script in index.html:
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=GA_MEASUREMENT_ID"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'GA_MEASUREMENT_ID');
</script>If you're migrating from Node.js or having trouble installing Bun:
Installation:
# macOS, Linux, WSL
curl -fsSL https://bun.sh/install | bash
# Homebrew on macOS
brew install bun
# Verify installation
bun --versionCommon Issues:
- If
buncommand not found after installation, restart your terminal or add to PATH - Bun requires macOS 10.15+, Linux kernel 5.1+, or Windows via WSL
- For Windows users: Install WSL first, then install Bun in WSL
For Existing Contributors:
- This project has migrated from Node.js to Bun for improved performance
- All
nodecommands have been replaced withbun - Update your local setup by installing Bun (see above)
- All existing JavaScript files work without modification
- Check that YouTube video IDs are correct
- Ensure videos are public and embeddable
- Verify thumbnail URLs are accessible
- Check that all files are committed and pushed
- Verify GitHub Pages is enabled in repository settings
- Check GitHub Actions tab for deployment status
- Optimize images before adding them
- Consider using a CDN for better global performance
- Enable browser caching with proper headers
- β Chrome (latest)
- β Firefox (latest)
- β Safari (latest)
- β Edge (latest)
- β Mobile browsers (iOS Safari, Chrome Mobile)
Feel free to submit issues and enhancement requests!
This project is open source and available under the MIT License.
Built with β€οΈ for the AI development community