serif nav and fix actionbuttons when isclient is false
This commit is contained in:
parent
4a9a13fc16
commit
167b9d0ff9
@ -11,7 +11,7 @@ const getNavClasses = (isClient) =>
|
|||||||
const Nav = ({ isClient, internalLinks, className }) => (
|
const Nav = ({ isClient, internalLinks, className }) => (
|
||||||
<nav
|
<nav
|
||||||
className={classnames(
|
className={classnames(
|
||||||
"m-2 flex justify-center",
|
"m-2 flex justify-center font-serif",
|
||||||
isClient ? "text-vibrant-light" : "text-gray-200",
|
isClient ? "text-vibrant-light" : "text-gray-200",
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
|
@ -6,8 +6,8 @@ import Shuffle from "@spectrum-icons/workflow/Shuffle";
|
|||||||
|
|
||||||
const getButtonClasses = (isClient) =>
|
const getButtonClasses = (isClient) =>
|
||||||
classnames(
|
classnames(
|
||||||
"z-20 rounded-md text-md inline-block px-2 py-1 mt-1 mr-2 text-md hover:underline text-black",
|
"z-20 rounded-md text-md inline-block px-2 py-1 mt-1 mr-2 text-md hover:underline",
|
||||||
isClient ? "cool-border-small hover:bg-vibrant" : "text-gray-200"
|
isClient ? "cool-border-small hover:bg-vibrant" : "text-gray-300 bg-gray-700"
|
||||||
);
|
);
|
||||||
|
|
||||||
const ActionButtons = ({ isClient, image, shuffleImage }) => (
|
const ActionButtons = ({ isClient, image, shuffleImage }) => (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user