ui improvements
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import Link from "next/link";
|
||||
import React, { ReactElement } from "react";
|
||||
|
||||
@@ -11,7 +10,7 @@ interface SidebarItemProps {
|
||||
export default function ({ text, icon, path }: SidebarItemProps) {
|
||||
return (
|
||||
<Link href={path}>
|
||||
<div className="hover:bg-gray-50 hover:outline outline-sky-100 outline-1 duration-100 rounded my-1 p-3 cursor-pointer flex items-center gap-2">
|
||||
<div className="hover:bg-gray-50 hover:outline outline-sky-100 outline-1 duration-100 rounded-md my-1 p-2 cursor-pointer flex items-center gap-2">
|
||||
{React.cloneElement(icon, {
|
||||
className: "w-4 text-sky-300",
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user