upstream #1
@ -32,7 +32,8 @@ const Header = () => {
|
|||||||
<Link
|
<Link
|
||||||
key={link.title}
|
key={link.title}
|
||||||
href={link.href}
|
href={link.href}
|
||||||
className="hidden font-medium text-gray-900 dark:text-gray-100 sm:block"
|
className="hidden font-medium text-gray-900 hover:text-primary-500 dark:text-gray-100 dark:hover:text-primary-400
|
||||||
|
sm:block"
|
||||||
>
|
>
|
||||||
{link.title}
|
{link.title}
|
||||||
</Link>
|
</Link>
|
||||||
|
@ -26,7 +26,8 @@ const MobileNav = () => {
|
|||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 20 20"
|
viewBox="0 0 20 20"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
className="h-8 w-8 text-gray-900 dark:text-gray-100"
|
className="h-8 w-8 text-gray-900 hover:text-primary-500 dark:text-gray-100
|
||||||
|
dark:hover:text-primary-400"
|
||||||
>
|
>
|
||||||
<path
|
<path
|
||||||
fillRule="evenodd"
|
fillRule="evenodd"
|
||||||
@ -46,7 +47,8 @@ const MobileNav = () => {
|
|||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 20 20"
|
viewBox="0 0 20 20"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
className="text-gray-900 dark:text-gray-100"
|
className="text-gray-900 hover:text-primary-500 dark:text-gray-100
|
||||||
|
dark:hover:text-primary-400"
|
||||||
>
|
>
|
||||||
<path
|
<path
|
||||||
fillRule="evenodd"
|
fillRule="evenodd"
|
||||||
@ -61,7 +63,8 @@ const MobileNav = () => {
|
|||||||
<div key={link.title} className="px-12 py-4">
|
<div key={link.title} className="px-12 py-4">
|
||||||
<Link
|
<Link
|
||||||
href={link.href}
|
href={link.href}
|
||||||
className="text-2xl font-bold tracking-widest text-gray-900 dark:text-gray-100"
|
className="text-2xl font-bold tracking-widest text-gray-900 hover:text-primary-500 dark:text-gray-100
|
||||||
|
dark:hover:text-primary-400"
|
||||||
onClick={onToggleNav}
|
onClick={onToggleNav}
|
||||||
>
|
>
|
||||||
{link.title}
|
{link.title}
|
||||||
|
@ -18,7 +18,8 @@ const SearchButton = () => {
|
|||||||
viewBox="0 0 24 24"
|
viewBox="0 0 24 24"
|
||||||
strokeWidth={1.5}
|
strokeWidth={1.5}
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
className="h-6 w-6 text-gray-900 dark:text-gray-100"
|
className="h-6 w-6 text-gray-900 hover:text-primary-500 dark:text-gray-100
|
||||||
|
dark:hover:text-primary-400"
|
||||||
>
|
>
|
||||||
<path
|
<path
|
||||||
strokeLinecap="round"
|
strokeLinecap="round"
|
||||||
|
@ -56,7 +56,7 @@ const ThemeSwitch = () => {
|
|||||||
return (
|
return (
|
||||||
<div className="mr-5">
|
<div className="mr-5">
|
||||||
<Menu as="div" className="relative inline-block text-left">
|
<Menu as="div" className="relative inline-block text-left">
|
||||||
<div>
|
<div className="hover:text-primary-500 dark:hover:text-primary-400">
|
||||||
<Menu.Button>
|
<Menu.Button>
|
||||||
{mounted ? resolvedTheme === 'dark' ? <Moon /> : <Sun /> : <Blank />}
|
{mounted ? resolvedTheme === 'dark' ? <Moon /> : <Sun /> : <Blank />}
|
||||||
</Menu.Button>
|
</Menu.Button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user