mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-30 07:26:45 +00:00
theme-landing
This commit is contained in:
@@ -5,6 +5,7 @@ import { useState, useEffect } from 'react'
|
||||
import Link from 'next/link'
|
||||
import Logo from './Logo'
|
||||
import MobileMenu from './MobileMenu'
|
||||
import CONFIG from '../config'
|
||||
|
||||
export default function Header() {
|
||||
const [top, setTop] = useState(true)
|
||||
@@ -35,13 +36,13 @@ export default function Header() {
|
||||
{/* Desktop sign in links */}
|
||||
<ul className="flex grow justify-end flex-wrap items-center">
|
||||
<li>
|
||||
<Link href="https://github.com/tangly1024/NotionNext" target='_blank' className="font-medium hover:font-bold text-gray-600 hover:text-gray-900 px-5 py-3 flex items-center transition duration-150 ease-in-out">
|
||||
<i className='fab fa-github mr-1'></i><div>开源仓库</div>
|
||||
<Link href={CONFIG.HEDEAR_BUTTON_1_URL} target='_blank' className="font-medium hover:font-bold text-gray-600 hover:text-gray-900 px-5 py-3 flex items-center transition duration-150 ease-in-out">
|
||||
<div>{CONFIG.HEADER_BUTTON_1_TITLE}</div>
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="https://blog.tangly1024.com/" target='_blank' className="btn-sm text-gray-200 bg-gray-900 hover:bg-gray-800 ml-3">
|
||||
<span>我的博客</span>
|
||||
<Link href={CONFIG.HEDEAR_BUTTON_2_URL} target='_blank' className="btn-sm text-gray-200 bg-gray-900 hover:bg-gray-800 ml-3">
|
||||
<span>{CONFIG.HEADER_BUTTON_2_TITLE}</span>
|
||||
<svg className="w-3 h-3 fill-current text-gray-400 shrink-0 ml-2 -mr-1" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.707 5.293L7 .586 5.586 2l3 3H0v2h8.586l-3 3L7 11.414l4.707-4.707a1 1 0 000-1.414z" fillRule="nonzero" />
|
||||
</svg>
|
||||
|
||||
Reference in New Issue
Block a user