Compare commits
No commits in common. "487c5de10a77e939f28dda772b160829f6b571db" and "88e710051e1f05ccdfd22f64b5c49506fc5f8046" have entirely different histories.
487c5de10a
...
88e710051e
|
@ -1,40 +1,31 @@
|
||||||
import React from "react"
|
import React from "react"
|
||||||
import Image from "next/image"
|
import Image from "next/image"
|
||||||
import Link from "next/link"
|
|
||||||
|
|
||||||
type Props = {}
|
type Props = {}
|
||||||
|
|
||||||
export const Header = ({}: Props) => {
|
export const Header = ({}: Props) => {
|
||||||
return (
|
return (
|
||||||
<header className="w-full flex flex-row justify-between relative">
|
<header className="w-full flex flex-row justify-between relative">
|
||||||
<div className="flex flex-col">
|
<div className="flex-1">
|
||||||
<Web3NewsLogo />
|
<Web3NewsLogo />
|
||||||
<div className="relative mt-1">
|
</div>
|
||||||
|
<div className="w-28 h-8 relative">
|
||||||
<Image
|
<Image
|
||||||
className="-right-8 -top-3 absolute"
|
className="-right-4 top-0 absolute"
|
||||||
width={28}
|
width={28}
|
||||||
height={24}
|
height={24}
|
||||||
src="/lume-logo-sm.png"
|
src="/lume-logo-sm.png"
|
||||||
alt=""
|
alt=""
|
||||||
/>
|
/>
|
||||||
<span className="right-0 -top-[6px] absolute text-white text-opacity-50 text-sm font-normal font-secondary leading-7">
|
<span className="left-0 top-[6px] absolute text-white text-opacity-50 text-sm font-normal font-secondary leading-7">
|
||||||
a Lume project
|
a Lume project
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div className="flex gap-3 font-normal flex-row text-gray-300 rounded">
|
|
||||||
<Link href="/about" className="hover:text-white p-2 px-4 hover:bg-gray-800 rounded">
|
|
||||||
About
|
|
||||||
</Link>
|
|
||||||
<Link href="/donate" className="hover:text-white p-2 px-4 hover:bg-gray-800 rounded">
|
|
||||||
Contribute
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
</header>
|
</header>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const Web3NewsLogo = ({ className }: { className?: string }) => {
|
const Web3NewsLogo = ({ className }: { className?: string }) => {
|
||||||
return (
|
return (
|
||||||
<svg
|
<svg
|
||||||
className={className}
|
className={className}
|
||||||
|
@ -54,6 +45,6 @@ const Web3NewsLogo = ({ className }: { className?: string }) => {
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Header
|
export default Header
|
Loading…
Reference in New Issue