integratedhub/islands/tiles/GuestDemoTile.tsx
2026-01-20 09:02:26 -06:00

18 lines
600 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export default function GuestDemoTile() {
return (
<button
type="button"
class="rounded-xl shadow-lg bg-white hover:bg-blue-50 transition flex flex-col items-center p-6 w-full h-48 focus:outline-none focus:ring-2 focus:ring-blue-400"
onClick={() => {
globalThis.location.href = "/guest-demo";
}}
>
<span class="tile-icon text-4xl mb-2">🎟️</span>
<span class="font-semibold text-lg mb-1">Guest Demo</span>
<span class="text-gray-500 text-sm text-center">
Explore the platform as a guest user.
</span>
</button>
);
}