Add web banners

This commit is contained in:
=
2012-07-08 14:13:51 -04:00
parent 66c140fa1e
commit 72e1f7a0c8
12 changed files with 131 additions and 0 deletions

View File

@@ -9,6 +9,13 @@ This is the GitHub Pages repository for the _PHP: The Right Way_ project.
* Section files are written in Markdown. * Section files are written in Markdown.
* Section files are included in `index.html`. * Section files are included in `index.html`.
## Spread the Word!
_PHP: The Right Way_ has web banner images you can use on your website. Show your support, and let new PHP
developers know where to find good information!
[See Banner Images](/banners.html)
## How to Contribute ## How to Contribute
1. Fork and edit 1. Fork and edit

45
_layouts/blank.html Normal file
View File

@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>{% if page.title %}{{ page.title }} - {% endif %}PHP: The Right Way</title>
<meta name="description" content="{{ page.description }}"/>
<meta name="robots" content="index,follow,archive"/>
<meta property="og:image" content="http://www.phptherightway.com/images/og-logo.png"/>
<meta property="og:title" content="PHP: The Right Way"/>
<meta property="og:description" content="An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web"/>
<meta property="og:url" content="http://www.phptherightway.com"/>
<meta property="og:site_name" content="PHP: The Right Way"/>
<meta property="og:type" content="website"/>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alfa+Slab+One|Droid+Serif"/>
<link rel="stylesheet" href="/styles.css"/>
<link rel="icon" href="/images/favicon.png" type="image/png"/>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-362072-7']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<header class="site-header">
<div class="site-title">PHP</div>
<div class="site-slogan">(The Right Way)</div>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.phptherightway.com/" data-size="large" data-hashtags="php">Tweet</a>
</header>
<div class="site-content">
{{ content }}
</div>
<footer class="site-footer">
<small>Created and maintained by <a href="http://twitter.com/codeguy">Josh Lockhart</a>. Favicon from <a href="http://pictos.cc/">Pictos</a>.</small>
</footer>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</body>
</html>

73
banners.md Normal file
View File

@@ -0,0 +1,73 @@
---
layout: blank
title: Website Banners
description: "Spread the word! Use these banner to let new PHP programmers know about PHP: The Right Way"
---
# Web Banners
Spread the word! Use these banner to let new PHP programmers know about _PHP: The Right Way_.
## Button 1 (120x90)
<img src="/images/banners/btn1-120x90.png" alt="PHP: The Right Way"/>
<a href="http://www.phptherightway.com">
<img src="http://www.phptherightway.com/images/banners/btn1-120x90.png" alt="PHP: The Right Way"/>
</a>
## Button 2 (120x60)
<img src="/images/banners/btn2-120x60.png" alt="PHP: The Right Way"/>
<a href="http://www.phptherightway.com">
<img src="http://www.phptherightway.com/images/banners/btn2-120x60.png" alt="PHP: The Right Way"/>
</a>
## Leaderboard (728x90)
<img src="/images/banners/leaderboard-728x90.png" alt="PHP: The Right Way"/>
<a href="http://www.phptherightway.com">
<img src="http://www.phptherightway.com/images/banners/leaderboard-728x90.png" alt="PHP: The Right Way"/>
</a>
## Large Rectangle (386x280)
<img src="/images/banners/lg-rect-386x280.png" alt="PHP: The Right Way"/>
<a href="http://www.phptherightway.com">
<img src="http://www.phptherightway.com/images/banners/lg-rect-386x280.png" alt="PHP: The Right Way"/>
</a>
## Medium Rectangle (300x250)
<img src="/images/banners/med-rect-300x250.png" alt="PHP: The Right Way"/>
<a href="http://www.phptherightway.com">
<img src="http://www.phptherightway.com/images/banners/med-rect-300x250.png" alt="PHP: The Right Way"/>
</a>
## Rectangle (180x150)
<img src="/images/banners/rect-180x150.png" alt="PHP: The Right Way"/>
<a href="http://www.phptherightway.com">
<img src="http://www.phptherightway.com/images/banners/rect-180x150.png" alt="PHP: The Right Way"/>
</a>
## Square Button (125x125)
<img src="/images/banners/sq-btn-125x125.png" alt="PHP: The Right Way"/>
<a href="http://www.phptherightway.com">
<img src="http://www.phptherightway.com/images/banners/sq-btn-125x125.png" alt="PHP: The Right Way"/>
</a>
## Vertical Rectangle (240x400)
<img src="/images/banners/vert-rect-240x400.png" alt="PHP: The Right Way"/>
<a href="http://www.phptherightway.com">
<img src="http://www.phptherightway.com/images/banners/vert-rect-240x400.png" alt="PHP: The Right Way"/>
</a>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -6,4 +6,10 @@
<changefreq>daily</changefreq> <changefreq>daily</changefreq>
<priority>1</priority> <priority>1</priority>
</url> </url>
<url>
<loc>http://www.phptherightway.com/banners.html</loc>
<lastmod>2012-07-08T14:11:00-05:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
</urlset> </urlset>