style: redesign view (#770)

* style: add new design to the view item

* feat: add no of filters
This commit is contained in:
Saheb Giri 2023-04-10 22:46:09 +05:30 committed by GitHub
parent 2dbe1dd401
commit d411cd7576
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 91 additions and 59 deletions

View file

@ -86,11 +86,11 @@ const ProjectViews: NextPage = () => {
views.length > 0 ? (
<div className="space-y-5">
<h3 className="text-3xl font-semibold text-black">Views</h3>
<div className="rounded-[10px] border">
<ul role="list" className="divide-y">
{views.map((view) => (
<SingleViewItem key={view.id} view={view} setSelectedView={setSelectedView} />
))}
</div>
</ul>
</div>
) : (
<EmptyState