-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revised the client dropdown menu using headlessUI
- Loading branch information
1 parent
caed7b5
commit dc9f39b
Showing
4 changed files
with
61 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
"use client"; | ||
import React from "react"; | ||
import { Menu } from "@headlessui/react"; | ||
|
||
function DropdownCard() { | ||
return ( | ||
<Menu.Items | ||
as="div" | ||
className=" absolute left-full z-[1] mt-2 w-40 origin-top-right rounded-lg border-secondary bg-primary px-1 pb-1 pt-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none" | ||
> | ||
<Menu.Item> | ||
<a className="text-CCCFD2-700 group flex items-center px-4 py-2 text-sm hover:rounded-lg hover:bg-[rgb(205,213,224,0.1)] hover:text-white"> | ||
<span>Add outreach</span> | ||
</a> | ||
</Menu.Item> | ||
<Menu.Item> | ||
<a className="text-CCCFD2-700 group flex items-center px-4 py-2 text-sm hover:rounded-lg hover:bg-[rgb(205,213,224,0.1)] hover:text-white"> | ||
<span>Edit</span> | ||
</a> | ||
</Menu.Item> | ||
<Menu.Item> | ||
<a className="text-CCCFD2-700 group flex items-center px-4 py-2 text-sm hover:rounded-lg hover:bg-[rgb(205,213,224,0.1)] hover:text-white"> | ||
<span>Archive</span> | ||
</a> | ||
</Menu.Item> | ||
<Menu.Item> | ||
<a className="text-CCCFD2-700 group flex items-center px-4 py-2 text-sm hover:rounded-lg hover:bg-[rgb(205,213,224,0.1)] hover:text-white"> | ||
<span>Delete</span> | ||
</a> | ||
</Menu.Item> | ||
</Menu.Items> | ||
); | ||
} | ||
|
||
export default DropdownCard; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters