Skip to content

Commit

Permalink
🎨 Screenshots and branding.
Browse files Browse the repository at this point in the history
  • Loading branch information
archatas committed Feb 8, 2024
1 parent c85d8fb commit f4b882d
Show file tree
Hide file tree
Showing 24 changed files with 303 additions and 11 deletions.
3 changes: 3 additions & 0 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
<li class="navitem">
<a href="/django-paddle-subscriptions-docs/customization/" class="nav-link">Customization</a>
</li>
<li class="navitem">
<a href="/django-paddle-subscriptions-docs/screenshots/" class="nav-link">Screenshots</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">
Expand Down
5 changes: 4 additions & 1 deletion docs/CHANGELOG/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
<li class="navitem">
<a href="../customization/" class="nav-link">Customization</a>
</li>
<li class="navitem">
<a href="../screenshots/" class="nav-link">Screenshots</a>
</li>
<li class="dropdown active">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">
Expand All @@ -61,7 +64,7 @@
</a>
</li>
<li class="nav-item">
<a rel="prev" href="../customization/" class="nav-link">
<a rel="prev" href="../screenshots/" class="nav-link">
<i class="fa fa-arrow-left"></i> Previous
</a>
</li>
Expand Down
3 changes: 3 additions & 0 deletions docs/LICENSE/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
<li class="navitem">
<a href="../customization/" class="nav-link">Customization</a>
</li>
<li class="navitem">
<a href="../screenshots/" class="nav-link">Screenshots</a>
</li>
<li class="dropdown active">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">
Expand Down
5 changes: 4 additions & 1 deletion docs/customization/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
<li class="navitem active">
<a href="./" class="nav-link">Customization</a>
</li>
<li class="navitem">
<a href="../screenshots/" class="nav-link">Screenshots</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">
Expand Down Expand Up @@ -66,7 +69,7 @@
</a>
</li>
<li class="nav-item">
<a rel="next" href="../CHANGELOG/" class="nav-link">
<a rel="next" href="../screenshots/" class="nav-link">
Next <i class="fa fa-arrow-right"></i>
</a>
</li>
Expand Down
3 changes: 3 additions & 0 deletions docs/getting-started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
<li class="navitem">
<a href="../customization/" class="nav-link">Customization</a>
</li>
<li class="navitem">
<a href="../screenshots/" class="nav-link">Screenshots</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">
Expand Down
5 changes: 4 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
<li class="navitem">
<a href="customization/" class="nav-link">Customization</a>
</li>
<li class="navitem">
<a href="screenshots/" class="nav-link">Screenshots</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">
Expand Down Expand Up @@ -337,5 +340,5 @@ <h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>

<!--
MkDocs version : 1.5.3
Build Date UTC : 2024-02-06 06:23:52.782047+00:00
Build Date UTC : 2024-02-08 11:41:42.300628+00:00
-->
Binary file added docs/screenshots/01_monthly_pricing.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 docs/screenshots/02_yearly_pricing.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 docs/screenshots/03_subscription_details.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 docs/screenshots/04_paused_subscription.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 docs/screenshots/05_billing_history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
209 changes: 209 additions & 0 deletions docs/screenshots/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="author" content="Aidas Bendoraitis a.k.a. archatas / DjangoTricks">
<link rel="canonical" href="https://archatas.github.io/django-paddle-subscriptions-docs/screenshots/">
<link rel="shortcut icon" href="../img/favicon.ico">
<title>Screenshots - Django Paddle Subscriptions</title>
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link href="../css/font-awesome.min.css" rel="stylesheet">
<link href="../css/base.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</head>

<body>
<div class="navbar fixed-top navbar-expand-lg navbar-dark bg-primary">
<div class="container">
<a class="navbar-brand" href="..">Django Paddle Subscriptions</a>
<!-- Expander button -->
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbar-collapse">
<span class="navbar-toggler-icon"></span>
</button>

<!-- Expanded navigation -->
<div id="navbar-collapse" class="navbar-collapse collapse">
<!-- Main navigation -->
<ul class="nav navbar-nav">
<li class="navitem">
<a href=".." class="nav-link">Home</a>
</li>
<li class="navitem">
<a href="../getting-started/" class="nav-link">Getting Started</a>
</li>
<li class="navitem">
<a href="../customization/" class="nav-link">Customization</a>
</li>
<li class="navitem active">
<a href="./" class="nav-link">Screenshots</a>
</li>
<li class="dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
<ul class="dropdown-menu">

<li>
<a href="../CHANGELOG/" class="dropdown-item">Changelog</a>
</li>

<li>
<a href="../LICENSE/" class="dropdown-item">License</a>
</li>
</ul>
</li>
</ul>

<ul class="nav navbar-nav ml-auto">
<li class="nav-item">
<a href="#" class="nav-link" data-toggle="modal" data-target="#mkdocs_search_modal">
<i class="fa fa-search"></i> Search
</a>
</li>
<li class="nav-item">
<a rel="prev" href="../customization/" class="nav-link">
<i class="fa fa-arrow-left"></i> Previous
</a>
</li>
<li class="nav-item">
<a rel="next" href="../CHANGELOG/" class="nav-link">
Next <i class="fa fa-arrow-right"></i>
</a>
</li>
<li class="nav-item">
<a href="https://websightful.gumroad.com/l/django-paddle-subscriptions" class="nav-link">Buy Now!</a>
</li>
</ul>
</div>
</div>
</div>

<div class="container">
<div class="row">
<div class="col-md-3"><div class="navbar-light navbar-expand-md bs-sidebar hidden-print affix" role="complementary">
<div class="navbar-header">
<button type="button" class="navbar-toggler collapsed" data-toggle="collapse" data-target="#toc-collapse" title="Table of Contents">
<span class="fa fa-angle-down"></span>
</button>
</div>


<div id="toc-collapse" class="navbar-collapse collapse card bg-secondary">
<ul class="nav flex-column">

<li class="nav-item" data-level="1"><a href="#screenshots" class="nav-link">Screenshots</a>
<ul class="nav flex-column">
<li class="nav-item" data-level="2"><a href="#pricing" class="nav-link">Pricing</a>
<ul class="nav flex-column">
</ul>
</li>
<li class="nav-item" data-level="2"><a href="#subscription-details" class="nav-link">Subscription Details</a>
<ul class="nav flex-column">
</ul>
</li>
<li class="nav-item" data-level="2"><a href="#billing-history" class="nav-link">Billing History</a>
<ul class="nav flex-column">
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div></div>
<div class="col-md-9" role="main">

<h1 id="screenshots">Screenshots</h1>
<h2 id="pricing">Pricing</h2>
<h3 id="monthly-pricing">Monthly Pricing</h3>
<p><img alt="Monthly pricing" src="01_monthly_pricing.png" /></p>
<h3 id="yearly-pricing">Yearly Pricing</h3>
<p><img alt="Yearly pricing" src="02_yearly_pricing.png" /></p>
<h2 id="subscription-details">Subscription Details</h2>
<h3 id="current-status">Current Status</h3>
<p><img alt="Current status" src="03_subscription_details.png" /></p>
<h3 id="paused-subscription">Paused Subscription</h3>
<p><img alt="Paused subscription" src="04_paused_subscription.png" /></p>
<h2 id="billing-history">Billing History</h2>
<p><img alt="Billing history" src="05_billing_history.png" /></p></div>
</div>
</div>

<footer class="col-md-12">
<hr>
<p>Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
</footer>
<script src="../js/jquery-3.6.0.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script>
var base_url = "..",
shortcuts = {"help": 191, "next": 78, "previous": 80, "search": 83};
</script>
<script src="../js/base.js"></script>
<script src="../search/main.js"></script>

<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="searchModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="searchModalLabel">Search</h4>
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
</div>
<div class="modal-body">
<p>From here you can search these documents. Enter your search terms below.</p>
<form>
<div class="form-group">
<input type="search" class="form-control" placeholder="Search..." id="mkdocs-search-query" title="Type search term here">
</div>
</form>
<div id="mkdocs-search-results" data-no-results-text="No results found"></div>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div><div class="modal" id="mkdocs_keyboard_modal" tabindex="-1" role="dialog" aria-labelledby="keyboardModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
</div>
<div class="modal-body">
<table class="table">
<thead>
<tr>
<th style="width: 20%;">Keys</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td class="help shortcut"><kbd>?</kbd></td>
<td>Open this help</td>
</tr>
<tr>
<td class="next shortcut"><kbd>n</kbd></td>
<td>Next page</td>
</tr>
<tr>
<td class="prev shortcut"><kbd>p</kbd></td>
<td>Previous page</td>
</tr>
<tr>
<td class="search shortcut"><kbd>s</kbd></td>
<td>Search</td>
</tr>
</tbody>
</table>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>

</body>
</html>
2 changes: 1 addition & 1 deletion docs/search/search_index.json

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,32 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://archatas.github.io/django-paddle-subscriptions-docs/</loc>
<lastmod>2024-02-06</lastmod>
<lastmod>2024-02-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://archatas.github.io/django-paddle-subscriptions-docs/CHANGELOG/</loc>
<lastmod>2024-02-06</lastmod>
<lastmod>2024-02-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://archatas.github.io/django-paddle-subscriptions-docs/LICENSE/</loc>
<lastmod>2024-02-06</lastmod>
<lastmod>2024-02-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://archatas.github.io/django-paddle-subscriptions-docs/customization/</loc>
<lastmod>2024-02-06</lastmod>
<lastmod>2024-02-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://archatas.github.io/django-paddle-subscriptions-docs/getting-started/</loc>
<lastmod>2024-02-06</lastmod>
<lastmod>2024-02-08</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://archatas.github.io/django-paddle-subscriptions-docs/screenshots/</loc>
<lastmod>2024-02-08</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>
Binary file modified docs/sitemap.xml.gz
Binary file not shown.
5 changes: 4 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ docs_dir: src
site_dir: docs
repo_url: https://websightful.gumroad.com/l/django-paddle-subscriptions
repo_name: Buy Now!
extra_css:
- css/style.css

nav:
- Home: 'index.md'
- Screenshots: 'screenshots.md'
- Getting Started: 'getting-started.md'
- Customization: 'customization.md'
- 'More':
- Customization: 'customization.md'
- Changelog: 'CHANGELOG.md'
- License: 'LICENSE.md'
32 changes: 32 additions & 0 deletions src/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
h1 {
margin-top: 0.75em;
margin-bottom: 1em;
}
h2 {
margin-top: 1.5em;
margin-bottom: 0.75em;
}
h3, h4, h5, h6 {
margin-top: 1.25em;
margin-bottom: 0.5em;
}
.bg-primary {
background: rgb(15 23 42)!important;
}
a {
color: #8b5cf6;
}
a:hover {
color: #8b5cf6;
}
.dropdown-item.active, .dropdown-item:active {
background-color: #8b5cf6;
}
.dropdown-item:hover, .dropdown-item:focus {
background-color: rgb(196 181 253);
color: black;
}
.form-control:focus {
border-color: #8b5cf6;
box-shadow: 0 0 0 0.2rem rgb(196 181 253);
}
2 changes: 1 addition & 1 deletion src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Deploy the data to a publicly accessible staging or production website. Paddle w

Run the management command to fetch Paddle data and install the webhook:

```bash
```shell
(venv)$ python manage.py set_up_paddle_subscriptions
```

Expand Down
Loading

0 comments on commit f4b882d

Please sign in to comment.