feat: dmca footer

This commit is contained in:
2024-07-21 00:31:52 +03:00
parent 3713ac502c
commit 95a4e5dd08
6 changed files with 40 additions and 4 deletions

View File

@@ -8,7 +8,8 @@
} }
<app-header></app-header> <app-header></app-header>
<div class="h-10"></div> <div class="h-10"></div>
<main> <div class="content">
<router-outlet></router-outlet> <router-outlet></router-outlet>
</main> <app-footer></app-footer>
</div>
<app-notification></app-notification> <app-notification></app-notification>

View File

@@ -1,4 +1,4 @@
main { .content {
overflow-y: auto; overflow-y: auto;
height: calc(100vh - 3rem); height: calc(100vh - 3rem);
} }

View File

@@ -1,12 +1,19 @@
import { Component } from "@angular/core"; import { Component } from "@angular/core";
import { RouterModule } from "@angular/router"; import { RouterModule } from "@angular/router";
import { AppService } from "./app.service"; import { AppService } from "./app.service";
import { FooterComponent } from "./components/footer/footer.component";
import { HeaderComponent } from "./components/header/header.component"; import { HeaderComponent } from "./components/header/header.component";
import { NotificationComponent } from "./components/notification/notification.component"; import { NotificationComponent } from "./components/notification/notification.component";
@Component({ @Component({
standalone: true, standalone: true,
imports: [RouterModule, HeaderComponent, NotificationComponent, NotificationComponent], imports: [
RouterModule,
HeaderComponent,
NotificationComponent,
NotificationComponent,
FooterComponent,
],
selector: "app-root", selector: "app-root",
templateUrl: "./app.component.html", templateUrl: "./app.component.html",
styleUrl: "./app.component.less", styleUrl: "./app.component.less",

View File

@@ -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>

View File

@@ -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 {}