23 lines
521 B
TypeScript
23 lines
521 B
TypeScript
import { Component } from '@angular/core';
|
|
import { CommonModule, Location } from '@angular/common';
|
|
|
|
@Component({
|
|
selector: 'app-imprint',
|
|
standalone: true,
|
|
imports: [CommonModule],
|
|
templateUrl: './imprint.component.html',
|
|
styleUrl: './imprint.component.scss',
|
|
})
|
|
export class ImprintComponent {
|
|
/**
|
|
* Initializes the ImprintComponent with Location.
|
|
*/
|
|
constructor(private location: Location) {}
|
|
|
|
/**
|
|
* Navigate back to the previous page.
|
|
*/
|
|
backClicked() {
|
|
this.location.back();
|
|
}
|
|
}
|