Skip to content

Commit

Permalink
Updated index with new info about the branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Juriy committed Apr 13, 2020
1 parent db826e2 commit 6f7d9f5
Showing 1 changed file with 16 additions and 26 deletions.
42 changes: 16 additions & 26 deletions swapi/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,28 @@ <h1 class="center">
"eye_color": "blue",
"birth_year": "19BBY",
"gender": "male",
"homeworld": "https://swapi.co/api/planets/1/",
"homeworld": "https://swapi.dev/api/planets/1/",
"films": [
"https://swapi.co/api/films/2/",
"https://swapi.co/api/films/6/",
"https://swapi.co/api/films/3/",
"https://swapi.co/api/films/1/",
"https://swapi.co/api/films/7/"
"https://swapi.dev/api/films/2/",
"https://swapi.dev/api/films/6/",
"https://swapi.dev/api/films/3/",
"https://swapi.dev/api/films/1/",
"https://swapi.dev/api/films/7/"
],
"species": [
"https://swapi.co/api/species/1/"
"https://swapi.dev/api/species/1/"
],
"vehicles": [
"https://swapi.co/api/vehicles/14/",
"https://swapi.co/api/vehicles/30/"
"https://swapi.dev/api/vehicles/14/",
"https://swapi.dev/api/vehicles/30/"
],
"starships": [
"https://swapi.co/api/starships/12/",
"https://swapi.co/api/starships/22/"
"https://swapi.dev/api/starships/12/",
"https://swapi.dev/api/starships/22/"
],
"created": "2014-12-09T13:50:51.644000Z",
"edited": "2014-12-20T21:17:56.891000Z",
"url": "https://swapi.co/api/people/1/"
"url": "https://swapi.dev/api/people/1/"
}
</pre>
</div>
Expand All @@ -83,20 +83,10 @@ <h4 class="center">How can I use it?</h4>
<p>Helper libraries for popular programming languages are also provided so you can consume swapi in your favourite programming language, in a style that suits you.</p>
</div>
<div class="col-sm-3 col-lg-3 col-md-3">
<h4 class="center">How can I support this?</h4>
<p>With small donations we can keep swapi running for free, please consider throwing us some beer money to say thank you. With every $10 we can keep the site up for another month!</p>
<p><form action="/stripe/donation" method="POST">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="{{stripe_key}}"
data-image="https://i.imgur.com/PqkJzx4s.png"
data-name="swapi.co"
data-description="Donate and keep swapi alive!"
data-amount="1000"
data-panel-label="Donate">
</script>
</form></p>
<p>This project is open source and you can contribute <a href="https://github.com/phalt/swapi">on GitHub</a>.</p>
<h4 class="center">What happened with old swapi.co?</h4>
<p>swapi.co is not supported and maintained anymode. But since so many projects and tutorials used it as their educational
playground, this is an "unofficial" branch</p>
<p>This project is open source and you can contribute <a href="https://github.com/Juriy/swapi">on GitHub</a>.</p>
</div>
<div class="col-sm-1 col-lg-1 col-md-1">
</div>
Expand Down

0 comments on commit 6f7d9f5

Please sign in to comment.