2019-03-22 15:56:49 +00:00
|
|
|
package Travelynx::Controller::Static;
|
2022-09-23 15:35:02 +00:00
|
|
|
|
2023-07-03 15:59:25 +00:00
|
|
|
# Copyright (C) 2020-2023 Birte Kristina Friesel
|
2020-11-27 21:12:56 +00:00
|
|
|
#
|
2021-01-29 17:32:13 +00:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
2019-03-22 15:56:49 +00:00
|
|
|
use Mojo::Base 'Mojolicious::Controller';
|
|
|
|
|
|
|
|
sub about {
|
|
|
|
my ($self) = @_;
|
|
|
|
|
2024-01-30 20:07:57 +00:00
|
|
|
$self->render( 'about', title => 'Über travelynx' );
|
2019-03-22 15:56:49 +00:00
|
|
|
}
|
|
|
|
|
2019-05-03 08:32:58 +00:00
|
|
|
sub changelog {
|
|
|
|
my ($self) = @_;
|
|
|
|
|
2024-01-30 20:07:57 +00:00
|
|
|
$self->render( 'changelog', title => 'travelynx: Changelog' );
|
2019-05-03 08:32:58 +00:00
|
|
|
}
|
|
|
|
|
2019-03-22 15:56:49 +00:00
|
|
|
sub imprint {
|
|
|
|
my ($self) = @_;
|
|
|
|
|
2024-01-30 20:07:57 +00:00
|
|
|
$self->render( 'imprint', title => 'travelynx: Impressum' );
|
2019-03-22 15:56:49 +00:00
|
|
|
}
|
|
|
|
|
2022-09-23 15:35:02 +00:00
|
|
|
sub legend {
|
|
|
|
my ($self) = @_;
|
|
|
|
|
2024-01-30 20:07:57 +00:00
|
|
|
$self->render( 'legend', title => 'travelynx: Legende' );
|
2022-09-23 15:35:02 +00:00
|
|
|
}
|
|
|
|
|
2019-05-03 18:43:46 +00:00
|
|
|
sub offline {
|
|
|
|
my ($self) = @_;
|
|
|
|
|
|
|
|
$self->render('offline');
|
|
|
|
}
|
|
|
|
|
2024-10-16 01:05:34 +00:00
|
|
|
sub tos {
|
|
|
|
my ($self) = @_;
|
|
|
|
|
|
|
|
$self->render('terms-of-service');
|
|
|
|
}
|
|
|
|
|
2019-03-22 15:56:49 +00:00
|
|
|
1;
|