[feat] small color, content revision
This commit is contained in:
parent
fb466e1c15
commit
3d53a8f54a
11 changed files with 171 additions and 69 deletions
|
|
@ -3,8 +3,8 @@ const Button = ({ children, variation, ...props }) => (
|
|||
{...props}
|
||||
className={`title mr-3 rounded-2xl px-8 py-2 shadow-md transition duration-300 ease-in-out ${
|
||||
variation === "primary"
|
||||
? "bg-gray-400 hover:bg-slate-500 text-gray-100 hover:text-white"
|
||||
: "transparent border border-gray-400 hover:border-slate-500 text-gray-400 hover:text-gray-300"
|
||||
? "bg-gray-700 hover:bg-transparent border-transparent hover:border-gray-700 border-2 text-gray-100 hover:text-gray-700 box-border"
|
||||
: "transparent border-2 border-gray-700 text-gray-700 hover:bg-gray-700 hover:text-gray-100 box-border"
|
||||
}`}>
|
||||
{children}
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@ const Sidebar = () => {
|
|||
return "";
|
||||
};
|
||||
return (
|
||||
<div className="hidden md:flex fixed z-40 bg-gray-600 h-[50vh] w-14 flex-col justify-between items-center p-4 left-0 top-1/4 rounded-e-3xl">
|
||||
<div className="hidden md:flex fixed z-40 bg-gray-700 h-[50vh] w-14 flex-col justify-between items-center p-4 left-0 top-1/4 rounded-e-3xl">
|
||||
<ul
|
||||
id="sidebar"
|
||||
className="flex flex-col justify-center items-center h-full space-y-16 text-gray-200">
|
||||
className="flex flex-col justify-center items-center h-full space-y-16 text-gray-50">
|
||||
<li data-menuanchor="home" className="active">
|
||||
<button onClick={() => handleMoveToSection(1)}>
|
||||
<FontAwesomeIcon icon={faHome} className="text-xl" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue