Merge branch 'main' into add-formatter

This commit is contained in:
tequ
2025-07-03 20:57:38 +09:00

View File

@@ -94,7 +94,7 @@ export default function Header(props) {
</a> </a>
<Popover className="relative"> <Popover className="relative">
<PopoverButton <PopoverButton
className={`selected:no-underline no-underline p-0 border-none text-base text-black flex items-center gap-x-1 bg-transparent ${props.url.pathname.slice(1).split('/')[0] === 'docs' ? 'font-bold' : 'font-regular'}`} className={`selected:no-underline no-underline p-0 border-none text-base text-black flex items-center gap-x-1 bg-transparent hover:cursor-pointer ${props.url.pathname.slice(1).split('/')[0] === 'docs' ? 'font-bold' : 'font-regular'}`}
> >
Documentation Documentation
<ChevronDownIcon <ChevronDownIcon
@@ -108,23 +108,24 @@ export default function Header(props) {
> >
<div className="p-4"> <div className="p-4">
{docs.map((item) => ( {docs.map((item) => (
<a
key={item.name}
href={item.href}
className="no-underline block font-regular text-white"
>
<div <div
key={item.name} key={item.name}
className="group relative flex items-center gap-x-6 p-2 text-sm/6" className="group relative flex items-center gap-x-6 p-2 text-sm/6"
>
<a
href={item.href}
className="no-underline block font-regular text-white"
> >
{item.name} {item.name}
</a>
</div> </div>
</a>
))} ))}
</div> </div>
</PopoverPanel> </PopoverPanel>
</Popover> </Popover>
<Popover className="relative"> <Popover className="relative">
<PopoverButton className="flex p-0 border-none items-center gap-x-1 text-base font-regular text-black bg-transparent"> <PopoverButton className="flex p-0 border-none items-center gap-x-1 text-base font-regular text-black bg-transparent hover:cursor-pointer ">
Connect Connect
<ChevronDownIcon <ChevronDownIcon
aria-hidden="true" aria-hidden="true"
@@ -137,24 +138,25 @@ export default function Header(props) {
> >
<div className="p-4"> <div className="p-4">
{socials.map((item) => ( {socials.map((item) => (
<div
key={item.name}
className="group relative flex items-center gap-x-6 p-2 text-sm/6"
>
<a <a
key={item.name}
href={item.href} href={item.href}
target="_blank" target="_blank"
className="no-underline block font-regular text-white" className="no-underline block font-regular text-white"
>
<div
key={item.name}
className="group relative flex items-center gap-x-6 p-2 text-sm/6"
> >
{item.name} {item.name}
</a>
</div> </div>
</a>
))} ))}
</div> </div>
</PopoverPanel> </PopoverPanel>
</Popover> </Popover>
<Popover className="relative"> <Popover className="relative">
<PopoverButton className="flex p-0 border-none items-center gap-x-1 text-base font-regular text-black bg-transparent"> <PopoverButton className="flex p-0 border-none items-center gap-x-1 text-base font-regular text-black bg-transparent hover:cursor-pointer">
Explorers Explorers
<ChevronDownIcon <ChevronDownIcon
aria-hidden="true" aria-hidden="true"
@@ -167,18 +169,19 @@ export default function Header(props) {
> >
<div className="p-4"> <div className="p-4">
{explorers.map((item) => ( {explorers.map((item) => (
<div
key={item.name}
className="group relative flex items-center gap-x-6 p-2 text-sm/6"
>
<a <a
key={item.name}
href={item.href} href={item.href}
target="_blank" target="_blank"
className="no-underline block font-regular text-white" className="no-underline block font-regular text-white"
>
<div
key={item.name}
className="group relative flex items-center gap-x-6 p-2 text-sm/6"
> >
{item.name} {item.name}
</a>
</div> </div>
</a>
))} ))}
</div> </div>
</PopoverPanel> </PopoverPanel>