Skip to content

Commit

Permalink
Add web banners
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Jul 8, 2012
1 parent 66c140f commit 72e1f7a
Show file tree
Hide file tree
Showing 12 changed files with 131 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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

1. Fork and edit
Expand Down
45 changes: 45 additions & 0 deletions _layouts/blank.html
Original file line number Diff line number Diff line change
@@ -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 changes: 73 additions & 0 deletions banners.md
Original file line number Diff line number Diff line change
@@ -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 added images/banners/btn1-120x90.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/banners/btn2-120x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/banners/leaderboard-728x90.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/banners/lg-rect-386x280.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/banners/med-rect-300x250.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/banners/rect-180x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/banners/sq-btn-125x125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/banners/vert-rect-240x400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@
<changefreq>daily</changefreq>
<priority>1</priority>
</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>

0 comments on commit 72e1f7a

Please sign in to comment.