End chapter 8
[depot.git] / app / views / layouts / store.html.erb
diff --git a/app/views/layouts/store.html.erb b/app/views/layouts/store.html.erb
new file mode 100644 (file)
index 0000000..7bd5325
--- /dev/null
@@ -0,0 +1,26 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <title>Neil's Whimsical Online Store</title>
+    <%= stylesheet_link_tag "depot" , :media => "all" %>
+  </head>
+  <body id="store">
+    <div id="banner">
+      <%= image_tag("logo.png" ) %>
+      <%= @page_title || "Neil's Whimisical Store" %>
+    </div>
+    <div id="columns">
+      <div id="side">
+        <a href="http://www....">Home</a><br />
+        <a href="http://www..../faq">Questions</a><br />
+        <a href="http://www..../news">News</a><br />
+        <a href="http://www..../contact">Contact</a><br />
+      </div>
+      <div id="main">
+        <%= yield :layout %>
+      </div>
+    </div>
+  </body>
+</html>
\ No newline at end of file