root/app/views/main/index.html.erb @ 14

Revision 14, 0.8 kB (checked in by falcon, 17 years ago)

index featured objects update

Line 
1<p style="text-align: left;" >Welcome to The Art of Engineering, the personal portfolio of Stephen Barnes.</p>
2<h3>Featured Artwork:</h3>
3<% @media = GalleryMedia.find(90) %>
4<p style="text-align: center;"> 
5                <a href="<%= url_for_file_column("media", "medianame") %>" class="noHighlight"
6                                rel="lightbox[GalleryMedia]"
7                                 title="<%= @media.sTitle.to_s + "<br/><br/>" + @media.tDescription.to_s if (@media.sTitle != nil  && @media.tDescription != nil)%>">
8                                        <%= image_tag("featured_artwork.png") %>
9                         </a>
10</p>
11<h3>Featured Engineering Project:</h3>
12<p style="text-align: center;"> <a href="/Engineering/#The Art of Engineering_16" class="noHighlight">
13        <%= image_tag("featured_engineering.png") %>
14</a></p>
15<p style="text-align: right;" >Built and maintained using <%= image_tag('rails.png') %></p>
Note: See TracBrowser for help on using the browser.