This directory contains a modernized, responsive version of the Apache Traffic Server website built with Tailwind CSS.
This is a complete redesign of the trafficserver.apache.org website featuring:
- Modern, responsive design using Tailwind CSS
- Mobile-first approach with hamburger menu for small screens
- Clean, contemporary tech aesthetic with gradients and smooth animations
- Improved typography and spacing for better readability
- Sticky navigation header
- Modern footer with organized links
- Tech/Modern aesthetic similar to GitHub/Stripe
- Gradients and subtle animations
- Contemporary color palette
- Primary Navy:
#1e3a8a- Used for headers and navigation - Accent Blue:
#3b82f6- Used for CTAs and highlights - Secondary Text:
#64748b- Used for body text - Background: White with gray sections (
#f8fafc)
- Modern system font stack: Inter, SF Pro, Segoe UI, Roboto
- Improved hierarchy and spacing for readability
newsite/
├── source/
│ ├── template.html # Modern HTML5 template with Tailwind
│ ├── generate.py # Python script to build HTML from markdown
│ └── markdown/ # Markdown source files
├── content/ # Generated HTML output
│ ├── index.html # Homepage (manually created)
│ ├── downloads.html # Generated from markdown
│ ├── users.html # Generated from markdown
│ ├── press.html # Generated from markdown
│ ├── assistance.html # Generated from markdown
│ ├── acknowledgements.html # Generated from markdown
│ ├── styles/
│ │ └── custom.css # Custom CSS for brand-specific styles
│ ├── js/
│ │ └── menu.js # Mobile menu toggle functionality
│ └── images/ # Copied from existing site
To regenerate pages from markdown:
cd source
python3 generate.pyThe site has been designed to work on:
- Mobile devices (320px - 768px)
- Tablets (768px - 1024px)
- Desktop (1024px+)
To test locally:
- Navigate to the
content/directory - Open
index.htmlin a browser - Use browser dev tools to test responsive layouts
- Eye-catching gradient hero section
- Prominent download CTA button with hover effects
- Responsive feature cards with icons
- Timeline-style news section
- Modern footer with organized links
- Generated from markdown using the template
- Consistent navigation and footer
- Responsive content layout
- Desktop: Horizontal navigation with all links visible
- Mobile: Hamburger menu that slides down smoothly
- Sticky header that stays visible on scroll
- Gradient buttons with hover effects
- Card hover animations
- Smooth transitions
- Accessibility features (focus states, ARIA labels)
When ready to deploy:
- Test thoroughly in multiple browsers and devices
- Verify all links work correctly
- Replace the current
content/directory withnewsite/content/ - Update any deployment scripts to use the new structure
- The homepage (
index.html) is a static HTML file and not generated from markdown - All other pages are generated from markdown files in
source/markdown/ - Tailwind CSS is loaded via CDN for simplicity
- Custom styles are in
content/styles/custom.css - Mobile menu JavaScript is in
content/js/menu.js