Skip to content

Commit 5d7fe70

Browse files
Main: Redesign project webpage
Signed-off-by: sunilpaulmathew <sunil.kde@gmail.com>
1 parent 6b0b4c2 commit 5d7fe70

47 files changed

Lines changed: 2361 additions & 648 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

docs/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source "https://rubygems.org"
2+
gem 'github-pages'

docs/_config.yml

Lines changed: 92 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,92 @@
1-
title: Package Manager
2-
description: The homepage of Package Manager
3-
show_downloads: false
4-
theme: jekyll-theme-hacker
1+
# Title
2+
page_title : Package Manager
3+
4+
fdroid_link : https://f-droid.org/packages/com.smartpack.packagemanager
5+
playstore_free_link : https://play.google.com/store/apps/details?id=com.smartpack.packagemanager
6+
playstore_link : https://play.google.com/store/apps/details?id=com.smartpack.packagemanager.pro
7+
app_icon : assets/appicon.png
8+
app_name : Package Manager
9+
app_price : Paid
10+
app_description : Effortlessly manage your apps with a powerful, intuitive tool
11+
12+
enable_smart_app_banner : true
13+
14+
# Features
15+
features :
16+
17+
- title : Material Design UI
18+
description : Beautiful and intuitive UI that clearly distinguishes user and system apps
19+
fontawesome_icon_name : magic
20+
21+
- title : App Installer
22+
description : Effortlessly install APKs, split APKs, and app bundles (.apks, .apkm, .xapk)
23+
fontawesome_icon_name : android
24+
25+
- title : Privacy-friendly
26+
description : Package Manager respects your privacy (no data collection, storing, or sharing)
27+
fontawesome_icon_name : user-secret
28+
29+
- title : Compatibility
30+
description : Supports Android 7 (Nougat) and above, compatible with dark and light modes, etc.
31+
fontawesome_icon_name : mobile-alt
32+
33+
- title : Multilingual
34+
description : Thanks to the community contributions, Package Manager is available in many languages
35+
fontawesome_icon_name : globe
36+
37+
- title : Open-Source
38+
description : Up-to-date source code, which is always open for suggestions or/and contributions
39+
fontawesome_icon_name : code-branch
40+
41+
# Theme Settings
42+
topbar_color : "#000000"
43+
topbar_transparency : 0.1
44+
topbar_title_color : "#ffffff"
45+
46+
cover_image : assets/headerimage.png
47+
cover_overlay_color : "#363b3d"
48+
cover_overlay_transparency : 0.8
49+
50+
device_color : blue
51+
52+
body_background_color : "#ffffff"
53+
54+
link_color : "#1d63ea"
55+
56+
app_title_color : "#ffffff"
57+
app_price_color : "#ffffff"
58+
app_description_color : "#ffffff"
59+
60+
feature_title_color : "#000000"
61+
feature_text_color : "#666666"
62+
63+
feature_icons_foreground_color : "#1d63ea"
64+
feature_icons_background_color : "#e6e6e6"
65+
66+
social_icons_foreground_color : "#666666"
67+
social_icons_background_color : "#e6e6e6"
68+
69+
footer_text_color : "#666666"
70+
71+
72+
####################################################
73+
### Jekyll Configuration. No need to touch this. ###
74+
####################################################
75+
76+
# Set the Sass partials directory, as we're using @imports
77+
sass:
78+
style: :compressed # You might prefer to minify using :compressed
79+
80+
# Exclude these files from your production _site
81+
exclude:
82+
- LICENSE
83+
- README.md
84+
- CNAME
85+
86+
collections:
87+
pages:
88+
output: true
89+
permalink: /:path/
90+
91+
# Markdown rendering
92+
markdown: kramdown

docs/_includes/features.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<div class="features">
2+
3+
{% for feature in site.features %}
4+
5+
{% if feature.title %}
6+
<div class="feature">
7+
<div>
8+
<span class="fa-stack fa-1x">
9+
<i class="iconBack fas fa-circle fa-stack-2x"></i>
10+
<i class="iconTop fas fa-{{ feature.fontawesome_icon_name }} fa-stack-1x"></i>
11+
</span>
12+
</div>
13+
<div class="featureText">
14+
<h3>
15+
{{ feature.title }}
16+
</h3>
17+
<p>
18+
{{ feature.description }}
19+
</p>
20+
</div>
21+
</div>
22+
{% endif %}
23+
24+
{% endfor %}
25+
26+
</div>

docs/_includes/footer.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<footer>
2+
<div class="footerIcons">
3+
<a href="https://github.com/SmartPack/PackageManager">
4+
<span class="fa-stack fa-1x">
5+
<i class="iconBack fas fa-circle fa-stack-2x"></i>
6+
<i class="iconTop fab fa-github fa-stack-1x"></i>
7+
</span>
8+
</a>
9+
10+
<a href="https://poeditor.com/join/project?hash=0CitpyI1Oc">
11+
<span class="fa-stack fa-1x">
12+
<i class="iconBack fas fa-circle fa-stack-2x"></i>
13+
<i class="iconTop fas fa-globe fa-stack-1x"></i>
14+
</span>
15+
</a>
16+
17+
<a href="https://t.me/smartpack_kmanager">
18+
<span class="fa-stack fa-1x">
19+
<i class="iconBack fas fa-circle fa-stack-2x"></i>
20+
<i class="iconTop fab fa-telegram fa-stack-1x"></i>
21+
</span>
22+
</a>
23+
24+
<a href="https://play.google.com/store/apps/dev?id=5836199813143882901">
25+
<span class="fa-stack fa-1x">
26+
<i class="iconBack fas fa-circle fa-stack-2x"></i>
27+
<i class="iconTop fab fa-google-play fa-stack-1x"></i>
28+
</span>
29+
</a>
30+
31+
<a href="https://www.paypal.me/menacherry">
32+
<span class="fa-stack fa-1x">
33+
<i class="iconBack fas fa-circle fa-stack-2x"></i>
34+
<i class="iconTop fab fa-paypal fa-stack-1x"></i>
35+
</span>
36+
</a>
37+
38+
<a href="mailto:smartpack.org@gmail.com">
39+
<span class="fa-stack fa-1x">
40+
<i class="iconBack fas fa-circle fa-stack-2x"></i>
41+
<i class="iconTop fas fa-envelope fa-stack-1x"></i>
42+
</span>
43+
</a>
44+
</div>
45+
<div class="footerLinks">
46+
{% for page in site.pages %}
47+
{% if page.include_in_footer == true %}
48+
<a href="{{ page.url | relative_url }}" target="_self">{{ page.title }}</a>
49+
{% endif %}
50+
{% endfor %}
51+
</div>
52+
</footer>

docs/_includes/head.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="x-ua-compatible" content="ie=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
5+
<base target="_blank">
6+
7+
<title class="pageTitle">{{ site.page_title }}</title>
8+
<meta name="description" content="{{ site.app_description }}">
9+
10+
<link rel="shortcut icon" href="{{ site.app_icon | relative_url }}">
11+
12+
<!-- Smart App Banner -->
13+
{% if site.enable_smart_app_banner %}
14+
<meta name="apple-itunes-app" content="app-id={{ site.ios_app_id }}">
15+
{% endif %}
16+
17+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
18+
<link rel="stylesheet" href="{{ '/main.css' | relative_url }}">
19+
</head>

docs/_includes/header.html

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<header>
2+
<div class="logo">
3+
<div class="appIconShadow">
4+
<svg width="0" height="0">
5+
<defs>
6+
<clipPath id="shape">
7+
<path id="shape" class="cls-1" d="M6181.23,233.709v-1.792c0-.5-0.02-1-0.02-1.523a24.257,24.257,0,0,0-.28-3.3,11.207,11.207,0,0,0-1.04-3.132,10.683,10.683,0,0,0-1.95-2.679,10.384,10.384,0,0,0-2.68-1.943,10.806,10.806,0,0,0-3.13-1.038,19.588,19.588,0,0,0-3.3-.285c-0.5-.017-1-0.017-1.52-0.017h-22.39c-0.51,0-1.01.017-1.53,0.017a24.041,24.041,0,0,0-3.3.285,11.009,11.009,0,0,0-3.13,1.038,10.491,10.491,0,0,0-4.62,4.622,10.893,10.893,0,0,0-1.04,3.132,19.2,19.2,0,0,0-.28,3.3c-0.02.5-.02,1-0.02,1.523v22.392c0,0.5.02,1,.02,1.524a24.257,24.257,0,0,0,.28,3.3,10.9,10.9,0,0,0,1.04,3.132,10.491,10.491,0,0,0,4.62,4.622,11.04,11.04,0,0,0,3.13,1.038,19.891,19.891,0,0,0,3.3.285c0.51,0.017,1.01.017,1.53,0.017h22.39c0.5,0,1-.017,1.52-0.017a24.221,24.221,0,0,0,3.3-.285,10.836,10.836,0,0,0,3.13-1.038,10.408,10.408,0,0,0,2.68-1.943,10.683,10.683,0,0,0,1.95-2.679,11.217,11.217,0,0,0,1.04-3.132,20.257,20.257,0,0,0,.28-3.3c0.02-.5.02-1,0.02-1.524v-20.6h0Z" transform="translate(-6131 -218)"/>
8+
</clipPath>
9+
</defs>
10+
</svg>
11+
{% if page.url != '/' %}
12+
<a href="../" target="_self"><img class="headerIcon" src="{{ site.app_icon | relative_url }}"></a>
13+
{% else %}
14+
<img class="headerIcon" src="{{ site.app_icon | relative_url }}">
15+
{% endif %}
16+
<div class="divider"></div>
17+
</div>
18+
<p class="headerName">{{ site.app_name }}</p>
19+
</div>
20+
<nav class="scroll">
21+
<ul>
22+
<div class="dropdown">
23+
<button class="dropbtn">General
24+
<i class="fa fa-caret-down"></i>
25+
</button>
26+
<div class="dropdown-content">
27+
<a href="{{ site.github.url }}/features/" target="_self">Features</a>
28+
<a href="{{ site.github.url }}/changelog/" target="_self">What's New</a>
29+
<a href="{{ site.github.url }}/contribute/" target="_self">Contributions</a>
30+
<a href="{{ site.github.url }}/privacypolicy/" target="_self">Privacy Policy</a>
31+
<a href="{{ site.github.url }}/permissions/" target="_self">Permissions</a>
32+
<a href="{{ site.github.url }}/disclaimer/" target="_self">Disclaimer</a>
33+
<a href="{{ site.github.url }}/donations/" target="_self">Donations</a>
34+
</div>
35+
</div>
36+
<div class="dropdown">
37+
<button class="dropbtn">Documentation
38+
<i class="fa fa-caret-down"></i>
39+
</button>
40+
<div class="dropdown-content">
41+
<a href="{{ site.github.url }}/general/" target="_blank">General</a>
42+
<a href="{{ site.github.url }}/ui/" target="_blank">User Interface</a>
43+
<a href="{{ site.github.url }}/batch/" target="_blank">Batch Options</a>
44+
<a href="{{ site.github.url }}/sai/" target="_blank">Installer</a>
45+
<a href="{{ site.github.url }}/exports/" target="_blank">Exported Apps</a>
46+
<a href="{{ site.github.url }}/settings/" target="_blank">Settings</a>
47+
</div>
48+
</div>
49+
</ul>
50+
</nav>
51+
</header>

docs/_includes/nav.html

Lines changed: 0 additions & 38 deletions
This file was deleted.

docs/_includes/screencontent.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
2+
3+
{% for file in site.static_files %}
4+
{% if file.path contains 'assets/screenshot/' %}
5+
<script>
6+
$(function() {
7+
$(".iphoneScreen").attr('src', '{{ site.github.baseurl }}{{ file.path }}');
8+
$(".iphoneScreen").removeClass("hidden");
9+
console.log("{{ file.path }}");
10+
});
11+
</script>
12+
{% endif %}
13+
{% endfor %}

docs/_layouts/default.html

Lines changed: 60 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,66 @@
11
<!DOCTYPE html>
2-
<html lang="{{ site.lang | default: "en-US" }}">
3-
<head>
4-
<meta charset='utf-8'>
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width, initial-scale=1">
7-
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
8-
<link rel="shortcut icon" type="image/png" href="/asset/fav.png"/>
2+
<html lang="en-us">
93

10-
{% seo %}
11-
</head>
4+
{% include head.html %}
125

13-
<body>
6+
<body>
7+
<div class="imageWrapper">
8+
<div class="headerBackground">
9+
<div class="container">
10+
{% include header.html %}
11+
<div class="iphonePreview">
1412

15-
<header>
16-
<div class="container">
17-
{% include nav.html %}
18-
</div>
19-
</header>
13+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 0 0" style="position: absolute;">
14+
<clipPath id="screenMask" clipPathUnits="objectBoundingBox" transform="scale(0.00257, 0.00119)">
15+
<path d="M6490.24,1234.36H6216.28c-2.57,0-10.55-.07-12.07-0.07a87.524,87.524,0,0,1-12-1.03,40.051,40.051,0,0,1-11.4-3.79,38.315,38.315,0,0,1-16.82-16.84,39.948,39.948,0,0,1-3.78-11.42,72.257,72.257,0,0,1-1.04-12.02c-0.06-1.83-.06-5.56-0.06-5.56V452.125h0s0.06-11.391.06-12.086a87.9,87.9,0,0,1,1.04-12.025,39.843,39.843,0,0,1,3.78-11.413,38.283,38.283,0,0,1,16.82-16.847,39.762,39.762,0,0,1,11.4-3.785,71.909,71.909,0,0,1,12-1.037c16.99-.567,36.32-0.061,34.51-0.061,5.02,0,6.5,3.439,6.63,6.962a35.611,35.611,0,0,0,1.2,8.156,21.326,21.326,0,0,0,19.18,15.592c2.28,0.192,6.78.355,6.78,0.355H6433.7s4.5-.059,6.79-0.251a21.348,21.348,0,0,0,19.18-15.591,35.582,35.582,0,0,0,1.19-8.154c0.13-3.523,1.61-6.962,6.64-6.962-1.81,0,17.52-.5,34.5.061a71.923,71.923,0,0,1,12.01,1.038,39.832,39.832,0,0,1,11.4,3.784,38.283,38.283,0,0,1,16.82,16.844,40.153,40.153,0,0,1,3.78,11.413,87.844,87.844,0,0,1,1.03,12.023c0,0.695.06,12.084,0.06,12.084h0V1183.64s0,3.72-.06,5.55a72.366,72.366,0,0,1-1.03,12.03,40.2,40.2,0,0,1-3.78,11.41,38.315,38.315,0,0,1-16.82,16.84,40.155,40.155,0,0,1-11.4,3.79,87.669,87.669,0,0,1-12.01,1.03c-1.52,0-9.5.07-12.07,0.07" transform="translate(-6159.12 -394.656)"/>
16+
</clipPath>
17+
</svg>
2018

21-
<div class="container">
22-
<section id="main_content">
23-
{{ content }}
24-
</section>
25-
</div>
26-
<script src="{{ '/assets/js/scale.fix.js' | relative_url }}"></script>
27-
</body>
19+
<div class="videoContainer hidden">
20+
<video class="screenvideo" autoplay="autoplay" controls="controls">
21+
</video>
22+
</div>
23+
24+
<img class="iphoneScreen hidden" src="" alt="">
25+
26+
{% include screencontent.html %}
27+
28+
</div>
29+
<div class="appInfo">
30+
<div class="appIconShadow">
31+
<svg width="0" height="0">
32+
<defs>
33+
<clipPath id="shape120">
34+
<path id="shape" class="cls-1" d="M6821,495.533v-4.281c0-1.2-.04-2.4-0.04-3.642a57.7,57.7,0,0,0-.68-7.882,26.144,26.144,0,0,0-2.48-7.483,25.115,25.115,0,0,0-11.04-11.044,26.118,26.118,0,0,0-7.49-2.481,47.28,47.28,0,0,0-7.88-.68c-1.2-.04-2.4-0.04-3.64-0.04h-53.5c-1.2,0-2.4.04-3.64,0.04a57.813,57.813,0,0,0-7.88.68,26.323,26.323,0,0,0-7.49,2.481,25.115,25.115,0,0,0-11.04,11.044,26.144,26.144,0,0,0-2.48,7.483,47.313,47.313,0,0,0-.68,7.882c-0.04,1.2-.04,2.4-0.04,3.642v53.5c0,1.2.04,2.4,0.04,3.641a57.7,57.7,0,0,0,.68,7.883,26.137,26.137,0,0,0,2.48,7.482,25.115,25.115,0,0,0,11.04,11.044,26.261,26.261,0,0,0,7.49,2.481,47.28,47.28,0,0,0,7.88.68c1.2,0.04,2.4.04,3.64,0.04h53.5c1.2,0,2.4-.04,3.64-0.04a57.654,57.654,0,0,0,7.88-.68,26.057,26.057,0,0,0,7.49-2.481,25.115,25.115,0,0,0,11.04-11.044,26.137,26.137,0,0,0,2.48-7.482,47.316,47.316,0,0,0,.68-7.883c0.04-1.2.04-2.4,0.04-3.641V495.533h0Z" transform="translate(-6701 -458)" filter="url(#f1)"/>
35+
</clipPath>
36+
</defs>
37+
</svg>
38+
<img class="appIconLarge" src="{{ site.app_icon | relative_url }}">
39+
</div>
40+
<div class="appNamePriceContainer">
41+
<h1 class="appName">
42+
{{ site.app_name }}
43+
</h1>
44+
</div>
45+
<div class="appDescriptionContainer">
46+
<p class ="appDescription">
47+
{{ site.app_description }}
48+
</p>
49+
</div>
50+
<div class="downloadButtonsContainer">
51+
{% if site.playstore_link %}
52+
<a class="playStoreLink" href="{{site.playstore_link}}"><img class="playStore" src="assets/playstore.png"></a>
53+
{% endif %}
54+
{% if site.playstore_free_link %}
55+
<a class="playStoreLink" href="{{site.playstore_free_link}}"><img class="playStore" src="assets/playstore.png"></a>
56+
{% endif %}
57+
<a class="fDroidLink" href="{{site.fdroid_link}}"><img class="appStore" src="assets/fdroid.png"></a>
58+
</div>
59+
</div>
60+
{% include features.html %}
61+
{% include footer.html %}
62+
</div>
63+
</div>
64+
</div>
65+
</body>
2866
</html>

0 commit comments

Comments
 (0)