Spaces:
Running
Running
axeronis commited on
Commit ·
2e478cd
1
Parent(s): 4f5c476
Fix logo display issue with cache busting
Browse files- frontend/app/login/page.tsx +1 -1
- frontend/app/page.tsx +2 -2
- frontend/app/register/page.tsx +1 -1
- frontend/components/landing/Navbar.tsx +1 -1
- verify_images.py +18 -0
frontend/app/login/page.tsx
CHANGED
|
@@ -52,7 +52,7 @@ export default function LoginPage() {
|
|
| 52 |
<div className="flex justify-center mb-8">
|
| 53 |
<Link href="/" className="group">
|
| 54 |
<div className="w-16 h-16 flex items-center justify-center transition-transform group-hover:scale-105 duration-300">
|
| 55 |
-
<img src="/logo-symbol-transparent.png" alt="MicroFunnel Logo" className="w-full h-full object-contain drop-shadow-[0_0_20px_rgba(99,102,241,0.5)]" />
|
| 56 |
</div>
|
| 57 |
</Link>
|
| 58 |
</div>
|
|
|
|
| 52 |
<div className="flex justify-center mb-8">
|
| 53 |
<Link href="/" className="group">
|
| 54 |
<div className="w-16 h-16 flex items-center justify-center transition-transform group-hover:scale-105 duration-300">
|
| 55 |
+
<img src="/logo-symbol-transparent.png?v=3" alt="MicroFunnel Logo" className="w-full h-full object-contain drop-shadow-[0_0_20px_rgba(99,102,241,0.5)]" />
|
| 56 |
</div>
|
| 57 |
</Link>
|
| 58 |
</div>
|
frontend/app/page.tsx
CHANGED
|
@@ -368,7 +368,7 @@ export default function HomePage() {
|
|
| 368 |
<div className="relative h-full bg-[#0F111A] border border-indigo-500/30 rounded-3xl p-8 md:p-10 shadow-2xl shadow-indigo-500/10 ring-1 ring-indigo-500/20">
|
| 369 |
<div className="flex items-center gap-4 mb-8">
|
| 370 |
<div className="w-12 h-12 flex items-center justify-center">
|
| 371 |
-
<img src="/logo-symbol-transparent.png" alt="MicroFunnel" className="w-full h-full object-contain drop-shadow-[0_0_15px_rgba(99,102,241,0.5)]" />
|
| 372 |
</div>
|
| 373 |
<div>
|
| 374 |
<h3 className="text-2xl font-bold text-white">MicroFunnel AI</h3>
|
|
@@ -591,7 +591,7 @@ export default function HomePage() {
|
|
| 591 |
<div className="md:col-span-2">
|
| 592 |
<div className="flex items-center gap-2 mb-6">
|
| 593 |
<div className="w-8 h-8 flex items-center justify-center">
|
| 594 |
-
<img src="/logo-symbol-transparent.png" alt="MicroFunnel Logo" className="w-full h-full object-contain" />
|
| 595 |
</div>
|
| 596 |
<span className="text-white font-bold text-xl tracking-tight">MicroFunnel</span>
|
| 597 |
</div>
|
|
|
|
| 368 |
<div className="relative h-full bg-[#0F111A] border border-indigo-500/30 rounded-3xl p-8 md:p-10 shadow-2xl shadow-indigo-500/10 ring-1 ring-indigo-500/20">
|
| 369 |
<div className="flex items-center gap-4 mb-8">
|
| 370 |
<div className="w-12 h-12 flex items-center justify-center">
|
| 371 |
+
<img src="/logo-symbol-transparent.png?v=3" alt="MicroFunnel" className="w-full h-full object-contain drop-shadow-[0_0_15px_rgba(99,102,241,0.5)]" />
|
| 372 |
</div>
|
| 373 |
<div>
|
| 374 |
<h3 className="text-2xl font-bold text-white">MicroFunnel AI</h3>
|
|
|
|
| 591 |
<div className="md:col-span-2">
|
| 592 |
<div className="flex items-center gap-2 mb-6">
|
| 593 |
<div className="w-8 h-8 flex items-center justify-center">
|
| 594 |
+
<img src="/logo-symbol-transparent.png?v=3" alt="MicroFunnel Logo" className="w-full h-full object-contain" />
|
| 595 |
</div>
|
| 596 |
<span className="text-white font-bold text-xl tracking-tight">MicroFunnel</span>
|
| 597 |
</div>
|
frontend/app/register/page.tsx
CHANGED
|
@@ -90,7 +90,7 @@ export default function RegisterPage() {
|
|
| 90 |
<div className="flex justify-center mb-8">
|
| 91 |
<Link href="/" className="group">
|
| 92 |
<div className="w-16 h-16 flex items-center justify-center transition-transform group-hover:scale-105 duration-300">
|
| 93 |
-
<img src="/logo-symbol-transparent.png" alt="MicroFunnel Logo" className="w-full h-full object-contain drop-shadow-[0_0_20px_rgba(99,102,241,0.5)]" />
|
| 94 |
</div>
|
| 95 |
</Link>
|
| 96 |
</div>
|
|
|
|
| 90 |
<div className="flex justify-center mb-8">
|
| 91 |
<Link href="/" className="group">
|
| 92 |
<div className="w-16 h-16 flex items-center justify-center transition-transform group-hover:scale-105 duration-300">
|
| 93 |
+
<img src="/logo-symbol-transparent.png?v=3" alt="MicroFunnel Logo" className="w-full h-full object-contain drop-shadow-[0_0_20px_rgba(99,102,241,0.5)]" />
|
| 94 |
</div>
|
| 95 |
</Link>
|
| 96 |
</div>
|
frontend/components/landing/Navbar.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export function Navbar() {
|
|
| 12 |
{/* Logo */}
|
| 13 |
<Link href="/" className="flex items-center gap-3">
|
| 14 |
<div className="w-10 h-10 rounded-xl flex items-center justify-center overflow-hidden">
|
| 15 |
-
<img src="/logo-symbol.png" alt="MicroFunnel Logo" className="w-full h-full object-contain" />
|
| 16 |
</div>
|
| 17 |
<span className="text-white font-bold text-2xl tracking-tight">MicroFunnel</span>
|
| 18 |
</Link>
|
|
|
|
| 12 |
{/* Logo */}
|
| 13 |
<Link href="/" className="flex items-center gap-3">
|
| 14 |
<div className="w-10 h-10 rounded-xl flex items-center justify-center overflow-hidden">
|
| 15 |
+
<img src="/logo-symbol-transparent.png?v=3" alt="MicroFunnel Logo" className="w-full h-full object-contain" />
|
| 16 |
</div>
|
| 17 |
<span className="text-white font-bold text-2xl tracking-tight">MicroFunnel</span>
|
| 18 |
</Link>
|
verify_images.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from PIL import Image
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
files = [
|
| 5 |
+
"frontend/public/logo-symbol.png",
|
| 6 |
+
"frontend/public/logo-symbol-transparent.png"
|
| 7 |
+
]
|
| 8 |
+
|
| 9 |
+
for f in files:
|
| 10 |
+
if os.path.exists(f):
|
| 11 |
+
try:
|
| 12 |
+
img = Image.open(f)
|
| 13 |
+
img.verify()
|
| 14 |
+
print(f"{f}: OK, format={img.format}, size={img.size}, mode={img.mode}")
|
| 15 |
+
except Exception as e:
|
| 16 |
+
print(f"{f}: INVALID - {e}")
|
| 17 |
+
else:
|
| 18 |
+
print(f"{f}: NOT FOUND")
|