From fa918353db37e42de6aba69db27ee38b63d39a91 Mon Sep 17 00:00:00 2001 From: Manager Bot Date: Thu, 8 Dec 2022 03:41:20 +0000 Subject: [PATCH] Added pricing page. --- Web/lib/MJB/Web.pm | 1 + Web/templates/layouts/standard.html.ep | 6 ++++++ Web/templates/root/pricing.html.ep | 9 +++++++++ 3 files changed, 16 insertions(+) create mode 100644 Web/templates/root/pricing.html.ep diff --git a/Web/lib/MJB/Web.pm b/Web/lib/MJB/Web.pm index d6457e3..b45fa7d 100644 --- a/Web/lib/MJB/Web.pm +++ b/Web/lib/MJB/Web.pm @@ -177,6 +177,7 @@ sub startup ($self) { $r->get ( '/' )->to( 'Root#index' )->name('show_homepage' ); $r->get ( '/about' )->to( 'Root#about' )->name('show_about' ); $r->get ( '/contact' )->to( 'Root#contact' )->name('show_contact' ); + $r->get ( '/pricing' )->to( 'Root#pricing' )->name('show_pricing' ); # User registration, login, and logout. $r->get ( '/register' )->to( 'Auth#register' )->name('show_register' ); diff --git a/Web/templates/layouts/standard.html.ep b/Web/templates/layouts/standard.html.ep index 73c082f..5e7fe35 100644 --- a/Web/templates/layouts/standard.html.ep +++ b/Web/templates/layouts/standard.html.ep @@ -121,6 +121,12 @@ Contact + % if ( $c->stash->{person} ) { diff --git a/Web/templates/root/pricing.html.ep b/Web/templates/root/pricing.html.ep new file mode 100644 index 0000000..72bd34c --- /dev/null +++ b/Web/templates/root/pricing.html.ep @@ -0,0 +1,9 @@ +% layout 'standard', title => 'Pricing', sb_active => 'pricing'; + +

Pricing

+ +

Register an account for $7/mo.

+ +

Your account includes creating unlimited blogs, posts, and pages.

+ +