Skip to content
Permalink
Browse files

docs: improve website front page (#968)

Limit the Releases to the last 3, add right navigation with a download section of the last 5 releases, a shortcut section and the support us (postgresql.org) section.
  • Loading branch information
jorsol authored and davecramer committed Oct 6, 2017
1 parent e67e8f9 commit 65170f1690bb571c8dbe0425b205ba8498c8173f
@@ -6,39 +6,62 @@
---

<br />
<div id="pgFrontContainer">
<!-- <div id="pgFrontMain"> -->
<div id="pgFrontFeature">
<div id="pgFrontFeatureContent">
{% for post in site.posts %}
<p class="txtDate"><strong>{{ post.date | date_to_long_string }}</strong></p>
<h1 id="txtFrontFeatureHeading">{{ post.title }}</h1>
<div>
{{ post.excerpt | prepend: "<!--start-->" | split: "<!--start-->" | last }}
</div>
<p>See full <a href="/documentation/changelog.html#version_{{ post.version}}">changelog for {{ post.version}}</a>
{% endfor %}
<div id="txtFrontFeatureLink">
<br/>
<img src="media/img/layout/blt_blu_arrow.png" width="6" height="6" alt="" />
<a href="documentation/changelog.html#version_42.1.1" title="Release Notes">Release notes</a>
<br/>
<img src="media/img/layout/blt_blu_arrow.png" width="6" height="6" alt="" />
<a href="download.html" title="Download">Download</a>
<br />
</div>
<div id="txtFrontFeatureLink">
<br/>
<img src="media/img/layout/blt_blu_arrow.png" width="6" height="6" alt="" />
<a href="https://oss.sonatype.org/content/repositories/snapshots/org/postgresql/postgresql/" title="Snapshots">Snapshots can be found here</a>
<br />
</div>
<p>
<br/><br/>
The PostgreSQL JDBC group would like to thank YourKit for graciously providing licenses to the project
<img src="https://www.yourkit.com/images/yklogo.png" />
</p>
</div> <!-- pgFrontFeatureContent -->
</div> <!-- pgFrontFeature -->
<!-- </div> pgFrontMain -->
</div> <!-- pgFrontContainer -->
<div id="pgFrontContainer">
<div id="pgFrontMain">
<div id="pgFrontFeature">
<div id="pgFrontFeatureContent">
{% for post in site.posts offset: 0 limit: 3 %}
<p class="txtDate"><strong>{{ post.date | date_to_long_string }}</strong></p>
<h1 id="txtFrontFeatureHeading">{{ post.title }}</h1>
<div>{{ post.excerpt | prepend: "<!--start-->" | split: "<!--start-->" | last }}</div>
<br/>
<p>See full <a href="documentation/changelog.html#version_{{ post.version}}">changelog for {{ post.version}}</a>
<hr />
{% endfor %}
<p><br/><br/>
The PostgreSQL JDBC group would like to thank YourKit<br/>for graciously providing licenses to the project.<br/>
<img src="https://www.yourkit.com/images/yklogo.png" />
</p>
</div> <!-- pgFrontFeatureContent -->
</div> <!-- pgFrontFeature -->
</div> <!-- pgFrontMain -->
</div> <!-- pgFrontContainer -->
<div id="pgFrontRightContainer">
<div id="pgFrontLatestReleases">
<h2><img src="media/img/hdr/hdr_latestreleases.png" alt="Latest Releases" width="120" height="10"></h2>
<div id="pgFrontLatestReleasesWrap">
{% for post in site.posts offset: 0 limit: 5 %}
<b>{{ post.version}}</b> · {{ post.date | date_to_string }} · <a href="documentation/changelog.html#version_{{ post.version}}">Notes</a>
<br/>
{% endfor %}
</div>
<div id="pgFrontLatestReleasesNote">
<b><a href="download.html">Downloads</a></b>
|
<a href="https://oss.sonatype.org/content/repositories/snapshots/org/postgresql/postgresql/">Snapshots</a>
</div>
</div> <!-- pgFrontLatestreleases -->
<div id="pgFrontShortcuts">
<h2><img src="media/img/hdr/hdr_shortcuts.png" alt="Shortcuts" width="85" height="10"></h2>
<div id="pgFrontShortcutsWrap">
<ul id="pgFrontShortcutsList">
<li><a href="https://github.com/pgjdbc/pgjdbc">GitHub project</a></li>
<li><a href="documentation/head/index.html">Documentation</a></li>
<li><a href="https://www.postgresql.org/list/pgsql-jdbc/">Mailing list</a></li>
<li><a href="https://github.com/pgjdbc/pgjdbc/issues/new">Report a bug</a></li>
<li><a href="documentation/faq.html">FAQ</a></li>
</ul>
</div> <!-- pgFrontShortcutsWrap -->
</div> <!-- pgFrontShortcuts -->
<div id="pgFrontSupportUs">
<h2><img src="media/img/hdr/hdr_supportus.png" alt="Support Us" width="81" height="10"></h2>
<div id="pgFrontSupportUsWrap">
<div id="txtFrontSupportUsText">
PostgreSQL is free. Please support our work by making a <a href="https://www.postgresql.org/about/donate">donation</a>.
</div>
</div>
</div>
<div>
<img height="90" alt="" style="display: block; margin: 0 auto; padding-top: 30px;" src="/media/img/slonik_duke.png" />
</div>
</div> <!-- pgFrontRightContainer -->
@@ -167,7 +167,7 @@
#pgFrontFeature #pgFrontFeatureContent {
/* This padding controls the size of the text in the front blurb, and needs to be
* adjusted whenever the image is changed. */
padding: 6px 132px 16px 10px;
padding: 6px 16px 16px 10px;
}

#pgFrontRightContainer {
@@ -50,7 +50,7 @@ h4 {

.txtDate {
font-size: 0.9em;
color: #666;
color: #333;
}

.txtMediumGrey {
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 65170f1

Please sign in to comment.
You can’t perform that action at this time.