11
0
Fork 0
mirror of https://github.com/ChaosChemnitz/interfug15 synced 2025-06-29 13:46:06 +02:00

Auf Perl/Dancer2 umgebaut

Die zufälligen Farben sind dabei verloren gegangen - wenn ihr die
wirklich wollt, bau ich sie wieder ein.
This commit is contained in:
Moritz Grosch 2015-06-22 13:23:18 +02:00
parent cb501a7fbd
commit 1d19edc231
38 changed files with 274 additions and 126 deletions

View file

@ -0,0 +1,34 @@
package ChaosChemnitz::Interfug15::Webseite;
use Dancer2;
our $VERSION = '0.1';
our $PAGES = [
{ url => '/', name => 'Startseite' },
{ url => '/anreise', name => 'Anreise' },
{ url => '/cfp', name => 'Call for Papers' },
{ url => '/kontakt', name => 'Kontakt' },
{ url => '/tickets', name => 'Tickets' },
];
get '/' => sub {
template 'home', { pages => $PAGES };
};
get '/anreise' => sub {
template 'anreise', { pages => $PAGES };
};
get '/cfp' => sub {
template 'cfp', { pages => $PAGES };
};
get '/kontakt' => sub {
template 'kontakt', { pages => $PAGES };
};
get '/tickets' => sub {
template 'tickets', { pages => $PAGES };
};
true;