Create index.html
This commit is contained in:
commit
3a23a06979
595
index.html
Normal file
595
index.html
Normal file
@ -0,0 +1,595 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>HYMAX.ONLINE</title>
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css">
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||||
|
<style>
|
||||||
|
:root {
|
||||||
|
--neon-blue: #00f3ff;
|
||||||
|
--neon-pink: #ff00ff;
|
||||||
|
--neon-yellow: #ffff00;
|
||||||
|
--dark-bg: #0a0a0f;
|
||||||
|
--secondary-bg: #141428;
|
||||||
|
--glitch-duration: 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: var(--dark-bg);
|
||||||
|
color: #ffffff;
|
||||||
|
font-family: 'Courier New', monospace;
|
||||||
|
overflow-x: hidden;
|
||||||
|
position: relative;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cyber-grid {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-image:
|
||||||
|
linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
|
||||||
|
linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
|
||||||
|
background-size: 20px 20px;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
padding-top: 2rem;
|
||||||
|
padding-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
font-size: 3.5rem;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
|
||||||
|
letter-spacing: 2px;
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 0;
|
||||||
|
position: relative;
|
||||||
|
animation: flicker 3s infinite alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
.glitch {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
clip: rect(0, 900px, 0, 0);
|
||||||
|
animation: glitch-anim 2s infinite linear alternate-reverse;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes glitch-anim {
|
||||||
|
0% {
|
||||||
|
clip: rect(42px, 9999px, 44px, 0);
|
||||||
|
transform: skew(0.5deg);
|
||||||
|
}
|
||||||
|
5% {
|
||||||
|
clip: rect(12px, 9999px, 59px, 0);
|
||||||
|
transform: skew(0.2deg);
|
||||||
|
}
|
||||||
|
10% {
|
||||||
|
clip: rect(48px, 9999px, 29px, 0);
|
||||||
|
transform: skew(0.8deg);
|
||||||
|
}
|
||||||
|
15% {
|
||||||
|
clip: rect(42px, 9999px, 73px, 0);
|
||||||
|
transform: skew(0.4deg);
|
||||||
|
}
|
||||||
|
20% {
|
||||||
|
clip: rect(63px, 9999px, 27px, 0);
|
||||||
|
transform: skew(0.2deg);
|
||||||
|
}
|
||||||
|
25% {
|
||||||
|
clip: rect(34px, 9999px, 55px, 0);
|
||||||
|
transform: skew(0.5deg);
|
||||||
|
}
|
||||||
|
30% {
|
||||||
|
clip: rect(86px, 9999px, 73px, 0);
|
||||||
|
transform: skew(0.7deg);
|
||||||
|
}
|
||||||
|
35% {
|
||||||
|
clip: rect(20px, 9999px, 20px, 0);
|
||||||
|
transform: skew(0.3deg);
|
||||||
|
}
|
||||||
|
40% {
|
||||||
|
clip: rect(26px, 9999px, 60px, 0);
|
||||||
|
transform: skew(0.4deg);
|
||||||
|
}
|
||||||
|
45% {
|
||||||
|
clip: rect(25px, 9999px, 66px, 0);
|
||||||
|
transform: skew(0.5deg);
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
clip: rect(57px, 9999px, 98px, 0);
|
||||||
|
transform: skew(0.1deg);
|
||||||
|
}
|
||||||
|
55% {
|
||||||
|
clip: rect(5px, 9999px, 46px, 0);
|
||||||
|
transform: skew(0.4deg);
|
||||||
|
}
|
||||||
|
60% {
|
||||||
|
clip: rect(82px, 9999px, 31px, 0);
|
||||||
|
transform: skew(0.7deg);
|
||||||
|
}
|
||||||
|
65% {
|
||||||
|
clip: rect(54px, 9999px, 27px, 0);
|
||||||
|
transform: skew(0.2deg);
|
||||||
|
}
|
||||||
|
70% {
|
||||||
|
clip: rect(28px, 9999px, 99px, 0);
|
||||||
|
transform: skew(0.5deg);
|
||||||
|
}
|
||||||
|
75% {
|
||||||
|
clip: rect(45px, 9999px, 56px, 0);
|
||||||
|
transform: skew(0.5deg);
|
||||||
|
}
|
||||||
|
80% {
|
||||||
|
clip: rect(75px, 9999px, 53px, 0);
|
||||||
|
transform: skew(0.7deg);
|
||||||
|
}
|
||||||
|
85% {
|
||||||
|
clip: rect(54px, 9999px, 84px, 0);
|
||||||
|
transform: skew(0.2deg);
|
||||||
|
}
|
||||||
|
90% {
|
||||||
|
clip: rect(70px, 9999px, 61px, 0);
|
||||||
|
transform: skew(0.6deg);
|
||||||
|
}
|
||||||
|
95% {
|
||||||
|
clip: rect(10px, 9999px, 100px, 0);
|
||||||
|
transform: skew(0.5deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
clip: rect(91px, 9999px, 83px, 0);
|
||||||
|
transform: skew(0.1deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes flicker {
|
||||||
|
0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
|
||||||
|
text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
|
||||||
|
}
|
||||||
|
20%, 24%, 55% {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tagline {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
color: rgba(255, 255, 255, 0.7);
|
||||||
|
text-align: center;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.neon-card {
|
||||||
|
background-color: var(--secondary-bg);
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 1.5rem;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.neon-card:hover {
|
||||||
|
box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
|
||||||
|
transform: translateY(-5px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.neon-card::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 2px;
|
||||||
|
background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
|
||||||
|
animation: borderGlow 2s infinite linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes borderGlow {
|
||||||
|
0% {
|
||||||
|
background-position: 0% 50%;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: 100% 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-title {
|
||||||
|
color: var(--neon-blue);
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-card {
|
||||||
|
text-align: center;
|
||||||
|
border: 1px solid rgba(0, 243, 255, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-image {
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin: 0 auto 1rem;
|
||||||
|
background-color: var(--neon-blue);
|
||||||
|
box-shadow: 0 0 15px var(--neon-blue);
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 2.5rem;
|
||||||
|
color: var(--dark-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-name {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-role {
|
||||||
|
font-size: 1rem;
|
||||||
|
color: var(--neon-pink);
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-link {
|
||||||
|
color: rgba(255, 255, 255, 0.7);
|
||||||
|
font-size: 0.9rem;
|
||||||
|
display: inline-block;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-link:hover {
|
||||||
|
color: var(--neon-blue);
|
||||||
|
text-shadow: 0 0 5px var(--neon-blue);
|
||||||
|
transform: scale(1.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
.social-link i {
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stats-card {
|
||||||
|
background: linear-gradient(135deg, rgba(20, 20, 40, 0.8), rgba(10, 10, 15, 0.8));
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat {
|
||||||
|
text-align: center;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-value {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
font-weight: bold;
|
||||||
|
color: var(--neon-yellow);
|
||||||
|
text-shadow: 0 0 10px rgba(255, 255, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.stat-label {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
color: rgba(255, 255, 255, 0.7);
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
margin-top: 2rem;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
padding: 1rem 0;
|
||||||
|
border-top: 1px solid rgba(0, 243, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.cta-button {
|
||||||
|
background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
|
||||||
|
border: none;
|
||||||
|
color: #fff;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0.75rem 1.5rem;
|
||||||
|
border-radius: 5px;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cta-button::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -100%;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
||||||
|
transition: all 0.5s ease;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cta-button:hover::before {
|
||||||
|
left: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cta-button:hover {
|
||||||
|
box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.services-list {
|
||||||
|
list-style-type: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-item {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
background-color: rgba(0, 0, 0, 0.2);
|
||||||
|
border-radius: 3px;
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
position: relative;
|
||||||
|
padding-left: 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-item:hover {
|
||||||
|
background-color: rgba(0, 243, 255, 0.1);
|
||||||
|
transform: translateX(5px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-item::before {
|
||||||
|
content: '>';
|
||||||
|
position: absolute;
|
||||||
|
left: 1rem;
|
||||||
|
color: var(--neon-blue);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.terminal-card {
|
||||||
|
font-family: 'Courier New', monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.terminal-header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.terminal-icon {
|
||||||
|
color: var(--neon-blue);
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.terminal-text {
|
||||||
|
color: rgba(255, 255, 255, 0.9);
|
||||||
|
line-height: 1.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.terminal-prompt {
|
||||||
|
color: var(--neon-pink);
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.terminal-cursor {
|
||||||
|
display: inline-block;
|
||||||
|
width: 10px;
|
||||||
|
height: 1.2rem;
|
||||||
|
background-color: var(--neon-blue);
|
||||||
|
animation: blink 1s infinite;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
0%, 49% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
50%, 100% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.animated-text {
|
||||||
|
animation: type 4s steps(60, end);
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes type {
|
||||||
|
from { width: 0; }
|
||||||
|
to { width: 100%; }
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.logo {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-card {
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="cyber-grid"></div>
|
||||||
|
<div class="container">
|
||||||
|
<header class="header">
|
||||||
|
<h1 class="logo">HYMAX.ONLINE</h1>
|
||||||
|
<div class="logo glitch">HYMAX.ONLINE</div>
|
||||||
|
<p class="tagline">// Cybernetic solutions for the digital frontier</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-8">
|
||||||
|
<div class="neon-card terminal-card">
|
||||||
|
<div class="terminal-header">
|
||||||
|
<i class="fa-solid fa-terminal terminal-icon"></i>
|
||||||
|
<span>system.info</span>
|
||||||
|
</div>
|
||||||
|
<div class="terminal-text">
|
||||||
|
<p><span class="terminal-prompt">[hymax@online]$</span></p>
|
||||||
|
<p class="animated-text">Welcome to Hymax Network</p>
|
||||||
|
<p>Server status: <span style="color: var(--neon-yellow);">ONLINE</span></p>
|
||||||
|
<p>Core systems: <span style="color: var(--neon-blue);">OPERATIONAL</span></p>
|
||||||
|
<p>Access level: <span style="color: var(--neon-pink);">PUBLIC_USER</span></p>
|
||||||
|
<p><span class="terminal-prompt">[hymax@online]$</span> Authorized personnel: Max W. & Michael K.<span class="terminal-cursor"></span></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="neon-card">
|
||||||
|
<h3 class="card-title"><i class="fa-solid fa-server me-2"></i>Available Services</h3>
|
||||||
|
<ul class="services-list">
|
||||||
|
<li class="service-item">Git Repository Access</li>
|
||||||
|
<li class="service-item">Network Infrastructure</li>
|
||||||
|
<li class="service-item">Cloud Storage Solutions</li>
|
||||||
|
<li class="service-item">Secure Communication Channels</li>
|
||||||
|
<li class="service-item">Documentation Spaces</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="neon-card stats-card">
|
||||||
|
<h3 class="card-title"><i class="fa-solid fa-chart-line me-2"></i>System Status</h3>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-4">
|
||||||
|
<div class="stat">
|
||||||
|
<div class="stat-value">99.95%</div>
|
||||||
|
<div class="stat-label">Uptime</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-4">
|
||||||
|
<div class="stat">
|
||||||
|
<div class="stat-value">12ms</div>
|
||||||
|
<div class="stat-label">Latency</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-4">
|
||||||
|
<div class="stat">
|
||||||
|
<div class="stat-value">14</div>
|
||||||
|
<div class="stat-label">Services</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-4">
|
||||||
|
<div class="neon-card profile-card">
|
||||||
|
<div class="profile-image">
|
||||||
|
<i class="fa-solid fa-user"></i>
|
||||||
|
</div>
|
||||||
|
<h4 class="profile-name">Max W.</h4>
|
||||||
|
<p class="profile-role">System Administrator</p>
|
||||||
|
<a href="https://git.hymax.online/Max665" class="social-link" target="_blank">
|
||||||
|
<i class="fa-solid fa-code-branch"></i> git.hymax.online/Max665
|
||||||
|
</a>
|
||||||
|
<div class="mt-3">
|
||||||
|
<button class="cta-button btn-sm">Contact</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="neon-card profile-card">
|
||||||
|
<div class="profile-image">
|
||||||
|
<i class="fa-solid fa-user"></i>
|
||||||
|
</div>
|
||||||
|
<h4 class="profile-name">Michael K.</h4>
|
||||||
|
<p class="profile-role">Network Engineer</p>
|
||||||
|
<a href="https://git.hymax.online/m-krebs" class="social-link" target="_blank">
|
||||||
|
<i class="fa-solid fa-code-branch"></i> git.hymax.online/m-krebs
|
||||||
|
</a>
|
||||||
|
<div class="mt-3">
|
||||||
|
<button class="cta-button btn-sm">Contact</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="neon-card">
|
||||||
|
<h3 class="card-title"><i class="fa-solid fa-shield-halved me-2"></i>Security Notice</h3>
|
||||||
|
<p>All connections are encrypted and monitored. Unauthorized access attempts will be logged and traced.</p>
|
||||||
|
<div class="d-flex align-items-center mt-3">
|
||||||
|
<div style="width: 15px; height: 15px; background-color: var(--neon-blue); border-radius: 50%; margin-right: 10px; animation: blink 2s infinite;"></div>
|
||||||
|
<span>Active protection system enabled</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="footer">
|
||||||
|
<p>© 2025 HYMAX.ONLINE | <i class="fa-solid fa-shield-halved"></i> Secured Connection</p>
|
||||||
|
</footer>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
// Simulate loading terminal text
|
||||||
|
setTimeout(function() {
|
||||||
|
$('.animated-text').css('width', '100%');
|
||||||
|
}, 500);
|
||||||
|
|
||||||
|
// Add hover effects
|
||||||
|
$('.neon-card').hover(function() {
|
||||||
|
$(this).find('.card-title').css('text-shadow', '0 0 10px var(--neon-blue)');
|
||||||
|
}, function() {
|
||||||
|
$(this).find('.card-title').css('text-shadow', 'none');
|
||||||
|
});
|
||||||
|
|
||||||
|
// Handle button clicks
|
||||||
|
$('.cta-button').click(function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
// Add ripple effect
|
||||||
|
let x = e.clientX - e.target.getBoundingClientRect().left;
|
||||||
|
let y = e.clientY - e.target.getBoundingClientRect().top;
|
||||||
|
|
||||||
|
let ripple = $('<span></span>').css({
|
||||||
|
position: 'absolute',
|
||||||
|
background: 'rgba(255, 255, 255, 0.3)',
|
||||||
|
borderRadius: '50%',
|
||||||
|
transform: 'scale(0)',
|
||||||
|
left: x + 'px',
|
||||||
|
top: y + 'px',
|
||||||
|
pointerEvents: 'none'
|
||||||
|
});
|
||||||
|
|
||||||
|
$(this).append(ripple);
|
||||||
|
|
||||||
|
ripple.animate({
|
||||||
|
width: '500px',
|
||||||
|
height: '500px',
|
||||||
|
opacity: '0',
|
||||||
|
marginLeft: '-250px',
|
||||||
|
marginTop: '-250px',
|
||||||
|
borderRadius: '50%'
|
||||||
|
}, 800, function() {
|
||||||
|
ripple.remove();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
x
Reference in New Issue
Block a user