File size: 1,084 Bytes
b4ff6a9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { ShieldCheck } from 'lucide-react';

export default function Layout({ children }) {
  return (
    <div className="flex flex-col h-screen w-full bg-telegram-bg text-telegram-text">
      {/* Header */}
      <header className="h-14 flex items-center justify-between px-4 bg-telegram-sidebar border-b border-gray-800 shadow-md z-10 shrink-0">
        <div className="flex items-center gap-2">
          <ShieldCheck className="text-telegram-accent encrypted-icon" size={24} />
          <h1 className="font-bold text-lg tracking-wide">SecureChat</h1>
        </div>
        <a 
          href="https://huggingface.co/spaces/akhaliq/anycoder" 
          target="_blank" 
          rel="noopener noreferrer"
          className="text-xs text-telegram-secondary hover:text-telegram-accent transition-colors flex items-center gap-1 bg-white/5 px-2 py-1 rounded-full"
        >
          Built with anycoder
        </a>
      </header>

      {/* Main Content Area */}
      <main className="flex-1 flex overflow-hidden relative">
        {children}
      </main>
    </div>
  );
}