LPX55 commited on
Commit
1fa0ebc
·
verified ·
1 Parent(s): 4be9271

Upload components/TmaHeader.tsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/TmaHeader.tsx +19 -0
components/TmaHeader.tsx ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Link from 'next/link';
2
+
3
+ export default function TmaHeader() {
4
+ return (
5
+ <header className="bg-tg-bg border-b border-tg-border sticky top-0 z-50">
6
+ <div className="max-w-md mx-auto px-4 py-3 flex items-center justify-between">
7
+ <h1 className="text-xl font-bold text-tg-text">Telegram MiniApp</h1>
8
+ <Link
9
+ href="https://huggingface.co/spaces/akhaliq/anycoder"
10
+ target="_blank"
11
+ rel="noopener noreferrer"
12
+ className="text-sm font-medium text-tg-link hover:underline"
13
+ >
14
+ Built with anycoder
15
+ </Link>
16
+ </div>
17
+ </header>
18
+ );
19
+ }