1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-09 11:42:28 +01:00

Add carbon ads

This commit is contained in:
Chaoyi Zha 2018-02-21 16:29:06 -05:00
parent 1c3fa7309b
commit 03f0cf2c5f
3 changed files with 209 additions and 129 deletions

18
bootstrap.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -53,3 +53,78 @@ footer {
margin-bottom: 1.2em;
font-size: 1em;
}
#carbonads {
margin-top: 10em;
background-color: #ecf0f1;
padding-left: 0.8em;
padding-right: 1em;
padding-top: 1em;
padding-bottom: 1em;
width: 9em;
}
#carbonads a {
text-decoration: none;
}
#carbonads a:hover {
text-decoration: none;
}
.carbon-text:hover {
color: #333;
}
#carbonads img {
margin-bottom: 0.8em;
}
.carbon-text {
color: #333;
text-decoration: none;
}
.carbon-poweredby {
display: block;
color: grey;
margin-top: 1.3em;
}
.carbon-poweredby:hover {
color: grey;
}
@media only screen and (max-device-width : 768px) {
.container {
overflow-x: hidden;
}
.carbon-img {
float: left;
}
.carbon-text {
display: block;
}
#carbonads {
width: 80vw;
margin-right: 1em;
margin-left: 1em;
margin-top: 1em;
margin-bottom: 2em;
font-size: 0.8em;
}
#carbonads img {
margin-right: 0.8em;
}
.fork-me {
display: none;
}
}

View File

@ -14,135 +14,144 @@
<body>
<div class='container'>
<div class='col-md-6 col-md-offset-3'>
<div class='center-img'>
<img src='logo.png' />
</div>
<div class='center-nav'>
<em>
<a href='//github.com/cydrobolt/polr'>github</a>
//
<a href='//docs.polrproject.org'>docs</a>
//
<a href='//demo.polr.me'>demo</a>
//
<a href='//webchat.freenode.net/?channels=#polr'>irc</a>
//
<a href='//travis-ci.org/cydrobolt/polr'>build status</a>
//
<a href='//github.com/cydrobolt/polr/issues'>issues</a>
</em>
<div class="row">
<div class="col-md-3 order-md-first order-sm-last order-last">
<script async type="text/javascript"
src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=polrprojectorg" id="_carbonads_js">
</script>
</div>
<hr>
<div class="col-md-6">
<div class='center-img'>
<img src='logo.png' />
</div>
<div class='center-nav'>
<em>
<a href='//github.com/cydrobolt/polr'>github</a>
<div>
<em>
Polr is a quick, modern, and open-source link shortener.
It allows you to host your own URL shortener, to brand your URLs,
and to gain control over your data. It's also <a href='http://docs.polrproject.org/en/latest/about/license/'>GPLv2+</a> licensed.
</em>
</div>
//
<hr>
<a href='//docs.polrproject.org'>docs</a>
<div>
<h2>Polr is intrepid, easy to use</h2>
<ul>
<li>Read the installation <a href='http://docs.polrproject.org/en/latest/user-guide/installation/'>documentation</a> and get running in no time</li>
<li>Modern and simple interface to manage your links and control your instance</li>
<li>Run on your own domain to adjust your branding to perfection</li>
<li>Use Polr out of the box or fork the code to tweak it to to your needs</li>
<li>Customise your instance's shortening permissions, redirects, or even its theme</li>
</ul>
</div>
//
<div>
<h2>and has a robust API</h2>
<ul>
<li>Semantic REST API for integration with other services</li>
<li>Assign new API keys to users automatically, or generate them manually</li>
<li>Create new links or look up existing links without modifying your breaking your existing code</li>
<li>For more information, see <a href='http://docs.polrproject.org/en/latest/developer-guide/api/'>API docs</a></li>
<a href='//demo.polr.me'>demo</a>
//
<a href='//webchat.freenode.net/?channels=#polr'>irc</a>
//
<a href='//travis-ci.org/cydrobolt/polr'>build status</a>
//
<a href='//github.com/cydrobolt/polr/issues'>issues</a>
</em>
</div>
<hr>
<div>
<em>
Polr is a quick, modern, and open-source link shortener.
It allows you to host your own URL shortener, to brand your URLs,
and to gain control over your data. It's also <a href='http://docs.polrproject.org/en/latest/about/license/'>GPLv2+</a> licensed.
</em>
</div>
<hr>
<div>
<h2>Polr is intrepid, easy to use</h2>
<ul>
<li>Read the installation <a href='http://docs.polrproject.org/en/latest/user-guide/installation/'>documentation</a> and get running in no time</li>
<li>Modern and simple interface to manage your links and control your instance</li>
<li>Run on your own domain to adjust your branding to perfection</li>
<li>Use Polr out of the box or fork the code to tweak it to to your needs</li>
<li>Customise your instance's shortening permissions, redirects, or even its theme</li>
</ul>
</div>
<div>
<h2>and has a robust API</h2>
<ul>
<li>Semantic REST API for integration with other services</li>
<li>Assign new API keys to users automatically, or generate them manually</li>
<li>Create new links or look up existing links without modifying your breaking your existing code</li>
<li>For more information, see <a href='http://docs.polrproject.org/en/latest/developer-guide/api/'>API docs</a></li>
</p>
</ul>
</div>
<div>
<h2>Try Polr</h2>
<ul>
<li>Polr Demo instance: <a href='//demo.polr.me'>demo.polr.me</a></li>
<li>Username: demo-admin or demo-user</li>
<li>Password: demo-admin or demo-user (same as username)</li>
<li>Certain features, such as user deletion and password changing are disabled on the demo instance</li>
<li>Use the demo instance to test the API, the interface, or the admin panel</li>
</ul>
</div>
<div>
<iframe src="//ghbtns.com/github-btn.html?user=cydrobolt&amp;repo=polr&amp;type=watch&amp;count=true&amp;size=large" width="190" height="35" style="float: right;border: none"></iframe>
<h2>Interested?</h2>
<ul>
<li>
<a href="//github.com/cydrobolt/polr">Fork it on GitHub</a>
</li>
<li>
<a href="//github.com/cydrobolt/polr/releases">Download latest release</a>
</li>
<li>
<a href="http://docs.polrproject.org">Read the documentation</a>
</li>
<li>
<a href="//webchat.freenode.net/?channels=#polr">Join the IRC channel</a>
</li>
<li>
<a href="//github.com/cydrobolt/polr/issues">Add issues or feature requests</a>
</li>
</ul>
</div>
<div>
<h2>What's in the box?</h2>
<ul>
<li>written in PHP and powered by the Lumen microframework</li>
<li>uses Blade templating</li>
<li>clean MVC architecture</li>
<li>uses Eloquent ORM (MySQL, PostgreSQL, or SQLite)</li>
</ul>
</div>
<div>
<h2>Contribute</h2>
<p>
Found a bug? Have a good idea for improving Polr? Head over to Polr's GitHub page and create a new ticket or fork. If you just want to chat with fellow developers, visit the IRC channel. You can also directly add issues and feature requests to the issue
tracker.
</p>
</ul>
</div>
<footer class='pull-right'>
&copy; Copyright 2013-2017 by <a href='//chaoyizha.com'>Chaoyi Zha</a>
</footer>
</div>
<div>
<h2>Try Polr</h2>
<ul>
<li>Polr Demo instance: <a href='//demo.polr.me'>demo.polr.me</a></li>
<li>Username: demo-admin or demo-user</li>
<li>Password: demo-admin or demo-user (same as username)</li>
<li>Certain features, such as user deletion and password changing are disabled on the demo instance</li>
<li>Use the demo instance to test the API, the interface, or the admin panel</li>
</ul>
</div>
<div>
<iframe src="//ghbtns.com/github-btn.html?user=cydrobolt&amp;repo=polr&amp;type=watch&amp;count=true&amp;size=large" width="190" height="35" style="float: right;border: none"></iframe>
<h2>Interested?</h2>
<ul>
<li>
<a href="//github.com/cydrobolt/polr">Fork it on GitHub</a>
</li>
<li>
<a href="//github.com/cydrobolt/polr/releases">Download latest release</a>
</li>
<li>
<a href="http://docs.polrproject.org">Read the documentation</a>
</li>
<li>
<a href="//webchat.freenode.net/?channels=#polr">Join the IRC channel</a>
</li>
<li>
<a href="//github.com/cydrobolt/polr/issues">Add issues or feature requests</a>
</li>
</ul>
</div>
<div>
<h2>What's in the box?</h2>
<ul>
<li>written in PHP and powered by the Lumen microframework</li>
<li>uses Blade templating</li>
<li>clean MVC architecture</li>
<li>uses Eloquent ORM (MySQL, PostgreSQL, or SQLite)</li>
</ul>
</div>
<div>
<h2>Contribute</h2>
<p>
Found a bug? Have a good idea for improving Polr? Head over to Polr's GitHub page and create a new ticket or fork. If you just want to chat with fellow developers, visit the IRC channel. You can also directly add issues and feature requests to the issue
tracker.
</p>
</div>
<footer class='pull-right'>
&copy; Copyright 2013-2017 by <a href='//chaoyizha.com'>Chaoyi Zha</a>
</footer>
</div>
</div>
<a href="https://github.com/cydrobolt/polr"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67"
alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
<a href="https://github.com/cydrobolt/polr" class="fork-me">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67"
alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png">
</a>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),