Updated welcome screen
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index ef134b1..81117c9 100644 (file)
@@ -533,6 +533,7 @@ Returns the Catalyst welcome HTML page.
 sub welcome_message {
     my $c    = shift;
     my $name = $c->config->{name};
+    my $logo = $c->uri_for('/static/images/catalyst_logo.png');
     return <<"EOF";
 <html>
     <head>
@@ -554,25 +555,26 @@ sub welcome_message {
                 border: 1px solid #aaa;
                 -moz-border-radius: 10px;
             }
-            p, h1, h2, a {
+            p, h1, h2 {
                 margin-left: 20px;
                 margin-right: 20px;
                 font-family: verdana, tahoma, sans-serif;
             }
+            a {
+                font-family: verdana, tahoma, sans-serif;
+            }
             :link, :visited {
                     text-decoration: none;
                     color: #b00;
                     border-bottom: 1px dotted #bbb;
             }
             :link:hover, :visited:hover {
-                    background-color: #fff;
                     color: #555;
             }
             div#topbar {
                 margin: 0px;
             }
             pre {
-                border: 1px dotted #555;
                 margin: 10px;
                 padding: 8px;
             }
@@ -584,7 +586,8 @@ sub welcome_message {
                 -moz-border-radius: 10px;
             }
             h1 {
-                font-size: 1.2em;
+                font-size: 0.9em;
+                font-weight: normal;
                 text-align: center;
             }
             h2 {
@@ -593,18 +596,25 @@ sub welcome_message {
             p {
                 font-size: 0.9em;
             }
-            p.signature {
-                text-align: right;
-                font-style: italic;
+            p img {
+                float: right;
+                margin-left: 10px;
+            }
+            b#appname {
+                font-size: 1.6em;
             }
         </style>
     </head>
     <body>
         <div id="content">
             <div id="topbar">
-                <h1>$name on Catalyst $VERSION</h1>
+                <h1><b id="appname">$name</b> on <a href="http://catalyst.perl.org">Catalyst</a>
+                    $VERSION</h1>
              </div>
              <div id="answers">
+                 <p>
+                 <img src="$logo"/>
+                 </p>
                  <p>Welcome to the wonderful world of Catalyst.
                     This MVC framework will make web development
                     something you had never expected it to be:
@@ -614,8 +624,8 @@ sub welcome_message {
                     We do, however, provide you with a few starting points.</p>
                  <p>If you want to jump right into web development with Catalyst
                     you might want to check out the documentation.</p>
-                 <pre><code>perldoc<a href="http://cpansearch.perl.org/dist/Catalyst/lib/Catalyst/Manual.pod">Catalyst::Manual</a>
-perldoc<a href="http://cpansearch.perl.org/dist/Catalyst/lib/Catalyst/Manual/Intro.pod">Catalyst::Manual::Intro</a></code></pre>
+                 <pre><code>perldoc <a href="http://cpansearch.perl.org/dist/Catalyst/lib/Catalyst/Manual.pod">Catalyst::Manual</a>
+perldoc <a href="http://cpansearch.perl.org/dist/Catalyst/lib/Catalyst/Manual/Intro.pod">Catalyst::Manual::Intro</a></code></pre>
                  <p>If you would like some background information on the
                     MVC-pattern, these links might be of help to you.</p>
                  <ul>
@@ -653,17 +663,13 @@ perldoc<a href="http://cpansearch.perl.org/dist/Catalyst/lib/Catalyst/Manual/Int
                          <a href="http://lists.rawmode.org/mailman/listinfo/catalyst">Mailing-List</a>
                      </li>
                      <li>
-                         <a href="irc://irc.perl.org/catalyst">IRC channel</a>
+                         <a href="irc://irc.perl.org/catalyst">IRC channel #catalyst on irc.perl.org</a>
                      </li>
                  </ul>
                  <h2>In conclusion</h2>
-                 <p>The Catalyst team hope you will enjoy using  Catalyst as much 
+                 <p>The Catalyst team hope you will enjoy using Catalyst as much 
                     as we enjoyed making it, and rest assured that any and all
-                    feedback is welcomed</p>
-                 <p class="signature">-- #1. the first rule of the Cabal is, you do not 
-                                         talk about the Cabal.<br/>
-                                         #2. the second rule of the Cabal is, you DO NOT
-                                         talkk about the Cabal.</p>
+                    feedback is welcomed.</p>
              </div>
          </div>
     </body>
@@ -1617,6 +1623,8 @@ Andy Grundman
 
 Andy Wardley
 
+Andreas Marienborg
+
 Andrew Ford
 
 Andrew Ruthven