Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #139 from SE-TINF22B2/sophia
Browse files Browse the repository at this point in the history
#118 Eventoverviewseite anlegen
  • Loading branch information
sophiadeckhut authored May 1, 2024
2 parents 1c7fd17 + ca17351 commit 0b2a139
Show file tree
Hide file tree
Showing 11 changed files with 155 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<p>Ist Gast: {{ user.guest ? 'Ja' : 'Nein' }}</p>
</div>

<app-default-event-page></app-default-event-page>


<button (click)="afterAuth()">AfterAuth</button>
<button (click)="createEvent()">CreateEvent</button>
<button (click)="getOwn()">GetMyEvents</button>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>default-event-page works!</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { DefaultEventPageComponent } from './default-event-page.component';

describe('DefaultEventPageComponent', () => {
let component: DefaultEventPageComponent;
let fixture: ComponentFixture<DefaultEventPageComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [DefaultEventPageComponent]
})
.compileComponents();

fixture = TestBed.createComponent(DefaultEventPageComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-default-event-page',
templateUrl: './default-event-page.component.html',
styleUrl: './default-event-page.component.scss'
})
export class DefaultEventPageComponent {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

#noEventPictureDiv{
display: flex;
align-items: center;
justify-content: center;
object-fit: cover;
}
#noEventTextDiv{
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
#addEventPicture{
position: relative;
top: 3px;
}
#noEventPicture{
max-width:100%;
height:auto;
width: auto;
}


2 changes: 2 additions & 0 deletions frontend/src/app/eventpage/eventpage.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<p>eventpage works!</p>

Empty file.
23 changes: 23 additions & 0 deletions frontend/src/app/eventpage/eventpage.component.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { EventpageComponent } from './eventpage.component';

describe('EventpageComponent', () => {
let component: EventpageComponent;
let fixture: ComponentFixture<EventpageComponent>;

beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [EventpageComponent]
})
.compileComponents();

fixture = TestBed.createComponent(EventpageComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
10 changes: 10 additions & 0 deletions frontend/src/app/eventpage/eventpage.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-eventpage',
templateUrl: './eventpage.component.html',
styleUrl: './eventpage.component.scss'
})
export class EventpageComponent {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div id="noEventPictureDiv">
<img id="noEventPicture" width="540" height="480" ngSrc="./assets/noEventPicture.svg">
</div>
<div id="noEventTextDiv">
<p>
Kein Event ausgewählt
<br>
<br>
Füge Links ein Event aus oder füge ein neues über das &nbsp; <img id="addEventPicture" width="20" height="20" ngSrc="./assets/profile.svg"> &nbsp; Icon hinzu
</p>
</div>
48 changes: 48 additions & 0 deletions frontend/src/assets/noEventPicture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0b2a139

Please sign in to comment.