This commit is contained in:
parent
56677b7101
commit
b5013c6e3f
|
|
@ -38,16 +38,6 @@ import { message } from 'antd'
|
||||||
|
|
||||||
|
|
||||||
export function Header() {
|
export function Header() {
|
||||||
// const session = await auth()
|
|
||||||
// const userData2: UserData = {
|
|
||||||
// auth_token: "",
|
|
||||||
// id: 1,
|
|
||||||
// login_ip: "",
|
|
||||||
// login_time: 0,
|
|
||||||
// role: "",
|
|
||||||
// user_name: "",
|
|
||||||
// version: ""
|
|
||||||
// }
|
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
@ -72,25 +62,7 @@ export function Header() {
|
||||||
return (
|
return (
|
||||||
<header className="sticky top-0 z-50 flex w-full shrink-0 items-center justify-between bg-background px-4 py-[1.5rem]">
|
<header className="sticky top-0 z-50 flex w-full shrink-0 items-center justify-between bg-background px-4 py-[1.5rem]">
|
||||||
|
|
||||||
{/* <MobileLinks className="lg:hidden" />
|
|
||||||
<DesktopLinks className="hidden lg:flex" /> */}
|
|
||||||
<div className="lg:hidden" ></div>
|
|
||||||
<div className="hidden lg:flex" >
|
|
||||||
{/* <Button variant="ghost" className='text-base font-bold hover:bg-[#e5e7eb]' onClick={soonFunc}>
|
|
||||||
{t("header.course")}
|
|
||||||
</Button>
|
|
||||||
<Button variant="ghost" className='text-base font-bold hover:bg-[#e5e7eb]' onClick={soonFunc}>
|
|
||||||
{t("header.models")}
|
|
||||||
</Button>
|
|
||||||
<Button variant="ghost" className='text-base font-bold hover:bg-[#e5e7eb]' onClick={soonFunc}>
|
|
||||||
{t("header.resources")}
|
|
||||||
</Button> */}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* <Image src={logoImage} height={40} alt="show" className="cursor-pointer" onClick={() => {
|
|
||||||
router.push("/")
|
|
||||||
// toast.success('coming soon')
|
|
||||||
}} /> */}
|
|
||||||
<div className="flex items-center justify-between ">
|
<div className="flex items-center justify-between ">
|
||||||
<div className="flex items-center ">
|
<div className="flex items-center ">
|
||||||
{/* <IconSeparator className="size-6 text-muted-foreground/50" /> */}
|
{/* <IconSeparator className="size-6 text-muted-foreground/50" /> */}
|
||||||
|
|
@ -107,12 +79,6 @@ export function Header() {
|
||||||
|
|
||||||
) : (
|
) : (
|
||||||
<div className='flex gap-4 grid-cols-2 text-[#1A1A1A]'>
|
<div className='flex gap-4 grid-cols-2 text-[#1A1A1A]'>
|
||||||
{/* <Button variant="ghost" className='text-base bg-[#f4f4f5]'
|
|
||||||
onClick={() => {
|
|
||||||
router.push("/subscribe")
|
|
||||||
}}
|
|
||||||
>Subscribe</Button> */}
|
|
||||||
|
|
||||||
<Button variant="ghost" className='text-base bg-[#f4f4f5] hover:bg-[#e5e7eb]'>
|
<Button variant="ghost" className='text-base bg-[#f4f4f5] hover:bg-[#e5e7eb]'>
|
||||||
<Link href="/#subscribe-target"
|
<Link href="/#subscribe-target"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue