2023-07-19 16:49:54 -05:00
|
|
|
import { faPlus } from "@fortawesome/free-solid-svg-icons";
|
|
|
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
|
|
import React from "react";
|
|
|
|
import useModalStore from "@/store/modals";
|
|
|
|
|
|
|
|
export default function NoLinksFound() {
|
|
|
|
const { setModal } = useModalStore();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="border border-solid border-sky-100 w-full p-10 rounded-2xl">
|
2023-07-22 16:49:09 -05:00
|
|
|
<p className="text-center text-3xl text-sky-700">
|
2023-07-19 16:54:06 -05:00
|
|
|
You haven't created any Links Here
|
2023-07-19 16:49:54 -05:00
|
|
|
</p>
|
|
|
|
<br />
|
|
|
|
<div className="text-center text-sky-900 text-sm flex items-baseline justify-center gap-1 w-full">
|
|
|
|
<p>Start by creating a</p>{" "}
|
|
|
|
<div
|
|
|
|
onClick={() => {
|
|
|
|
setModal({
|
|
|
|
modal: "LINK",
|
|
|
|
state: true,
|
|
|
|
method: "CREATE",
|
|
|
|
});
|
|
|
|
}}
|
2023-07-22 16:49:09 -05:00
|
|
|
className="inline-flex gap-1 relative w-[7.2rem] items-center font-semibold select-none cursor-pointer p-2 px-3 rounded-full text-white bg-sky-700 hover:bg-sky-600 duration-100 group"
|
2023-07-19 16:49:54 -05:00
|
|
|
>
|
|
|
|
<FontAwesomeIcon
|
|
|
|
icon={faPlus}
|
|
|
|
className="w-5 h-5 group-hover:ml-9 absolute duration-100"
|
|
|
|
/>
|
|
|
|
<span className="block group-hover:opacity-0 text-right w-full duration-100">
|
|
|
|
New Link
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|