Adding models and components

This commit is contained in:
2022-09-02 14:39:24 +02:00
parent 8e3322a9f8
commit 18a02f0940
42 changed files with 492 additions and 566 deletions
@@ -0,0 +1,3 @@
<div id="profile-popover">
<p>Test</p>
</div>
@@ -0,0 +1,13 @@
@import '../../../styles';
#profile-popover {
z-index: 1;
position: fixed;
right: 1em;
top: $header_height + 1em;
color: $text;
background-color: $secondary;
width: 15em;
height: 20em;
border-radius: 1em;
}
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProfileComponent } from './profile.component';
describe('ProfileComponent', () => {
let component: ProfileComponent;
let fixture: ComponentFixture<ProfileComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ ProfileComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(ProfileComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-profile',
templateUrl: './profile.component.html',
styleUrls: ['./profile.component.scss']
})
export class ProfileComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}