feat: added if empty pic
This commit is contained in:
12
src/assets/main.svg
Normal file
12
src/assets/main.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 2.3 MiB |
@@ -1,6 +1,7 @@
|
||||
//! Файл большой, потому что было лень делить на компоненты
|
||||
import Task from "@/components/task";
|
||||
|
||||
import MainSvg from "@/assets/main.svg";
|
||||
import ModalCalendar from "@/components/ModalCalendar";
|
||||
import ModalTags, { ITags } from "@/components/ModalTags";
|
||||
import Button from "@/components/ui/Button";
|
||||
@@ -680,7 +681,10 @@ const ProfileTasks: FunctionComponent = () => {
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
<div class="my-auto flex h-full w-full flex-col items-center justify-start">
|
||||
<img src={MainSvg} />
|
||||
<div class="flex w-full flex-1 flex-col items-center justify-center text-2xl">Начни уже сегодня!</div>
|
||||
</div>
|
||||
)
|
||||
) : (
|
||||
<div class={classes.tasks_container}>
|
||||
|
||||
Reference in New Issue
Block a user