Skip to content

Commit

Permalink
Pages: Add website
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Myczkowski <[email protected]>
  • Loading branch information
Adam Myczkowski committed Apr 28, 2018
1 parent 42e48e0 commit d0784b8
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ notifications:
email:
recipients:
- [email protected]
on_success: always
on_success: never
on_failure: always
sudo: false
before_cache:
Expand All @@ -29,3 +29,8 @@ cache:
- $HOME/.android/build-cache
before_install:
- yes | sdkmanager "platforms;android-27"
- >
echo "$PAGES_COMMIT_MESSAGE"
| grep -E '\[(Pages)\]'
&& echo "[Pages] has been found, exiting."
&& exit 0 || true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Floating Volume
Floating Volume is a simple Android 6.0+ app that allows you to control media, ringer, alarm and in-call volume, and switch between ringer modes within the floating interface.
Floating Volume is a simple Android 5.0+ app that allows you to control media, ringer, alarm and in-call volume, and switch between ringer modes within the floating interface.

## Screenshots
![](./screenshots/floating-volume-showcase1.gif) ![](./screenshots/floating-volume-showcase2.gif) ![](./screenshots/floating-volume-showcase3.gif)
<img src="./screenshots/floating-volume-showcase1.gif" width="200"><img src="./screenshots/floating-volume-showcase2.gif" width="200"><img src="./screenshots/floating-volume-showcase3.gif" width="200">

## Notice
App is still in beta stage, some features are not yet implemented or might not be working correctly. Bug reports and feature requests welcome!
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
44 changes: 44 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="UTF-8">

{% seo %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
</head>
<body>
<section class="page-header">
<h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
<a href="https://labs.xda-developers.com/store/app/com.android.mycax.floatingvolume" class="btn">Download from XDA Labs</a>
<a href="https://github.com/MyczkowskiAdam/FloatingVolume/releases" class="btn">Download from GitHub Releases</a>
</section>

<section class="main-content">
<img src="https://raw.githubusercontent.com/MyczkowskiAdam/FloatingVolume/master/app/src/main/ic_launcher-web.png" alt="Logo" style="float:right;width:64px;height:64px;">
{{ content }}

<footer class="site-footer">
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer>
</section>

{% if site.google_analytics %}
<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),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
</body>
</html>

0 comments on commit d0784b8

Please sign in to comment.