Permalink
Browse files

Rearranged the home page, switching the training and screencast panels.

  • Loading branch information...
pledbrook committed Feb 10, 2011
1 parent 9082016 commit 6a9dbcc5af178b35a6215d629830c3bb62ea27bc
Showing with 34 additions and 34 deletions.
  1. +28 −28 grails.org/grails-app/views/layouts/homepage.gsp
  2. +6 −6 grails.org/web-app/css/new/homepage.css
@@ -50,13 +50,28 @@
</div><!-- grailsAttributes -->
<div class="eventDownloadWrapper">
- <div id="events">
- <h3>Training Events</h3>
- <wiki:text page="Training Events" />
- </div><!-- events -->
-
- <div id="globeGraphic"></div>
-
+ <div id="screencasts">
+ <%--
+ <h2>Conference</h2>
+ <div class="castBox">
+ <div class="advert">
+ <a href="http://www.springone2gx.com/conference/chicago/2010/10/register">
+ <r:img width="250" height="240" uri="/images/SpringOne2GX_250x240.png"/>
+ </a>
+ </div>
+ </div>
+ --%>
+ <h2>What is grails?</h2>
+ <div class="castBox">
+ <div class="castScreen">
+ <g:link controller="screencast" action="show" id="15">
+ <r:img width="240" height="190" uri="/images/grails-taster-badge.png"/>
+ </g:link>
+ </div><!-- castScreen -->
+ <h4><g:link controller="screencast" action="list">More screencasts</g:link></h4>
+ </div><!-- castBox -->
+ </div><!-- screencasts -->
+
<div id="downloadBox">
<div class="downloadPluginWrapper">
<div id="download">
@@ -127,27 +142,12 @@
</div><!-- newsBox -->
</div><!-- latestNews -->
- <div id="screencasts">
- <%--
- <h2>Conference</h2>
- <div class="castBox">
- <div class="advert">
- <a href="http://www.springone2gx.com/conference/chicago/2010/10/register">
- <r:img width="250" height="240" uri="/images/SpringOne2GX_250x240.png"/>
- </a>
- </div>
- </div>
- --%>
- <h2>What is grails?</h2>
- <div class="castBox">
- <div class="castScreen">
- <g:link controller="screencast" action="show" id="15">
- <r:img width="240" height="190" uri="/images/grails-taster-badge.png"/>
- </g:link>
- </div><!-- castScreen -->
- <h4><g:link controller="screencast" action="list">More screencasts</g:link></h4>
- </div><!-- castBox -->
- </div><!-- screencasts -->
+ <div id="events">
+ <h3>Training Events</h3>
+ <wiki:text page="Training Events" />
+ </div><!-- events -->
+
+ <div id="globeGraphic"></div>
</div><!-- newsScreencastWrapper -->
</div><!-- contentArea -->
@@ -97,8 +97,8 @@ body {
height: 200px;
overflow: auto !important;
position: absolute;
- top: 2px;
- left: 3px;
+ top: 30px;
+ left: 580px;
}
#events a:hover {
@@ -153,8 +153,8 @@ body {
width: 83px;
height: 79px;
position: absolute;
- top: 181px;
- left: 233px;
+ top: 211px;
+ left: 813px;
}
#downloadBox {
@@ -377,8 +377,8 @@ body {
#screencasts {
position: absolute;
- top: 0px;
- left: 634px;
+ top: -30px;
+ left: 3px;
}
.castBox {

0 comments on commit 6a9dbcc

Please sign in to comment.