Skip to content

Commit c04689e

Browse files
committed
Change colors and create menu in the header
Begin sketching redesign based on http://imgur.com/a/y1dHo . This commit changes the colors of the index page to match and adds the menu items and the css to make the header look decent from many sizes.
1 parent 831e954 commit c04689e

21 files changed

+1727
-0
lines changed

sketch/app.pl

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env perl
2+
3+
use Mojolicious::Lite;
4+
5+
app->static->paths(['html']);
6+
7+
get '(*dir)/:file' => sub {
8+
my $self = shift;
9+
my $dir = $self->param('dir');
10+
my $file = $self->param('file');
11+
return $self->redirect_to("/$dir/$file.html");
12+
};
13+
14+
get '(*dir)/' => sub {
15+
my $self = shift;
16+
my $dir = $self->param('dir');
17+
return $self->redirect_to("/$dir/index.html");
18+
};
19+
20+
get '/' => sub {
21+
my $self = shift;
22+
return $self->redirect_to('/index.html');
23+
};
24+
25+
app->start;
179 Bytes
Loading
213 Bytes
Loading
178 Bytes
Loading
127 Bytes
Loading
180 Bytes
Loading
136 Bytes
Loading
166 Bytes
Loading
164 Bytes
Loading
119 Bytes
Loading

0 commit comments

Comments
 (0)