Compare commits

..

No commits in common. "28715055918fea3a846ba1c7f9bffd42dee33976" and "52432fd00fef74caa55dc16994a2cde28192a036" have entirely different histories.

8 changed files with 6 additions and 41 deletions

6
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "frontend",
"version": "1.0.0-b2",
"version": "1.0.0-b0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "frontend",
"version": "1.0.0-b2",
"version": "1.0.0-b0",
"dependencies": {
"@angular/animations": "^18.2.1",
"@angular/cdk": "~18.2.1",
@ -35,7 +35,6 @@
"karma-coverage": "~2.2.1",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"terser-webpack-plugin": "^5.3.10",
"typescript": "^5.5.4"
}
},
@ -12374,7 +12373,6 @@
"resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz",
"integrity": "sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@jridgewell/trace-mapping": "^0.3.20",
"jest-worker": "^27.4.5",

View File

@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "1.0.0-b2",
"version": "1.0.0-b0",
"scripts": {
"ng": "ng",
"start": "ng serve",
@ -37,7 +37,6 @@
"karma-coverage": "~2.2.1",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"terser-webpack-plugin": "^5.3.10",
"typescript": "^5.5.4"
}
}

View File

@ -5,14 +5,12 @@ import localeRu from '@angular/common/locales/ru';
import {registerLocaleData} from '@angular/common';
import {FocusNextDirective} from "@/directives/focus-next.directive";
import {TokenRefreshService} from "@service/token-refresh.service";
import {HeaderComponent} from "@component/common/header/header.component";
@Component({
selector: 'app-root',
standalone: true,
imports: [RouterOutlet, FooterComponent, FocusNextDirective, HeaderComponent],
imports: [RouterOutlet, FooterComponent, FocusNextDirective],
template: `
<app-header/>
<router-outlet/>
<app-footer/>`
})

View File

@ -1,9 +0,0 @@
mat-toolbar a {
color: inherit;
cursor: pointer;
text-decoration: none;
}
mat-toolbar a:hover {
text-decoration: underline;
}

View File

@ -1,3 +0,0 @@
<mat-toolbar style="justify-content: space-between;">
<a href="/" style="color: inherit;">Winsomnia</a>
</mat-toolbar>

View File

@ -1,18 +0,0 @@
import { Component } from '@angular/core';
import {MatToolbar} from "@angular/material/toolbar";
import {MatAnchor, MatButton} from "@angular/material/button";
@Component({
selector: 'app-header',
standalone: true,
imports: [
MatToolbar,
MatButton,
MatAnchor
],
templateUrl: './header.component.html',
styleUrl: './header.component.css'
})
export class HeaderComponent {
}

View File

@ -67,6 +67,8 @@ export class TabStorageComponent {
selectedData.type = type;
console.log(selectedData);
localStorage.setItem(this.dataName, JSON.stringify(selectedData));
}

View File

@ -1,8 +1,6 @@
html, body {
height: 100%;
background-color: #1A2026 !important;
scrollbar-color: #35D073 #231F20 !important;
scrollbar-width: thin !important;
}
body {