Compare commits
2 Commits
95a4e5dd08
...
c8168580d6
| Author | SHA1 | Date | |
|---|---|---|---|
| c8168580d6 | |||
| f3a3344004 |
BIN
apps/NwaifuAnime/public/pic/Blank-profile.png
Normal file
BIN
apps/NwaifuAnime/public/pic/Blank-profile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
@@ -8,7 +8,8 @@
|
||||
}
|
||||
<app-header></app-header>
|
||||
<div class="h-10"></div>
|
||||
<main>
|
||||
<div class="content">
|
||||
<router-outlet></router-outlet>
|
||||
</main>
|
||||
<app-footer></app-footer>
|
||||
</div>
|
||||
<app-notification></app-notification>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
main {
|
||||
.content {
|
||||
overflow-y: auto;
|
||||
height: calc(100vh - 3rem);
|
||||
}
|
||||
|
||||
@@ -1,12 +1,19 @@
|
||||
import { Component } from "@angular/core";
|
||||
import { RouterModule } from "@angular/router";
|
||||
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";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
imports: [RouterModule, HeaderComponent, NotificationComponent, NotificationComponent],
|
||||
imports: [
|
||||
RouterModule,
|
||||
HeaderComponent,
|
||||
NotificationComponent,
|
||||
NotificationComponent,
|
||||
FooterComponent,
|
||||
],
|
||||
selector: "app-root",
|
||||
templateUrl: "./app.component.html",
|
||||
styleUrl: "./app.component.less",
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<div class="footer w-full border-t border-black bg-gray-300 pt-3">
|
||||
<p class="text-3xl ps-[5rem]">DMCA Disclaimer</p>
|
||||
<div class="footer-content h-full px-[5rem] py-6 flex flex-col gap-3">
|
||||
<div class="block">
|
||||
<p>На русском:</p>
|
||||
<p>
|
||||
Разработчики этого приложения не имеют никакого отношения к контенту, доступному в
|
||||
приложении. Оно собрано из источников, свободно доступных через любой веб-браузер.
|
||||
</p>
|
||||
</div>
|
||||
<div class="block">
|
||||
<p>English:</p>
|
||||
<p>
|
||||
The developers of this application does not have any affiliation with the content available
|
||||
in the app. It is collecting from the sources freely available through any web browser.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
import { Component } from "@angular/core";
|
||||
|
||||
@Component({
|
||||
selector: "app-footer",
|
||||
templateUrl: "./footer.component.html",
|
||||
styleUrls: ["./footer.component.less"],
|
||||
standalone: true,
|
||||
})
|
||||
export class FooterComponent {}
|
||||
@@ -1,6 +1,6 @@
|
||||
<div
|
||||
[class]="
|
||||
'header fixed flex justify-between w-full px-2 bg-gray-700 md:h-8 items-center md:flex-row flex-col md:gap-0 gap-3 text-xl md:text-base ' +
|
||||
'header fixed flex justify-between w-full px-2 bg-gray-700 md:h-10 items-center md:flex-row flex-col md:gap-0 gap-3 text-xl md:text-base ' +
|
||||
(menuOpened ? 'h-screen' : '')
|
||||
"
|
||||
>
|
||||
@@ -39,6 +39,7 @@
|
||||
#searchInput
|
||||
class="outline-none ps-1 text-sm leading-6 w-full border-0 bg-transparent border-r border-gray-700"
|
||||
(keydown.enter)="search()"
|
||||
placeholder="Начать поиск"
|
||||
/>
|
||||
<button
|
||||
class="align-middle w-[100px] text-center border-0 flex flex-col items-center justify-center"
|
||||
@@ -48,6 +49,14 @@
|
||||
<span class="text-sm text-black h-full">Поиск</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="profile-pic hidden md:block">
|
||||
<!-- TODO: profile pic of current user -->
|
||||
<img
|
||||
src="pic/Blank-profile.png"
|
||||
alt="Profile pic"
|
||||
class="aspect-square w-8 bg-white rounded-md"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
[class]="
|
||||
'flex flex-col w-full justify-start items-center md:hidden overflow-hidden ' +
|
||||
|
||||
Reference in New Issue
Block a user