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:
parent
cb501a7fbd
commit
1d19edc231
38 changed files with 274 additions and 126 deletions
34
lib/ChaosChemnitz/Interfug15/Webseite.pm
Normal file
34
lib/ChaosChemnitz/Interfug15/Webseite.pm
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue