feat: add company logo and configure Cloudflare tunnel support

- Add company logo to login page and all sidebar variants
- Configure Next.js rewrites to proxy /api/* to backend
- Enable external access via Cloudflare Zero Trust tunnel

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Consultoria AS
2026-01-22 07:32:21 +00:00
parent 7454cf67e6
commit 4fd6f01303
6 changed files with 47 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
'use client';
import Link from 'next/link';
import Image from 'next/image';
import { usePathname } from 'next/navigation';
import { cn } from '@/lib/utils';
import {
@@ -69,9 +70,13 @@ export function SidebarCompact() {
{/* Logo */}
<div className="flex h-14 items-center border-b px-4">
<Link href="/dashboard" className="flex items-center gap-2">
<div className="h-8 w-8 rounded bg-primary flex items-center justify-center flex-shrink-0">
<span className="text-primary-foreground font-bold text-lg">H</span>
</div>
<Image
src="/logo.jpg"
alt="Horux360"
width={32}
height={32}
className="rounded-full flex-shrink-0"
/>
<span className={cn(
'font-bold text-lg whitespace-nowrap transition-opacity duration-300',
expanded ? 'opacity-100' : 'opacity-0 w-0 overflow-hidden'