diff --git a/src/app/+home-page/home-page.component.html b/src/app/+home-page/home-page.component.html
index d7442f6f71..6a3e20ca9d 100644
--- a/src/app/+home-page/home-page.component.html
+++ b/src/app/+home-page/home-page.component.html
@@ -3,16 +3,3 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/app/+home-page/home-page.component.ts b/src/app/+home-page/home-page.component.ts
index 927ecf2f8d..902a0e820d 100644
--- a/src/app/+home-page/home-page.component.ts
+++ b/src/app/+home-page/home-page.component.ts
@@ -1,6 +1,4 @@
-import { Component, TemplateRef, ViewChild } from '@angular/core';
-import { NotificationsService } from '../shared/notifications/notifications.service';
-import { NotificationOptions } from '../shared/notifications/models/notification-options.model';
+import { Component } from '@angular/core';
@Component({
selector: 'ds-home-page',
@@ -8,33 +6,4 @@ import { NotificationOptions } from '../shared/notifications/models/notification
templateUrl: './home-page.component.html'
})
export class HomePageComponent {
- @ViewChild('example') example: TemplateRef;
-
- private htmlNotification;
-
- constructor(private notificationsService: NotificationsService) {
- }
-
- createNotification() {
- const n1 = this.notificationsService.success('Welcome in DSpace', 'Good choice!',
- new NotificationOptions(10000, true, 'fromLeft', ['bottom', 'left']));
- }
-
- createNotification1() {
- const n1 = this.notificationsService.warning('Welcome in DSpace', 'Good choice!',
- new NotificationOptions(10000, false, 'fromLeft', ['bottom', 'left']));
- }
-
- createNotification2() {
- const html = "Html Alert
";
- this.htmlNotification = this.notificationsService.info('Ciao', null, null, html);
- }
-
- deleteHtmlNotification() {
- this.notificationsService.remove(this.htmlNotification);
- }
-
- deleteAllNotifications() {
- this.notificationsService.removeAll();
- }
}