Skip to content

Commit

Permalink
Replace master branch with page content via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
lrlucena committed Feb 6, 2015
1 parent 6cd38c2 commit 30fec41
Show file tree
Hide file tree
Showing 31 changed files with 2,860 additions and 142 deletions.
Binary file added fonts/copse-regular-webfont.eot
Binary file not shown.
247 changes: 247 additions & 0 deletions fonts/copse-regular-webfont.svg
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 fonts/copse-regular-webfont.ttf
Binary file not shown.
Binary file added fonts/copse-regular-webfont.woff
Binary file not shown.
Binary file added fonts/quattrocentosans-bold-webfont.eot
Binary file not shown.
247 changes: 247 additions & 0 deletions fonts/quattrocentosans-bold-webfont.svg
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 fonts/quattrocentosans-bold-webfont.ttf
Binary file not shown.
Binary file added fonts/quattrocentosans-bold-webfont.woff
Binary file not shown.
Binary file added fonts/quattrocentosans-bolditalic-webfont.eot
Binary file not shown.
248 changes: 248 additions & 0 deletions fonts/quattrocentosans-bolditalic-webfont.svg
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 fonts/quattrocentosans-bolditalic-webfont.ttf
Binary file not shown.
Binary file added fonts/quattrocentosans-bolditalic-webfont.woff
Binary file not shown.
Binary file added fonts/quattrocentosans-italic-webfont.eot
Binary file not shown.
247 changes: 247 additions & 0 deletions fonts/quattrocentosans-italic-webfont.svg
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 fonts/quattrocentosans-italic-webfont.ttf
Binary file not shown.
Binary file added fonts/quattrocentosans-italic-webfont.woff
Binary file not shown.
Binary file added fonts/quattrocentosans-regular-webfont.eot
Binary file not shown.
247 changes: 247 additions & 0 deletions fonts/quattrocentosans-regular-webfont.svg
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 fonts/quattrocentosans-regular-webfont.ttf
Binary file not shown.
Binary file added fonts/quattrocentosans-regular-webfont.woff
Binary file not shown.
Binary file added images/background.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/body-background.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/bullet.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/hr.gif
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/octocat-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 31 additions & 70 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,84 +1,45 @@
<!DOCTYPE html>
<!doctype html>
<html>

<head>
<meta charset='utf-8' />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="description" content="Potigol : " />

<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Linguagem Potigol by potigol</title>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="javascripts/main.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

<title>Potigol</title>
</head>

<body>

<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/potigol">View on GitHub</a>

<h1 id="project_title">Potigol</h1>
<h2 id="project_tagline"></h2>

</header>
</div>

<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<h3>
<a name="bem-vindo-a-potigol" class="anchor" href="#bem-vindo-a-potigol"><span class="octicon octicon-link"></span></a>Bem-vindo a Potigol.</h3>

<p>This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:</p>

<pre><code>escreva "Ola Mundo"
</code></pre>

<pre><code>escreva "Qual e o seu nome?"
nome = leia_texto
escreva "Ola $nome"
</code></pre>

<pre><code>se x&lt;10 entao
escreva "dez"
senao
escreva "nao eh dez
fim
</code></pre>
<header>
<h1>Linguagem Potigol</h1>
<p></p>
</header>

<p>If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.</p>
<div id="banner">
<span id="logo"></span>

<h3>
<a name="designer-templates" class="anchor" href="#designer-templates"><span class="octicon octicon-link"></span></a>Designer Templates</h3>
<a href="https://github.com/potigol" class="button fork"><strong>View On GitHub</strong></a>
</div><!-- end banner -->

<p>We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.</p>

<h3>
<a name="rather-drive-stick" class="anchor" href="#rather-drive-stick"><span class="octicon octicon-link"></span></a>Rather Drive Stick?</h3>

<p>If you prefer to not use the automatic generator, push a branch named <code>gh-pages</code> to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.</p>

<h3>
<a name="authors-and-contributors" class="anchor" href="#authors-and-contributors"><span class="octicon octicon-link"></span></a>Authors and Contributors</h3>

<p>You can <a href="https://github.com/blog/821" class="user-mention">@mention</a> a GitHub username to generate a link to their profile. The resulting <code>&lt;a&gt;</code> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (<a href="https://github.com/defunkt" class="user-mention">@defunkt</a>), PJ Hyett (<a href="https://github.com/pjhyett" class="user-mention">@pjhyett</a>), and Tom Preston-Werner (<a href="https://github.com/mojombo" class="user-mention">@mojombo</a>) founded GitHub.</p>

<h3>
<a name="support-or-contact" class="anchor" href="#support-or-contact"><span class="octicon octicon-link"></span></a>Support or Contact</h3>

<p>Having trouble with Pages? Check out the documentation at <a href="http://help.github.com/pages">http://help.github.com/pages</a> or contact <a href="mailto:[email protected]">[email protected]</a> and we’ll help you sort it out.</p>
<div class="wrapper">
<nav>
<ul></ul>
</nav>
<section>
<h1>
<a id="potigolgithubio" class="anchor" href="#potigolgithubio" aria-hidden="true"><span class="octicon octicon-link"></span></a>potigol.github.io</h1>
</section>
</div>

<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
<footer>
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://twitter.com/michigangraham">mattgraham</a></small></p>
</footer>
</div>

<!--[if !IE]><script>fixScale(document);</script><![endif]-->


</body>
</html>
</html>
54 changes: 53 additions & 1 deletion javascripts/main.js
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
console.log('This would be the main JS file.');
var sectionHeight = function() {
var total = $(window).height(),
$section = $('section').css('height','auto');

if ($section.outerHeight(true) < total) {
var margin = $section.outerHeight(true) - $section.height();
$section.height(total - margin - 20);
} else {
$section.css('height','auto');
}
}

$(window).resize(sectionHeight);

$(document).ready(function(){
$("section h1, section h2").each(function(){
$("nav ul").append("<li class='tag-" + this.nodeName.toLowerCase() + "'><a href='#" + $(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,'') + "'>" + $(this).text() + "</a></li>");
$(this).attr("id",$(this).text().toLowerCase().replace(/ /g, '-').replace(/[^\w-]+/g,''));
$("nav ul li:first-child a").parent().addClass("active");
});

$("nav ul li").on("click", "a", function(event) {
var position = $($(this).attr("href")).offset().top - 190;
$("html, body").animate({scrollTop: position}, 400);
$("nav ul li a").parent().removeClass("active");
$(this).parent().addClass("active");
event.preventDefault();
});

sectionHeight();

$('img').load(sectionHeight);
});

fixScale = function(doc) {

var addEvent = 'addEventListener',
type = 'gesturestart',
qsa = 'querySelectorAll',
scales = [1, 1],
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];

function fix() {
meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
doc.removeEventListener(type, fix, true);
}

if ((meta = meta[meta.length - 1]) && addEvent in doc) {
fix();
scales = [.25, 1.6];
doc[addEvent](type, fix, true);
}
};
2 changes: 1 addition & 1 deletion params.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"Potigol","tagline":"","body":"### Bem-vindo a Potigol.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\nescreva \"Ola Mundo\"\r\n```\r\n\r\n```\r\nescreva \"Qual e o seu nome?\"\r\nnome = leia_texto\r\nescreva \"Ola $nome\"\r\n```\r\n\r\n```\r\nse x<10 entao\r\n escreva \"dez\"\r\nsenao\r\n escreva \"nao eh dez\r\nfim\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.\r\n\r\n### Rather Drive Stick?\r\nIf you prefer to not use the automatic generator, push a branch named `gh-pages` to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.\r\n\r\n### Authors and Contributors\r\nYou can @mention a GitHub username to generate a link to their profile. The resulting `<a>` element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.\r\n\r\n### Support or Contact\r\nHaving trouble with Pages? Check out the documentation at http://help.github.com/pages or contact [email protected] and we’ll help you sort it out.","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
{"name":"Linguagem Potigol","tagline":"","body":"potigol.github.io\r\n=================\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
Loading

0 comments on commit 30fec41

Please sign in to comment.