Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dotenv": "^17.3.1",
"express": "^4.18.2",
"express-rate-limit": "^8.5.2",
"google-auth-library": "^10.6.2",
"google-auth-library": "^10.7.0",
"jsonwebtoken": "^9.0.2",
"razorpay": "^2.9.6",
"uuid": "^9.0.0"
Expand Down
3 changes: 3 additions & 0 deletions public/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<link rel="stylesheet" href="css/light-mode.css">
</head>
<body>
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>
<div class="bg-gradient"></div>
<div class="bg-noise"></div>

Expand Down Expand Up @@ -548,5 +550,6 @@ <h2 class="modal-title" id="confirmTitle">Confirm Action</h2>

<script src="/js/admin.js"></script>
<script src="js/theme-toggle.js"></script>
<script src="/js/cursor.js"></script>
</body>
</html>
32 changes: 32 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,37 @@ input, textarea, select {
max-height: 0;
opacity: 0;
}

/* ─── Custom Orb Cursor ─── */

body { cursor: none; }
a, button, .feature-card, .theme-preview-card { cursor: none; }

#cursor-orb-glow {
position: fixed; width: 110px; height: 110px; border-radius: 50%;
background: radial-gradient(circle, rgba(168,85,247,0.55) 0%, rgba(139,92,246,0.25) 45%, transparent 72%);
pointer-events: none; z-index: 99998;
transition: width .3s, height .3s;
}
#cursor-orb-core {
position: fixed; width: 10px; height: 10px; border-radius: 50%;
background: #e9d5ff;
box-shadow: 0 0 8px #a855f7, 0 0 18px #7c3aed;
pointer-events: none; z-index: 99999;
}
.light-mode #cursor-orb-core {
background: #a855f7;
box-shadow: 0 0 8px #7c3aed, 0 0 18px #a855f7;
}
@keyframes glitter-fly {
0% { opacity:1; transform: translate(0,0) rotate(0deg) scale(1); }
100%{ opacity:0; transform: translate(var(--tx),var(--ty)) rotate(var(--rot)) scale(0); }
}
@keyframes cursor-ripple {
0% { transform: translate(-50%,-50%) scale(0); opacity:.7; }
100%{ transform: translate(-50%,-50%) scale(1); opacity:0; }
}
=======
::selection {
background: #a855f7;
color: #ffffff;
Expand Down Expand Up @@ -842,3 +873,4 @@ input, textarea, select {
transition:.2s;
}


3 changes: 3 additions & 0 deletions public/features/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
</head>

<body>
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>
<div class="bg-gradient"></div>
<div class="bg-noise"></div>
<div class="floating-orb orb-1"></div>
Expand Down Expand Up @@ -653,6 +655,7 @@ <h4>Support</h4><a href="/#contact">Contact Us</a>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.8.1/vanilla-tilt.min.js"></script>
<script src="/js/features.js"></script>
<script src="../js/theme-toggle.js"></script>
<script src="/js/cursor.js"></script>
</body>

</html>
3 changes: 3 additions & 0 deletions public/features/grow.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
</head>

<body>
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>
<div class="bg-gradient"></div>
<div class="bg-noise"></div>
<div class="floating-orb orb-1"></div>
Expand Down Expand Up @@ -593,6 +595,7 @@ <h4>Support</h4><a href="/#contact">Contact Us</a>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.8.1/vanilla-tilt.min.js"></script>
<script src="/js/features.js"></script>
<script src="../js/theme-toggle.js"></script>
<script src="/js/cursor.js"></script>
</body>

</html>
3 changes: 3 additions & 0 deletions public/features/link-in-bio.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<link rel="stylesheet" href="../css/light-mode.css">
</head>
<body>
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>
<div class="bg-gradient"></div>
<div class="bg-noise"></div>
<div class="floating-orb orb-1"></div>
Expand Down Expand Up @@ -498,5 +500,6 @@ <h2>Ready to <span class="gradient-text">stand out?</span></h2>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.8.1/vanilla-tilt.min.js"></script>
<script src="/js/features.js"></script>
<script src="../js/theme-toggle.js"></script>
<script src="/js/cursor.js"></script>
</body>
</html>
3 changes: 3 additions & 0 deletions public/features/monetize.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
</head>

<body>
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>
<div class="bg-gradient"></div>
<div class="bg-noise"></div>
<div class="floating-orb orb-1"></div>
Expand Down Expand Up @@ -627,6 +629,7 @@ <h4>Support</h4><a href="/#contact">Contact Us</a>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.8.1/vanilla-tilt.min.js"></script>
<script src="/js/features.js"></script>
<script src="../js/theme-toggle.js"></script>
<script src="/js/cursor.js"></script>
</body>

</html>
3 changes: 3 additions & 0 deletions public/features/social-media.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
</head>

<body>
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>
<div class="bg-gradient"></div>
<div class="bg-noise"></div>
<div class="floating-orb orb-1"></div>
Expand Down Expand Up @@ -610,6 +612,7 @@ <h4>Support</h4><a href="/#contact">Contact Us</a>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.8.1/vanilla-tilt.min.js"></script>
<script src="/js/features.js"></script>
<script src="/js/cursor.js"></script>
</body>

</html>
6 changes: 4 additions & 2 deletions public/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@
</head>

<body>
<!-- Custom Aura Cursor -->
<div id="cursor-glow"></div>
<!-- Custom Orb Cursor -->
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>

<!-- Aurora Backgrounds -->
<div class="bg-gradient"></div>
Expand Down Expand Up @@ -1186,6 +1187,7 @@ <h4>Support</h4>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.8.1/vanilla-tilt.min.js"></script>
<script src="js/home.js"></script>
<script src="js/theme-toggle.js"></script>
<script src="/js/cursor.js"></script>
</body>

</html>
4 changes: 4 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
</script>
</head>
<body class="theme-midnight">

<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>

<!-- scroll progress -->
<div id="scroll-progress"></div>
Expand Down Expand Up @@ -104,5 +107,6 @@ <h1 class="profile-name" id="profileName">Loading...</h1>

<script src="/js/app.js"></script>
<script src="js/theme-toggle.js"></script>
<script src="/js/cursor.js"></script>
</body>
</html>
73 changes: 73 additions & 0 deletions public/js/cursor.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
(function () {
if (window.matchMedia('(pointer: coarse)').matches) return;

const glow = document.getElementById('cursor-orb-glow');
const core = document.getElementById('cursor-orb-core');
if (!glow || !core) return;

let mx = 0, my = 0, gx = 0, gy = 0;

document.addEventListener('mousemove', e => {
mx = e.clientX; my = e.clientY;
core.style.transform = `translate(calc(${mx}px - 50%), calc(${my}px - 50%))`;
});

(function loop() {
gx += (mx - gx) * 0.07;
gy += (my - gy) * 0.07;
glow.style.transform = `translate(calc(${gx}px - 50%), calc(${gy}px - 50%))`;
requestAnimationFrame(loop);
})();

document.querySelectorAll('a, button, .feature-card, .theme-preview-card, .link-card, .nav-item, .section-card').forEach(el => {
el.addEventListener('mouseenter', () => { glow.style.width = '160px'; glow.style.height = '160px'; });
el.addEventListener('mouseleave', () => { glow.style.width = '110px'; glow.style.height = '110px'; });
});

const colors = ['#e9d5ff', '#c084fc', '#a855f7', '#7c3aed', '#f5f3ff', '#ddd6fe'];

function spawnGlitter(x, y, count) {
for (let i = 0; i < count; i++) {
const el = document.createElement('div');
const ang = Math.random() * Math.PI * 2;
const dist = 30 + Math.random() * 80;
const size = 2 + Math.random() * 5;
el.style.cssText = `position:fixed;left:${x}px;top:${y}px;width:${size}px;height:${size}px;
background:${colors[Math.floor(Math.random() * colors.length)]};
border-radius:${['50%', '2px', '0'][Math.floor(Math.random() * 3)]};
pointer-events:none;z-index:99997;
--tx:${Math.cos(ang) * dist}px;--ty:${Math.sin(ang) * dist}px;
--rot:${Math.random() * 720 - 360}deg;
animation:glitter-fly ${.5 + Math.random() * .5}s ease-out forwards;`;
document.body.appendChild(el);
setTimeout(() => el.remove(), 1000);
}
}

function spawnRipple(x, y) {
[40, 80].forEach((sz, i) => {
const r = document.createElement('div');
r.style.cssText = `position:fixed;left:${x}px;top:${y}px;width:${sz}px;height:${sz}px;
border-radius:50%;border:1.5px solid rgba(168,85,247,${.7 - i * .2});
pointer-events:none;z-index:99996;
animation:cursor-ripple ${.6 + i * .2}s ease-out ${i * .08}s forwards;`;
document.body.appendChild(r);
setTimeout(() => r.remove(), 900);
});
}

let clickTimer = null;

document.addEventListener('click', e => {
if (clickTimer) {
clearTimeout(clickTimer);
clickTimer = null;
spawnGlitter(e.clientX, e.clientY, 32);
return;
}
clickTimer = setTimeout(() => {
spawnGlitter(e.clientX, e.clientY, 18);
clickTimer = null;
}, 220);
});
})();
21 changes: 0 additions & 21 deletions public/js/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,27 +491,6 @@
});
}

// ─── Visual Upgrades (Cursor, Typewriter, Magnetic, Tilt) ───
function initCustomCursor() {
const cursor = document.getElementById('cursor-glow');
if (!cursor) return;
document.addEventListener('mousemove', (e) => {
cursor.style.transform = `translate(calc(${e.clientX}px - 50%), calc(${e.clientY}px - 50%))`;
});
const interactables = document.querySelectorAll('a, button, .feature-card, .pricing-card, .use-case-card, .theme-preview-card');
interactables.forEach(el => {
el.addEventListener('mouseenter', () => {
cursor.style.width = '60px';
cursor.style.height = '60px';
cursor.style.background = 'var(--accent-light)';
});
el.addEventListener('mouseleave', () => {
cursor.style.width = '40px';
cursor.style.height = '40px';
cursor.style.background = 'var(--accent)';
});
});
}

function initTypewriter() {
const tw = document.getElementById('typewriter');
Expand Down
6 changes: 6 additions & 0 deletions public/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<link rel="stylesheet" href="css/light-mode.css">
</head>
<body>
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>
<div class="bg-gradient"></div>
<div class="bg-noise"></div>
<div class="floating-orb orb-1"></div>
Expand Down Expand Up @@ -127,6 +129,9 @@ <h1>Welcome back</h1>
<script src="/js/auth.js"></script>
<script src="js/theme-toggle.js"></script>

<script src="/js/cursor.js"></script>


<script>
const password = document.getElementById("loginPassword");
const toggle = document.getElementById("togglePassword");
Expand All @@ -148,5 +153,6 @@ <h1>Welcome back</h1>
});
</script>


</body>
</html>
3 changes: 3 additions & 0 deletions public/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
</head>

<body>
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>
<div class="bg-gradient"></div>
<div class="bg-noise"></div>
<div class="floating-orb orb-1"></div>
Expand Down Expand Up @@ -137,6 +139,7 @@ <h1>Create your account</h1>

<script src="/js/auth.js"></script>
<script src="js/theme-toggle.js"></script>
<script src="/js/cursor.js"></script>
</body>

</html>
3 changes: 3 additions & 0 deletions public/team.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@
<link rel="stylesheet" href="css/light-mode.css">
</head>
<body>
<div id="cursor-orb-glow"></div>
<div id="cursor-orb-core"></div>
<div class="bg-gradient"></div>
<div class="bg-noise"></div>
<div class="floating-orb orb-1"></div>
Expand Down Expand Up @@ -387,5 +389,6 @@ <h2>Join the team building<br>the future of creator tools.</h2>

</div>
<script src="js/theme-toggle.js"></script>
<script src="/js/cursor.js"></script>
</body>
</html>