The user wants to build a developer portal with:
- Golden paths - recommended workflows/best practices
- Templates - reusable project templates
- Scaffolding - tools to generate new projects
This should be a visually appealing, interactive single-page application with:
- Modern design with dynamic elements
- At least 3 dynamic elements (animations, interactions, particles)
- Good color scheme (no purple gradient templates)
- High contrast for readability
Let me plan the structure:
- Header/Navigation - Fixed nav with logo and menu
- Hero Section - Animated background with particles, main title
- Golden Paths Section - Interactive cards showing recommended paths
- Templates Section - Filterable grid of project templates
- Scaffolding Section - Interactive CLI/Generator demo
- Stats/Features - Animated counters
- Footer
Design choices:
- Color scheme: Dark theme with gold/amber accents (fitting "golden paths"), high contrast
- Modern, professional look suitable for developers
- Animated background using canvas
- Smooth scroll and hover effects
- Interactive template filtering
- Simulated terminal for scaffolding demo
Let me build this comprehensive developer portal.
Developer Portal - Design Concept
I'll create a modern, interactive developer portal with:
- Golden Paths - Recommended workflows with animated progress indicators
- Templates - Filterable project templates with hover effects
- Scaffolding - Interactive CLI simulator for project generation
- Dynamic elements: Particle background, animated counters, typing terminal, scroll animations
Color scheme: Dark base with gold/amber accents (fitting "golden paths" theme), high contrast for readability.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nexus Dev Portal</title>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-primary: #0a0a0f;
--bg-secondary: #12121a;
--bg-card: #1a1a24;
--bg-hover: #222230;
--gold-primary: #f5a623;
--gold-light: #ffd080;
--gold-dark: #c4840f;
--cyan-accent: #00d4aa;
--text-primary: #f0f0f5;
--text-secondary: #9090a0;
--text-muted: #606070;
--border-color: #2a2a3a;
--success: #00c853;
--error: #ff5252;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
overflow-x: hidden;
}
/* Particle Canvas */
#particles {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
}
/* Navigation */
nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(10, 10, 15, 0.85);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border-color);
padding: 0 2rem;
height: 70px;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
display: flex;
align-items: center;
gap: 12px;
font-weight: 700;
font-size: 1.4rem;
}
.logo-icon {
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
color: var(--bg-primary);
}
.nav-links {
display: flex;
gap: 2rem;
list-style: none;
}
.nav-links a {
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
font-size: 0.95rem;
transition: color 0.3s;
position: relative;
}
.nav-links a:hover {
color: var(--gold-primary);
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--gold-primary);
transition: width 0.3s;
}
.nav-links a:hover::after {
width: 100%;
}
.nav-cta {
background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
color: var(--bg-primary);
padding: 10px 24px;
border-radius: 8px;
font-weight: 600;
text-decoration: none;
transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3);
}
/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 100px 2rem 60px;
position: relative;
}
.hero-content {
max-width: 900px;
text-align: center;
z-index: 1;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(245, 166, 35, 0.1);
border: 1px solid rgba(245, 166, 35, 0.3);
padding: 8px 16px;
border-radius: 50px;
font-size: 0.85rem;
color: var(--gold-light);
margin-bottom: 2rem;
}
.badge-dot {
width: 8px;
height: 8px;
background: var(--gold-primary);
border-radius: 50%;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.2); }
}
.hero h1 {
font-size: clamp(2.5rem, 6vw, 4.5rem);
font-weight: 700;
line-height: 1.1;
margin-bottom: 1.5rem;
}
.hero h1 .highlight {
background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero p {
font-size: 1.25rem;
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto 2.5rem;
}
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.btn {
padding: 14px 32px;
border-radius: 10px;
font-weight: 600;
font-size: 1rem;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.3s;
cursor: pointer;
border: none;
}
.btn-primary {
background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
color: var(--bg-primary);
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(245, 166, 35, 0.35);
}
.btn-secondary {
background: var(--bg-card);
color: var(--text-primary);
border: 1px solid var(--border-color);
}
.btn-secondary:hover {
background: var(--bg-hover);
border-color: var(--gold-primary);
}
/* Stats */
.stats {
display: flex;
justify-content: center;
gap: 4rem;
margin-top: 4rem;
flex-wrap: wrap;
}
.stat {
text-align: center;
}
.stat-value {
font-size: 2.5rem;
font-weight: 700;
color: var(--gold-primary);
font-family: 'JetBrains Mono', monospace;
}
.stat-label {
font-size: 0.9rem;
color: var(--text-muted);
margin-top: 4px;
}
/* Section Styles */
section {
padding: 100px 2rem;
position: relative;
z-index: 1;
}
.section-header {
text-align: center;
max-width: 700px;
margin: 0 auto 4rem;
}
.section-tag {
display: inline-block;
font-family: 'JetBrains Mono', monospace;
font-size: 0.85rem;
color: var(--gold-primary);
background: rgba(245, 166, 35, 0.1);
padding: 6px 14px;
border-radius: 6px;
margin-bottom: 1rem;
}
.section-header h2 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
.section-header p {
color: var(--text-secondary);
font-size: 1.1rem;
}
/* Golden Paths */
.paths-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 1.5rem;
max-width: 1400px;
margin: 0 auto;
}
.path-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 16px;
padding: 2rem;
transition: all 0.4s;
cursor: pointer;
position: relative;
overflow: hidden;
}
.path-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--gold-primary), var(--cyan-accent));
transform: scaleX(0);
transition: transform 0.4s;
}
.path-card:hover::before {
transform: scaleX(1);
}
.path-card:hover {
transform: translateY(-5px);
border-color: var(--gold-primary);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.path-icon {
width: 56px;
height: 56px;
background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0.05));
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
margin-bottom: 1.25rem;
}
.path-card h3 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.path-card p {
color: var(--text-secondary);
font-size: 0.95rem;
margin-bottom: 1.5rem;
}
.path-meta {
display: flex;
gap: 1.5rem;
padding-top: 1rem;
border-top: 1px solid var(--border-color);
}
.path-meta-item {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.85rem;
color: var(--text-muted);
}
.path-steps {
margin-top: 1.5rem;
}
.step {
display: flex;
align-items: center;
gap: 12px;
padding: 8px 0;
}
.step-number {
width: 28px;
height: 28px;
background: var(--bg-secondary);
border: 2px solid var(--border-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
font-weight: 600;
transition: all 0.3s;
}
.step.completed .step-number {
background: var(--success);
border-color: var(--success);
color: white;
}
.step.active .step-number {
border-color: var(--gold-primary);
color: var(--gold-primary);
}
.step-line {
flex: 1;
height: 2px;
background: var(--border-color);
margin-left: 14px;
}
.step.completed + .step .step-line::before {
content: '';
position: absolute;
width: 50%;
height: 2px;
background: var(--success);
}
/* Templates Section */
.templates-container {
max-width: 1400px;
margin: 0 auto;
}
.template-filters {
display: flex;
gap: 0.75rem;
justify-content: center;
margin-bottom: 3rem;
flex-wrap: wrap;
}
.filter-btn {
padding: 10px 20px;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 8px;
color: var(--text-secondary);
font-size: 0.9rem;
cursor: pointer;
transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
background: var(--gold-primary);
border-color: var(--gold-primary);
color: var(--bg-primary);
}
.templates-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}
.template-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 14px;
overflow: hidden;
transition: all 0.3s;
}
.template-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
border-color: var(--cyan-accent);
}
.template-preview {
height: 140px;
background: var(--bg-secondary);
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
position: relative;
overflow: hidden;
}
.template-preview::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, transparent 50%, rgba(0, 212, 170, 0.1));
}
.template-info {
padding: 1.5rem;
}
.template-info h4 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.template-info p {
color: var(--text-secondary);
font-size: 0.9rem;
margin-bottom: 1rem;
}
.template-tags {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
margin-bottom: 1rem;
}
.tag {
font-family: 'JetBrains Mono', monospace;
font-size: 0.75rem;
padding: 4px 10px;
background: var(--bg-secondary);
border-radius: 4px;
color: var(--text-muted);
}
.template-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 1rem;
border-top: 1px solid var(--border-color);
}
.template-usage {
font-size: 0.85rem;
color: var(--text-muted);
}
.template-btn {
padding: 8px 16px;
background: transparent;
border: 1px solid var(--cyan-accent);
color: var(--cyan-accent);
border-radius: 6px;
font-size: 0.85rem;
cursor: pointer;
transition: all 0.3s;
}
.template-btn:hover {
background: var(--cyan-accent);
color: var(--bg-primary);
}
/* Scaffolding Section */
.scaffold-container {
max-width: 1200px;
margin: 0 auto;
}
.scaffold-demo {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: start;
}
.terminal {
background: var(--bg-secondary);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.terminal-header {
background: var(--bg-card);
padding: 12px 16px;
display: flex;
align-items: center;
gap: 8px;
}
.terminal-dot {
width: 12px;
height: 12px;
border-radius: 50%;
}
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }
.terminal-title {
flex: 1;
text-align: center;
font-family: 'JetBrains Mono', monospace;
font-size: 0.85rem;
color: var(--text-muted);
}
.terminal-body {
padding: 1.5rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.9rem;
min-height: 350px;
}
.terminal-line {
margin-bottom: 0.5rem;
opacity: 0;
animation: fadeIn 0.3s forwards;
}
@keyframes fadeIn {
to { opacity: 1; }
}
.terminal-prompt {
color: var(--cyan-accent);
}
.terminal-command {
color: var(--text-primary);
}
.terminal-output {
color: var(--text-secondary);
padding-left: 1rem;
}
.terminal-success {
color: var(--success);
}
.terminal-cursor {
display: inline-block;
width: 8px;
height: 18px;
background: var(--gold-primary);
animation: blink 1s infinite;
vertical-align: middle;
}
@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0; }
}
.scaffold-options {
background: var(--bg-card);
border-radius: 16px;
padding: 2rem;
border: 1px solid var(--border-color);
}
.scaffold-options h3 {
font-size: 1.3rem;
margin-bottom: 1.5rem;
}
.option-group {
margin-bottom: 1.5rem;
}
.option-label {
font-size: 0.9rem;
color: var(--text-secondary);
margin-bottom: 0.5rem;
display: block;
}
.option-input {
width: 100%;
padding: 12px 16px;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 8px;
color: var(--text-primary);
font-size: 1rem;
font-family: 'JetBrains Mono', monospace;
transition: border-color 0.3s;
}
.option-input:focus {
outline: none;
border-color: var(--gold-primary);
}
.option-select {
width: 100%;
padding: 12px 16px;
background: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 8px;
color: var(--text-primary);
font-size: 1rem;
cursor: pointer;
}
.checkbox-group {
display: flex;
flex-wrap: wrap;
gap: 1rem;
}
.checkbox-item {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.checkbox-item input {
width: 18px;
height: 18px;
accent-color: var(--gold-primary);
}
.checkbox-item span {
font-size: 0.9rem;
color: var(--text-secondary);
}
.generate-btn {
width: 100%;
padding: 14px;
background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
border: none;
border-radius: 10px;
color: var(--bg-primary);
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
margin-top: 1rem;
}
.generate-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3);
}
/* Footer */
footer {
background: var(--bg-secondary);
border-top: 1px solid var(--border-color);
padding: 60px 2rem 30px;
position: relative;
z-index: 1;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 3rem;
}
.footer-brand p {
color: var(--text-secondary);
margin-top: 1rem;
font-size: 0.95rem;
}
.footer-links h4 {
font-size: 0.9rem;
font-weight: 600;
margin-bottom: 1.25rem;
color: var(--text-primary);
}
.footer-links ul {
list-style: none;
}
.footer-links li {
margin-bottom: 0.75rem;
}
.footer-links a {
color: var(--text-secondary);
text-decoration: none;
font-size: 0.9rem;
transition: color 0.3s;
}
.footer-links a:hover {
color: var(--gold-primary);
}
.footer-bottom {
max-width: 1200px;
margin: 3rem auto 0;
padding-top: 2rem;
border-top: 1px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
color: var(--text-muted);
}
/* Responsive */
@media (max-width: 1024px) {
.scaffold-demo {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.nav-links {
display: none;
}
.footer-content {
grid-template-columns: 1fr 1fr;
}
.stats {
gap: 2rem;
}
}
@media (max-width: 480px) {
.footer-content {
grid-template-columns: 1fr;
}
}
/* Scroll animations */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}
.reveal.visible {
opacity: 1;
transform: translateY(0);
}
</style>
</head>
<body>
<canvas id="particles"></canvas>
<nav>
<div class="logo">
<div class="logo-icon">N</div>
<span>Nexus Portal</span>
</div>
<ul class="nav-links">
<li><a href="#golden-paths">Golden Paths</a></li>
<li><a href="#templates">Templates</a></li>
<li><a href="#scaffolding">Scaffolding</a></li>
<li><a href="#docs">Docs</a></li>
</ul>
<a href="#" class="nav-cta">Get Started</a>
</nav>
<section class="hero">
<div class="hero-content">
<div class="hero-badge">
<span class="badge-dot"></span>
Platform Engineering Portal
</div>
<h1>Ship Faster with<br><span class="highlight">Golden Paths</span></h1>
<p>Self-service developer portal with paved roads, ready-to-use templates, and instant project scaffolding. Stop reinventing the wheel.</p>
<div class="hero-buttons">
<a href="#scaffolding" class="btn btn-primary">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M12 5v14M5 12h14"/>
</svg>
Create Project
</a>
<a href="#golden-paths" class="btn btn-secondary">Explore Paths</a>
</div>
<div class="stats">
<div class="stat">
<div class="stat-value" data-target="2847">0</div>
<div class="stat-label">Projects Created</div>
</div>
<div class="stat">
<div class="stat-value" data-target="156">0</div>
<div class="stat-label">Active Teams</div>
</div>
<div class="stat">
<div class="stat-value" data-target="45">0</div>
<div class="stat-label">Templates</div>
</div>
</div>
</div>
</section>
<section id="golden-paths">
<div class="section-header reveal">
<span class="section-tag">// GOLDEN PATHS</span>
<h2>Paved Roads to Production</h2>
<p>Curated workflows that embody best practices. Follow the path and inherit security, observability, and reliability by default.</p>
</div>
<div class="paths-grid">
<div class="path-card reveal">
<div class="path-icon">⚡</div>
<h3>Microservice Fast Track</h3>
<p>Go from zero to production-ready microservice in under 10 minutes. Includes CI/CD, monitoring, and service mesh integration.</p>
<div class="path-meta">
<div class="path-meta-item">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"/>
<path d="M12 6v6l4 2"/>
</svg>
~10 min
</div>
<div class="path-meta-item">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/>
<polyline points="22 4 12 14.01 9 11.01"/>
</svg>
8 steps
</div>
</div>
<div class="path-steps">
<div class="step completed"><div class="step-number">1</div></div>
<div class="step completed"><div class="step-number">2</div></div>
<div class="step active"><div class="step-number">3</div></div>
<div class="step"><div class="step-number">4</div></div>
</div>
</div>
<div class="path-card reveal">
<div class="path-icon">🔒</div>
<h3>Secure by Default</h3>
<p>Security-hardened path with mTLS, secrets management, vulnerability scanning, and compliance checks built-in.</p>
<div class="path-meta">
<div class="path-meta-item">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"/>
<path d="M12 6v6l4 2"/>
</svg>
~15 min
</div>
<div class="path-meta-item">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/>
<polyline points="22 4 12 14.01 9 11.01"/>
</svg>
12 steps
</div>
</div>
<div class="path-steps">
<div class="step completed"><div class="step-number">1</div></div>
<div class="step completed"><div class="step-number">2</div></div>
<div class="step completed"><div class="step-number">3</div></div>
<div class="step active"><div class="step-number">4</div></div>
</div>
</div>
<div class="path-card reveal">
<div class="path-icon">📊</div>
<h3>Full-Stack Observability</h3>
<p>Pre-wired with distributed tracing, metrics, logging, and alerting. Debug production issues in minutes, not hours.</p>
<div class="path-meta">
<div class="path-meta-item">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"/>
<path d="M12 6v6l4 2"/>
</svg>
~8 min
</div>
<div class="path-meta-item">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/>
<polyline points="22 4 12 14.01 9 11.01"/>
</svg>
6 steps
</div>
</div>
<div class="path-steps">
<div class="step completed"><div class="step-number">1</div></div>
<div class="step active"><div class="step-number">2</div></div>
<div class="step"><div class="step-number">3</div></div>
<div class="step"><div class="step-number">4</div></div>
</div>
</div>
<div class="path-card reveal">
<div class="path-icon">🚀</div>
<h3>Data Pipeline Express</h3>
<p>Stream processing pipeline with Kafka, Flink, and real-time analytics. Scale to millions of events per second.</p>
<div class="path-meta">
<div class="path-meta-item">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<circle cx="12" cy="12" r="10"/>
<path d="M12 6v6l4 2"/>
</svg>
~20 min
</div>
<div class="path-meta-item">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/>
<polyline points="22 4 12 14.01 9 11.01"/>
</svg>
10 steps
</div>
</div>
<div class="path-steps">
<div class="step completed"><div class="step-number">1</div></div>
<div class="step completed"><div class="step-number">2</div></div>
<div class="step completed"><div class="step-number">3</div></div>
<div class="step completed"><div class="step-number">4</div></div>
</div>
</div>
</div>
</section>
<section id="templates">
<div class="section-header reveal">
<span class="section-tag">// TEMPLATES</span>
<h2>Production-Ready Templates</h2>
<p>Battle-tested project templates maintained by platform teams. One click and you're ready to code.</p>
</div>
<div class="templates-container">
<div class="template-filters reveal">
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="backend">Backend</button>
<button class="filter-btn" data-filter="frontend">Frontend</button>
<button class="filter-btn" data-filter="fullstack">Full Stack</button>
<button class="filter-btn" data-filter="infrastructure">Infrastructure</button>
</div>
<div class="templates-grid">
<div class="template-card reveal" data-category="backend">
<div class="template-preview">🐍</div>
<div class="template-info">
<h4>FastAPI Microservice</h4>
<p>Python async service with SQLAlchemy, Redis caching, and OpenTelemetry.</p>
<div class="template-tags">
<span class="tag">Python</span>
<span class="tag">FastAPI</span>
<span class="tag">Docker</span>
</div>
<div class="template-footer">
<span class="template-usage">847 uses</span>
<button class="template-btn">Use Template</button>
</div>
</div>
</div>
<div class="template-card reveal" data-category="backend">
<div class="template-preview">🐹</div>
<div class="template-info">
<h4>Go gRPC Service</h4>
<p>High-performance gRPC service with protobuf, rate limiting, and health checks.</p>
<div class="template-tags">
<span class="tag">Go</span>
<span class="tag">gRPC</span>
<span class="tag">K8s</span>
</div>
<div class="template-footer">
<span class="template-usage">623 uses</span>
<button class="template-btn">Use Template</button>
</div>
</div>
</div>
<div class="template-card reveal" data-category="frontend">
<div class="template-preview">⚛️</div>
<div class="template-info">
<h4>React Enterprise</h4>
<p>React 18 with TypeScript, Tailwind, authentication, and design system.</p>
<div class="template-tags">
<span class="tag">React</span>
<span class="tag">TypeScript</span>
<span class="tag">Vite</span>
</div>
<div class="template-footer">
<span class="template-usage">1.2k uses</span>
<button class="template-btn">Use Template</button>
</div>
</div>
</div>
<div class="template-card reveal" data-category="fullstack">
<div class="template-preview">🟢</div>
<div class="template-info">
<h4>Next.js Full Stack</h4>
<p>Next.js 14 with Prisma, tRPC, and serverless deployment config.</p>
<div class="template-tags">
<span class="tag">Next.js</span>
<span class="tag">Prisma</span>
<span class="tag">tRPC</span>
</div>
<div class="template-footer">
<span class="template-usage">956 uses</span>
<button class="template-btn">Use Template</button>
</div>
</div>
</div>
<div class="template-card reveal" data-category="infrastructure">
<div class="template-preview">🏗️</div>
<div class="template-info">
<h4>Terraform Stack</h4>
<p>AWS infrastructure with VPC, EKS, RDS, and S3 following best practices.</p>
<div class="template-tags">
<span class="tag">Terraform</span>
<span class="tag">AWS</span>
<span class="tag">EKS</span>
</div>
<div class="template-footer">
<span class="template-usage">412 uses</span>
<button class="template-btn">Use Template</button>
</div>
</div>
</div>
<div class="template-card reveal" data-category="infrastructure">
<div class="template-preview">☸️</div>
<div class="template-info">
<h4>Kubernetes Helm Charts</h4>
<p>Production-grade Helm charts with HPA, PodDisruptionBudget, and GitOps.</p>
<div class="template-tags">
<span class="tag">Kubernetes</span>
<span class="tag">Helm</span>
<span class="tag">ArgoCD</span>
</div>
<div class="template-footer">
<span class="template-usage">534 uses</span>
<button class="template-btn">Use Template</button>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="scaffolding">
<div class="section-header reveal">
<span class="section-tag">// SCAFFOLDING</span>
<h2>Instant Project Generation</h2>
<p>Configure your project and generate production-ready code in seconds.</p>
</div>
<div class="scaffold-container">
<div class="scaffold-demo">
<div class="terminal reveal">
<div class="terminal-header">
<div class="terminal-dot red"></div>
<div class="terminal-dot yellow"></div>
<div class="terminal-dot green"></div>
<span class="terminal-title">nexus-cli</span>
</div>
<div class="terminal-body" id="terminal-output">
<!-- Terminal output will be generated here -->
</div>
</div>
<div class="scaffold-options reveal">
<h3>Project Configuration</h3>
<div class="option-group">
<label class="option-label">Project Name</label>
<input type="text" class="option-input" id="project-name" value="my-awesome-service" placeholder="Enter project name">
</div>
<div class="option-group">
<label class="option-label">Template</label>
<select class="option-select" id="template-select">
<option value="fastapi">FastAPI Microservice</option>
<option value="go-grpc">Go gRPC Service</option>
<option value="react">React Enterprise</option>
<option value="nextjs">Next.js Full Stack</option>
</select>
</div>
<div class="option-group">
<label class="option-label">Features</label>
<div class="checkbox-group">
<label class="checkbox-item">
<input type="checkbox" checked id="feat-docker">
<span>Docker</span>
</label>
<label class="checkbox-item">
<input type="checkbox" checked id="feat-ci">
<span>CI/CD</span>
</label>
<label class="checkbox-item">
<input type="checkbox" checked id="feat-monitoring">
<span>Monitoring</span>
</label>
<label class="checkbox-item">
<input type="checkbox" id="feat-docs">
<span>Docs</span>
</label>
</div>
</div>
<button class="generate-btn" id="generate-btn">Generate Project</button>
</div>
</div>
</div>
</section>
<footer>
<div class="footer-content">
<div class="footer-brand">
<div class="logo">
<div class="logo-icon">N</div>
<span>Nexus Portal</span>
</div>
<p>Empowering developers to ship faster with confidence. Built by platform engineers, for everyone.</p>
</div>
<div class="footer-links">
<h4>Platform</h4>
<ul>
<li><a href="#">Golden Paths</a></li>
<li><a href="#">Templates</a></li>
<li><a href="#">Scaffolding</a></li>
<li><a href="#">API Reference</a></li>
</ul>
</div>
<div class="footer-links">
<h4>Resources</h4>
<ul>
<li><a href="#">Documentation</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Changelog</a></li>
<li><a href="#">Status</a></li>
</ul>
</div>
<div class="footer-links">
<h4>Community</h4>
<ul>
<li><a href="#">GitHub</a></li>
<li><a href="#">Discord</a></li>
<li><a href="#">Slack</a></li>
<li><a href="#">Twitter</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<span>2024 Nexus Portal. Built with purpose.</span>
<span>MIT License</span>
</div>
</footer>
<script>
// Particle System
const canvas = document.getElementById('particles');
const ctx = canvas.getContext('2d');
let particles = [];
let mouseX = 0;
let mouseY = 0;
function resizeCanvas() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
}
class Particle {
constructor() {
this.reset();
}
reset() {
this.x = Math.random() * canvas.width;
this.y = Math.random() * canvas.height;
this.vx = (Math.random() - 0.5) * 0.5;
this.vy = (Math.random() - 0.5) * 0.5;
this.radius = Math.random() * 2 + 1;
this.opacity = Math.random() * 0.5 + 0.1;
this.hue = Math.random() > 0.7 ? 40 : 170; // Gold or Cyan
}
update() {
this.x += this.vx;
this.y += this.vy;
// Mouse interaction
const dx = mouseX - this.x;
const dy = mouseY - this.y;
const dist = Math.sqrt(dx * dx + dy * dy);
if (dist < 150) {
const force = (150 - dist) / 150;
this.vx -= (dx / dist) * force * 0.02;
this.vy -= (dy / dist) * force * 0.02;
}
// Damping
this.vx *= 0.99;
this.vy *= 0.99;
// Wrap around
if (this.x < 0) this.x = canvas.width;
if (this.x > canvas.width) this.x = 0;
if (this.y < 0) this.y = canvas.height;
if (this.y > canvas.height) this.y = 0;
}
draw() {
ctx.beginPath();
ctx.arc(this.x, this.y, this.radius, 0, Math.PI * 2);
ctx.fillStyle = `hsla(${this.hue}, 80%, 60%, ${this.opacity})`;
ctx.fill();
}
}
function initParticles() {
particles = [];
const count = Math.min(100, Math.floor((canvas.width * canvas.height) / 15000));
for (let i = 0; i < count; i++) {
particles.push(new Particle());
}
}
function drawConnections() {
for (let i = 0; i < particles.length; i++) {
for (let j = i + 1; j < particles.length; j++) {
const dx = particles[i].x - particles[j].x;
const dy = particles[i].y - particles[j].y;
const dist = Math.sqrt(dx * dx + dy * dy);
if (dist < 120) {
ctx.beginPath();
ctx.moveTo(particles[i].x, particles[i].y);
ctx.lineTo(particles[j].x, particles[j].y);
ctx.strokeStyle = `rgba(245, 166, 35, ${0.1 * (1 - dist / 120)})`;
ctx.lineWidth = 0.5;
ctx.stroke();
}
}
}
}
function animateParticles() {
ctx.clearRect(0, 0, canvas.width, canvas.height);
drawConnections();
particles.forEach(p => {
p.update();
p.draw();
});
requestAnimationFrame(animateParticles);
}
resizeCanvas();
initParticles();
animateParticles();
window.addEventListener('resize', () => {
resizeCanvas();
initParticles();
});
document.addEventListener('mousemove', (e) => {
mouseX = e.clientX;
mouseY = e.clientY;
});
// Counter Animation
function animateCounters() {
const counters = document.querySelectorAll('.stat-value');
counters.forEach(counter => {
const target = parseInt(counter.dataset.target);
const duration = 2000;
const start = performance.now();
function update(currentTime) {
const elapsed = currentTime - start;
const progress = Math.min(elapsed / duration, 1);
// Easing function
const eased = 1 - Math.pow(1 - progress, 3);
const current = Math.floor(eased * target);
counter.textContent = current.toLocaleString();
if (progress < 1) {
requestAnimationFrame(update);
}
}
requestAnimationFrame(update);
});
}
// Intersection Observer for animations
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -50px 0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
// Trigger counter animation when stats section is visible
if (entry.target.closest('.hero')) {
animateCounters();
}
}
});
}, observerOptions);
document.querySelectorAll('.reveal').forEach(el => observer.observe(el));
// Template Filter
const filterBtns = document.querySelectorAll('.filter-btn');
const templateCards = document.querySelectorAll('.template-card');
filterBtns.forEach(btn => {
btn.addEventListener('click', () => {
filterBtns.forEach(b => b.classList.remove('active'));
btn.classList.add('active');
const filter = btn.dataset.filter;
templateCards.forEach(card => {
if (filter === 'all' || card.dataset.category === filter) {
card.style.display = 'block';
setTimeout(() => card.style.opacity = '1', 10);
} else {
card.style.opacity = '0';
setTimeout(() => card.style.display = 'none', 300);
}
});
});
});
// Terminal Animation
const terminalOutput = document.getElementById('terminal-output');
const generateBtn = document.getElementById('generate-btn');
const terminalLines = [
{ type: 'prompt', text: '$ ' },
{ type: 'command', text: 'nexus generate --template fastapi' },
{ type: 'output', text: '' },
{ type: 'output', text: '✓ Creating project directory...' },
{ type: 'output', text: '✓ Generating FastAPI scaffolding...' },
{ type: 'output', text: '✓ Configuring Docker & docker-compose...' },
{ type: 'output', text: '✓ Setting up GitHub Actions CI/CD...' },
{ type: 'output', text: '✓ Adding OpenTelemetry instrumentation...' },
{ type: 'output', text: '✓ Creating Kubernetes manifests...' },
{ type: 'output', text: '' },
{ type: 'success', text: 'Project created successfully!' },
{ type: 'output', text: '' },
{ type: 'output', text: 'Next steps:' },
{ type: 'output', text: ' cd my-awesome-service' },
{ type: 'output', text: ' pip install -r requirements.txt' },
{ type: 'output', text: ' uvicorn app.main:dev --reload' },
];
function typeTerminal() {
terminalOutput.innerHTML = '';
let lineIndex = 0;
function addLine() {
if (lineIndex >= terminalLines.length) {
// Add cursor at the end
const cursor = document.createElement('span');
cursor.className = 'terminal-cursor';
terminalOutput.appendChild(cursor);
return;
}
const line = terminalLines[lineIndex];
const lineEl = document.createElement('div');
lineEl.className = 'terminal-line';
lineEl.style.animationDelay = `${lineIndex * 0.1}s`;
if (line.type === 'prompt') {
lineEl.innerHTML = `<span class="terminal-prompt">${line.text}</span>`;
} else if (line.type === 'command') {
const prevLine = terminalOutput.lastElementChild;
if (prevLine) {
prevLine.innerHTML += `<span class="terminal-command">${line.text}</span>`;
}
lineIndex++;
addLine();
return;
} else if (line.type === 'success') {
lineEl.innerHTML = `<span class="terminal-success">${line.text}</span>`;
} else {
lineEl.innerHTML = `<span class="terminal-output">${line.text}</span>`;
}
terminalOutput.appendChild(lineEl);
lineIndex++;
setTimeout(addLine, line.type === 'command' ? 500 : 150);
}
addLine();
}
// Initial terminal animation
setTimeout(typeTerminal, 1000);
// Generate button click
generateBtn.addEventListener('click', () => {
const projectName = document.getElementById('project-name').value || 'my-project';
const template = document.getElementById('template-select').value;
// Update terminal lines based on selection
terminalLines[1] = { type: 'command', text: `nexus generate --name ${projectName} --template ${template}` };
// Animate button
generateBtn.textContent = 'Generating...';
generateBtn.disabled = true;
setTimeout(() => {
typeTerminal();
generateBtn.textContent = 'Generate Project';
generateBtn.disabled = false;
}, 500);
});
// Smooth scroll for navigation
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
});
});
// Card hover effects
document.querySelectorAll('.path-card, .template-card').forEach(card => {
card.addEventListener('mouseenter', function() {
this.style.transform = 'translateY(-8px) scale(1.02)';
});
card.addEventListener('mouseleave', function() {
this.style.transform = 'translateY(0) scale(1)';
});
});
</script>
</body>
</html>
Key Features
Golden Paths
- Visual step progress indicators showing workflow completion
- Time estimates and step counts
- Hover animations with golden accent borders
- Four curated paths: Microservice, Security, Observability, Data Pipeline
Templates
- Filterable grid by category (Backend, Frontend, Full Stack, Infrastructure)
- Usage statistics for social proof
- Technology tags using monospace font
- Hover effects with cyan accent
Scaffolding
- Interactive terminal simulator with typing animation
- Live project configuration form
- Dynamic command generation based on inputs
- Realistic CLI output with success states
Dynamic Elements
- Particle background - Connected nodes with mouse interaction
- Animated counters - Number stats that count up on scroll
- Typing terminal - Simulated CLI with sequential output
- Scroll reveal animations - Elements fade in as they enter viewport
- Hover micro-interactions - Cards lift and scale on hover