modified hero buttons

This commit is contained in:
dilgenfritz 2025-12-01 19:20:28 -06:00
parent 8178f8ec1f
commit f73ea72c6c
3 changed files with 14525 additions and 14 deletions

450
hero-button-options.html Normal file
View File

@ -0,0 +1,450 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hero Button Design Options</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #1a0033 0%, #0a0015 100%);
color: white;
padding: 40px;
min-height: 100vh;
}
.container {
max-width: 1400px;
margin: 0 auto;
}
h1 {
text-align: center;
margin-bottom: 50px;
font-size: 2.5rem;
text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
}
.option-section {
margin-bottom: 80px;
background: rgba(255, 255, 255, 0.05);
padding: 40px;
border-radius: 15px;
border: 1px solid rgba(138, 43, 226, 0.3);
}
.option-title {
font-size: 1.8rem;
margin-bottom: 30px;
color: #da70d6;
}
.button-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
/* Current Design (for reference) */
.current-btn {
background: rgba(138, 43, 226, 0.1);
border: 2px solid;
border-image: linear-gradient(45deg, #8a2be2, #da70d6) 1;
padding: 25px;
text-align: center;
transition: all 0.3s ease;
position: relative;
clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
cursor: pointer;
color: white;
font-size: 16px;
}
.current-btn:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
}
/* OPTION 1: Neon Card Design */
.neon-btn {
background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(218, 112, 214, 0.15));
border: 2px solid #8a2be2;
border-radius: 12px;
padding: 30px 20px;
text-align: center;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
cursor: pointer;
color: white;
font-size: 16px;
position: relative;
overflow: hidden;
}
.neon-btn::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, #8a2be2, #da70d6, #8a2be2);
border-radius: 12px;
z-index: -1;
opacity: 0;
transition: opacity 0.4s ease;
}
.neon-btn:hover {
transform: translateY(-8px);
box-shadow:
0 0 30px rgba(138, 43, 226, 0.8),
0 0 60px rgba(138, 43, 226, 0.4),
inset 0 0 20px rgba(138, 43, 226, 0.2);
border-color: #da70d6;
}
.neon-btn:hover::before {
opacity: 0.3;
}
/* OPTION 2: Hexagon Futuristic */
.hex-btn {
background: linear-gradient(135deg, #2a0845, #1a0033);
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
padding: 35px 25px;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
color: white;
font-size: 16px;
position: relative;
border: 3px solid transparent;
background-clip: padding-box;
}
.hex-btn::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
background: linear-gradient(45deg, #8a2be2, #da70d6);
z-index: -1;
opacity: 0;
transition: opacity 0.3s ease;
}
.hex-btn:hover {
transform: scale(1.1) rotate(2deg);
box-shadow: 0 0 40px rgba(138, 43, 226, 0.7);
}
.hex-btn:hover::before {
opacity: 0.5;
}
/* OPTION 3: Glowing Glass Morphism */
.glass-btn {
background: rgba(138, 43, 226, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 20px;
padding: 30px 20px;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
color: white;
font-size: 16px;
position: relative;
box-shadow:
0 8px 32px rgba(138, 43, 226, 0.2),
inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.glass-btn::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 50%;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
border-radius: 20px 20px 0 0;
opacity: 0;
transition: opacity 0.3s ease;
}
.glass-btn:hover {
transform: translateY(-5px);
background: rgba(138, 43, 226, 0.2);
border-color: rgba(218, 112, 214, 0.5);
box-shadow:
0 12px 40px rgba(138, 43, 226, 0.5),
inset 0 1px 1px rgba(255, 255, 255, 0.2);
}
.glass-btn:hover::after {
opacity: 1;
}
/* OPTION 4: Cyberpunk Slant */
.cyber-btn {
background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(218, 112, 214, 0.1));
border: 2px solid #8a2be2;
padding: 25px 20px;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
color: white;
font-size: 16px;
position: relative;
transform: skewX(-5deg);
box-shadow: 4px 4px 0 rgba(138, 43, 226, 0.3);
}
.cyber-btn > * {
transform: skewX(5deg);
display: block;
}
.cyber-btn::before {
content: '';
position: absolute;
top: -4px;
left: -4px;
right: 4px;
bottom: 4px;
border: 2px solid rgba(138, 43, 226, 0.4);
transition: all 0.3s ease;
}
.cyber-btn:hover {
transform: skewX(-5deg) translateY(-3px);
border-color: #da70d6;
box-shadow:
6px 6px 0 rgba(138, 43, 226, 0.5),
0 0 20px rgba(138, 43, 226, 0.6);
}
.cyber-btn:hover::before {
top: -6px;
left: -6px;
right: 6px;
bottom: 6px;
}
/* OPTION 5: Minimalist Border Animation */
.minimal-btn {
background: transparent;
border: 2px solid rgba(138, 43, 226, 0.5);
padding: 30px 20px;
text-align: center;
transition: all 0.4s ease;
cursor: pointer;
color: white;
font-size: 16px;
position: relative;
overflow: hidden;
}
.minimal-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.3), transparent);
transition: left 0.5s ease;
}
.minimal-btn::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(218, 112, 214, 0.2));
opacity: 0;
transition: opacity 0.3s ease;
}
.minimal-btn:hover {
border-color: #da70d6;
box-shadow:
0 0 20px rgba(138, 43, 226, 0.4),
inset 0 0 20px rgba(138, 43, 226, 0.2);
}
.minimal-btn:hover::before {
left: 100%;
}
.minimal-btn:hover::after {
opacity: 1;
}
.minimal-btn span {
position: relative;
z-index: 1;
}
.icon {
font-size: 2rem;
display: block;
margin-bottom: 10px;
}
.text {
font-weight: 600;
letter-spacing: 0.5px;
}
.note {
margin-top: 15px;
padding: 15px;
background: rgba(0, 0, 0, 0.3);
border-radius: 8px;
font-size: 14px;
color: #da70d6;
}
</style>
</head>
<body>
<div class="container">
<h1>🎨 Hero Button Design Options</h1>
<div class="option-section">
<h2 class="option-title">Current Design (For Reference)</h2>
<div class="button-grid">
<button class="current-btn">
<span class="icon">🎯</span>
<span class="text">Training Academy</span>
</button>
<button class="current-btn">
<span class="icon"></span>
<span class="text">Quick Play</span>
</button>
<button class="current-btn">
<span class="icon">🎬</span>
<span class="text">Porn Cinema</span>
</button>
</div>
<div class="note">Angled corners with gradient border</div>
</div>
<div class="option-section">
<h2 class="option-title">Option 1: Neon Glow Cards</h2>
<div class="button-grid">
<button class="neon-btn">
<span class="icon">🎯</span>
<span class="text">Training Academy</span>
</button>
<button class="neon-btn">
<span class="icon"></span>
<span class="text">Quick Play</span>
</button>
<button class="neon-btn">
<span class="icon">🎬</span>
<span class="text">Porn Cinema</span>
</button>
</div>
<div class="note">✨ Rounded corners with intense neon glow effect on hover. Modern and eye-catching.</div>
</div>
<div class="option-section">
<h2 class="option-title">Option 2: Hexagon Futuristic</h2>
<div class="button-grid">
<button class="hex-btn">
<span class="icon">🎯</span>
<span class="text">Training Academy</span>
</button>
<button class="hex-btn">
<span class="icon"></span>
<span class="text">Quick Play</span>
</button>
<button class="hex-btn">
<span class="icon">🎬</span>
<span class="text">Porn Cinema</span>
</button>
</div>
<div class="note">🔷 Hexagonal shape with rotation effect. Very sci-fi and distinctive.</div>
</div>
<div class="option-section">
<h2 class="option-title">Option 3: Glass Morphism</h2>
<div class="button-grid">
<button class="glass-btn">
<span class="icon">🎯</span>
<span class="text">Training Academy</span>
</button>
<button class="glass-btn">
<span class="icon"></span>
<span class="text">Quick Play</span>
</button>
<button class="glass-btn">
<span class="icon">🎬</span>
<span class="text">Porn Cinema</span>
</button>
</div>
<div class="note">🔮 Frosted glass effect with soft glow. Clean and premium feel.</div>
</div>
<div class="option-section">
<h2 class="option-title">Option 4: Cyberpunk Slant</h2>
<div class="button-grid">
<button class="cyber-btn">
<span class="icon">🎯</span>
<span class="text">Training Academy</span>
</button>
<button class="cyber-btn">
<span class="icon"></span>
<span class="text">Quick Play</span>
</button>
<button class="cyber-btn">
<span class="icon">🎬</span>
<span class="text">Porn Cinema</span>
</button>
</div>
<div class="note">⚡ Skewed design with layered borders. Very cyberpunk aesthetic.</div>
</div>
<div class="option-section">
<h2 class="option-title">Option 5: Minimalist Border Animation</h2>
<div class="button-grid">
<button class="minimal-btn">
<span class="icon">🎯</span>
<span class="text">Training Academy</span>
</button>
<button class="minimal-btn">
<span class="icon"></span>
<span class="text">Quick Play</span>
</button>
<button class="minimal-btn">
<span class="icon">🎬</span>
<span class="text">Porn Cinema</span>
</button>
</div>
<div class="note">💫 Clean borders with shimmer effect on hover. Subtle and elegant.</div>
</div>
</div>
<script>
// Add click feedback to all buttons
document.querySelectorAll('button').forEach(btn => {
btn.addEventListener('click', function() {
this.style.transform = this.style.transform + ' scale(0.95)';
setTimeout(() => {
this.style.transform = '';
}, 100);
});
});
</script>
</body>
</html>

14041
src/lib/webgazer.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -373,28 +373,47 @@ body {
.hero-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: var(--space-lg);
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: var(--space-xl);
margin: var(--space-xl) 0;
}
.hero-feature {
background: var(--bg-primary-overlay-10);
border: 2px solid;
border-image: linear-gradient(45deg, var(--color-primary), var(--color-secondary)) 1;
padding: 25px;
background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(218, 112, 214, 0.15));
border: 2px solid var(--color-primary);
border-radius: 12px;
padding: 10px 12px;
text-align: center;
transition: all 0.3s ease;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
position: relative;
clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
overflow: hidden;
}
.hero-feature::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary));
border-radius: 12px;
z-index: -1;
opacity: 0;
transition: opacity 0.4s ease;
}
.hero-feature:hover {
transform: translateY(-5px) scale(1.02);
border-image: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary)) 1;
transform: translateY(-8px);
box-shadow:
var(--shadow-glow-primary),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
0 0 30px rgba(138, 43, 226, 0.8),
0 0 60px rgba(138, 43, 226, 0.4),
inset 0 0 20px rgba(138, 43, 226, 0.2);
border-color: var(--color-secondary);
}
.hero-feature:hover::before {
opacity: 0.3;
}
.feature-icon {
@ -403,12 +422,13 @@ body {
align-items: center;
justify-content: center;
min-width: 32px;
margin-bottom: 4px;
}
.cassie-icon {
display: inline-block;
width: 2.5rem;
height: 2.5rem;
width: 1.8rem;
height: 1.8rem;
background-image: url('../../assets/cassie.png');
background-size: contain;
background-repeat: no-repeat;