Skip to content

Commit

Permalink
Add About Page
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Mar 10, 2018
1 parent 5897969 commit be6a1d6
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
1 change: 1 addition & 0 deletions app.pl
Expand Up @@ -29,6 +29,7 @@

### Routes
get '/' => sub {} => 'home';
get '/about';

get '/post/#post' => sub {
my $c = shift;
Expand Down
3 changes: 3 additions & 0 deletions assets/sass/main.scss
Expand Up @@ -30,6 +30,9 @@ footer {

h1 {
font-size: 250%;
border-bottom: 1px solid darken($color-body, 20%);
padding-bottom: 10px;
margin-bottom: 30px;
}
p {
margin-bottom: 30px;
Expand Down
30 changes: 30 additions & 0 deletions templates/about.html.ep
@@ -0,0 +1,30 @@
% layout 'default';
% title 'About the Rakudo Perl 6 Compiler';

<h2>Rakudo Perl 6</h2>

<p>Rakudo Perl 6, or simply <strong>Rakudo</strong>, is a compiler for the
<a title="Perl 6" href="https://perl6.org/">Perl 6</a> programming
language.</p>

<p>Rakudo is licensed under the terms of the
<a href="https://github.com/rakudo/rakudo/blob/master/LICENSE">Artistic
License 2.0</a>. Since
the Artistic License 2.0
<a href="http://www.perlfoundation.org/artistic_2_0_notes">is compatible
with the GPL</a> there's no need for dual licensing as is done by Perl 5.</p>

<p>The compiler is released monthly, around the third Saturday of
the month.</p>

<h2>Rakudo Star</h2>
The Rakudo Star distribution combines the Rakudo
Perl 6 compiler with additional resources, such
as <a href="https://docs.perl6.org/">documentation</a>,
<a href="http://perl6intro.com/">introductory materials</a>,
and a selection of modules.

<p>Rakudo Star is the most thoroughly tested option and is the recommended
choice for most users.</p>

<p>Rakudo Star is released quarterly.</p>
2 changes: 1 addition & 1 deletion templates/layouts/default.html.ep
Expand Up @@ -23,7 +23,7 @@
<div class="collapse navbar-collapse" id="navbarColor01">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="#">About</a>
<a class="nav-link" href="/about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Bag tracker</a>
Expand Down

0 comments on commit be6a1d6

Please sign in to comment.