From 9973637a922a4d30de764be2ac08c9e011297d12 Mon Sep 17 00:00:00 2001 From: Sergey Elpashev Date: Mon, 22 Jul 2024 01:26:19 +0300 Subject: [PATCH] feat: tab-bar --- apps/NwaifuAnime/src/app/app.component.html | 2 + apps/NwaifuAnime/src/app/app.component.less | 1 - apps/NwaifuAnime/src/app/app.component.ts | 2 + .../components/footer/footer.component.html | 2 +- .../app/components/home/home.component.html | 2 +- .../app/components/home/home.component.less | 3 ++ .../components/tab-bar/tab-bar.component.html | 16 ++++++++ .../components/tab-bar/tab-bar.component.less | 3 ++ .../components/tab-bar/tab-bar.component.ts | 41 +++++++++++++++++++ .../src/app/components/tab-bar/tab-bar.dto.ts | 6 +++ nx.json | 7 +++- 11 files changed, 81 insertions(+), 4 deletions(-) create mode 100644 apps/NwaifuAnime/src/app/components/tab-bar/tab-bar.component.html create mode 100644 apps/NwaifuAnime/src/app/components/tab-bar/tab-bar.component.less create mode 100644 apps/NwaifuAnime/src/app/components/tab-bar/tab-bar.component.ts create mode 100644 apps/NwaifuAnime/src/app/components/tab-bar/tab-bar.dto.ts diff --git a/apps/NwaifuAnime/src/app/app.component.html b/apps/NwaifuAnime/src/app/app.component.html index 7bee83c..fa61d3f 100644 --- a/apps/NwaifuAnime/src/app/app.component.html +++ b/apps/NwaifuAnime/src/app/app.component.html @@ -13,5 +13,7 @@ > +
+ diff --git a/apps/NwaifuAnime/src/app/app.component.less b/apps/NwaifuAnime/src/app/app.component.less index af07b7d..b40fcba 100644 --- a/apps/NwaifuAnime/src/app/app.component.less +++ b/apps/NwaifuAnime/src/app/app.component.less @@ -1,4 +1,3 @@ .content { overflow-y: auto; - height: calc(100vh - 3rem); } diff --git a/apps/NwaifuAnime/src/app/app.component.ts b/apps/NwaifuAnime/src/app/app.component.ts index 099782a..cb640b6 100644 --- a/apps/NwaifuAnime/src/app/app.component.ts +++ b/apps/NwaifuAnime/src/app/app.component.ts @@ -4,6 +4,7 @@ import { AppService } from "./app.service"; import { FooterComponent } from "./components/footer/footer.component"; import { HeaderComponent } from "./components/header/header.component"; import { NotificationComponent } from "./components/notification/notification.component"; +import { TabBarComponent } from "./components/tab-bar/tab-bar.component"; @Component({ standalone: true, @@ -13,6 +14,7 @@ import { NotificationComponent } from "./components/notification/notification.co NotificationComponent, NotificationComponent, FooterComponent, + TabBarComponent, ], selector: "app-root", templateUrl: "./app.component.html", diff --git a/apps/NwaifuAnime/src/app/components/footer/footer.component.html b/apps/NwaifuAnime/src/app/components/footer/footer.component.html index 19f7abb..0740172 100644 --- a/apps/NwaifuAnime/src/app/components/footer/footer.component.html +++ b/apps/NwaifuAnime/src/app/components/footer/footer.component.html @@ -1,4 +1,4 @@ -