"use client"; import React from "react"; import Link from "next/link"; import { ArrowRight, LayoutGrid, CloudUpload } from "lucide-react"; import { useCloud } from "@/context/CloudContext"; import { ToastStack } from "@/components/GlobalModals"; export function NavbarPublic() { const { healthOk, currentUser, toasts } = useCloud(); return ( <>
Upload ThTuanIT Cloud Pro

Nền tảng Lưu trữ & Chia sẻ Tệp Siêu Tốc

{currentUser ? ( Vào Workspace (@{currentUser.username}) ) : ( <> Đăng nhập Đăng ký miễn phí )}
); }