A beautiful, interactive landing page for the Red Hat Open Training Program, featuring the Rapid Course Builder (RCB) tool and showcasing published training courses. Optimized for QR code access and GitHub Pages hosting.
✨ Interactive Elements:
- Animated gradient header with sparkle particles
- Smooth scroll-triggered animations
- Interactive hover effects on cards and buttons
- Floating icon animations
- Pulse glow effects on CTAs
- Shimmer effects on buttons
- Animated course counter
🎨 Design:
- Red Hat branded color scheme (#EE0000)
- Responsive mobile-first design
- Tailwind CSS styling
- Smooth transitions and animations
📱 QR Code Optimized:
- Fast loading (single HTML file)
- Mobile-friendly layout
- Clear call-to-actions
- Easy navigation
-
Push to GitHub:
git init git add . git commit -m "Initial commit: Open Training landing page" git branch -M main git remote add origin https://github.com/RedHatQuickCourses/RH1.git git push -u origin main
-
Enable GitHub Pages:
- Go to your repository Settings
- Navigate to Pages (under Code and automation)
- Under Source, select
mainbranch - Select
/ (root)as the folder - Click Save
-
Your site will be live at:
https://redhatquickcourses.github.io/RH1/
If you prefer to keep your source files separate:
-
Create a
gh-pagesbranch:git checkout -b gh-pages git push origin gh-pages
-
Enable GitHub Pages to use the
gh-pagesbranch in Settings → Pages
For automatic deployments, create .github/workflows/deploy.yml:
name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: '.'
- uses: actions/deploy-pages@v1The landing page includes:
- Header: Animated red gradient with title "Are you 'the person in the red hat?'" and inspirational quote
- Open Training Program Card: Description of the self-service content development model
- Tab Navigation: "For Associates" and "For Partners" tabs
- For Associates Tab:
- Rapid Course Builder (RCB) section with early access badge
- Process steps for creating courses
- Benefits section
- Coming soon features
- For Partners Tab: Collaboration information and CTA
- Published Courses: 7 courses with Associate and Partner links
- Resources Section: Quick links and support information
Edit the targetCount in the useEffect hook:
const targetCount = 7; // Current course countUpdate the publishedCourses array:
const publishedCourses = [
{
title: "Course Name",
contributors: "Contributor Name(s)",
associateLink: "https://associate-link.com",
partnerLink: "https://partner-link.com"
},
// Add more courses...
];The RCB tool link is currently set to:
href="http://72.32.49.189:8501/"Update this if the RCB tool URL changes.
The page uses Red Hat's brand color #EE0000. To customize:
- Search for
#EE0000and replace with your color - Update Tailwind config if using a build process
To embed the intake form directly:
- Get the form embed code from your form provider
- Add a modal or inline section:
{showForm && (
<div className="fixed inset-0 bg-black/50 z-50 flex items-center justify-center">
<div className="bg-white p-6 rounded-xl max-w-2xl">
{/* Your form embed code here */}
</div>
</div>
)}.
├── index.html # Main landing page (single file)
├── README.md # This file
├── .nojekyll # Prevents Jekyll processing
└── from-gemini.ts # Original component file (reference)
- Self-service content development model
- Empowers subject matter experts to share knowledge
- Collaborative approach complementing formal development
- AI-powered drafting assistant
- Early access pilot program
- Streamlit-based interface
- Kerberos ID login (no password required)
- Access: http://72.32.49.189:8501/
Currently displaying 7 published courses with:
- Course titles
- Contributor information
- Separate Associate and Partner links
- Links open in new tabs
- ✅ Chrome/Edge (latest)
- ✅ Firefox (latest)
- ✅ Safari (latest)
- ✅ Mobile browsers (iOS Safari, Chrome Mobile)
- Single HTML file for fast loading
- CDN-hosted dependencies (React, Tailwind)
- Optimized animations (CSS-based where possible)
- Lazy loading ready
- Test on Mobile: Always test the QR code on actual mobile devices
- Short URL: Consider using a URL shortener for the GitHub Pages URL
- Error Handling: Ensure the page works offline or shows a helpful message
- Analytics: Consider adding Google Analytics or similar for tracking
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
Build. Share. Revolutionize. 🚀