Skip to content

Commit

Permalink
fix: change icon to antd
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsp45 committed Feb 14, 2024
1 parent d7c5ed1 commit 3f1a87c
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions apps/app/pages/files/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import AppLayout from "~/layouts/AppLayout";
import Document from "~/components/Document";
import * as api from "bokkenjs";
import { notifyError } from "~/components/Notification";
import { Empty } from 'antd';

const { Title } = Typography;

Expand Down Expand Up @@ -44,24 +45,9 @@ function Files() {
))}
</Row>
) : (
<div class="mt-10 text-center">
<svg
class="mx-auto h-12 w-12 text-gray-400"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
vector-effect="non-scaling-stroke"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 13h6m-3-3v6m-9 1V7a2 2 0 012-2h6l2 2h6a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2z"
/>
</svg>
<h3 class="mt-2 text-sm font-semibold text-gray-900">Sem ficheiros</h3>
<div class="mt-6">
<div className="mt-10 text-center">
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE} />
<div className="mt-6">
<Link href="/files/new">
<Button type="primary">Novo</Button>
</Link>
Expand Down

0 comments on commit 3f1a87c

Please sign in to comment.