Open History to see the last commit
1import Logo from './icons/tanstack'
2
3export function AppHeader() {
4 return (
5 <div className="bg-white dark:bg-black/50 rounded-lg p-2 sm:p-4 flex items-center gap-2 text-lg sm:text-xl shadow-xl">
6 <div className="flex items-center gap-1.5">
7 <Logo />
8 <div className="font-black text-xl uppercase">TanStack</div>
9 </div>
10 <svg
11 stroke="currentColor"
12 fill="currentColor"
13 stroke-width="0"
14 viewBox="0 0 256 512"
15 height="1em"
16 width="1em"
17 xmlns="http://www.w3.org/2000/svg"
18 >
19 <path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path>
20 </svg>
21 <div className="hover:text-blue-500 flex items-center gap-2">
22 Create TanStack App{' '}
23 <span className="bg-gradient-to-r from-blue-500 to-cyan-500 text-white text-xs font-bold px-2 py-0.5 rounded">
24 ALPHA
25 </span>
26 </div>
27 </div>
28 )
29}