Skip to content

Commit 3c4deaf

Browse files
Redesign homepage
This is largely based on the original work of @emilbaehr (all the credits to the original author) Ref: https://github.com/emilbaehr/automatic-app-landing-page Signed-off-by: sunilpaulmathew <[email protected]>
1 parent b7f4bea commit 3c4deaf

Some content is hidden

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

68 files changed

+2314
-650
lines changed

CNAME

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Gemfile

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

_config.yml

+90-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,91 @@
1-
theme: jekyll-theme-minimal
2-
title: SmartPack Projects
3-
description: The homepage of SmartPack projects
1+
# Title
2+
page_title : SmartPack Projects
3+
4+
fdroid_link :
5+
playstore_link :
6+
app_icon : assets/siteicon.png
7+
app_name : SmartPack Projects
8+
app_price : Free
9+
app_description : Welcome to the home page of SmartPack projects, a group of open-source and privacy-friendly applications designed to improve the overall android user experience.
10+
11+
enable_smart_app_banner : true
12+
13+
# Features
14+
features :
15+
16+
- title : Simple
17+
description : All the apps are essentially simple and easy to use
18+
fontawesome_icon_name : magic
19+
20+
- title : Open-Source
21+
description : Up-to-date source code, which is always open for suggestions or/and contributions
22+
fontawesome_icon_name : code-branch
23+
24+
- title : Privacy-friendly
25+
description : We respect your privacy (no data collection, storing, or sharing)
26+
fontawesome_icon_name : user-secret
27+
28+
- title : Multilingual
29+
description : Thanks to the community contributions, most of these apps are available in many languages
30+
fontawesome_icon_name : globe
31+
32+
- title : Free
33+
description : All these apps are free (or atleast, a free version always available at F-Droid/GitHub)
34+
fontawesome_icon_name : eye-dropper
35+
36+
37+
# Theme Settings
38+
topbar_color : "#000000"
39+
topbar_transparency : 0.1
40+
topbar_title_color : "#ffffff"
41+
42+
cover_image : assets/pic001.png
43+
cover_overlay_color : "#363b3d"
44+
cover_overlay_transparency : 0.8
45+
46+
device_color : blue
47+
48+
body_background_color : "#ffffff"
49+
50+
link_color : "#1d63ea"
51+
52+
app_title_color : "#ffffff"
53+
app_price_color : "#ffffff"
54+
app_description_color : "#ffffff"
55+
56+
feature_title_color : "#000000"
57+
feature_text_color : "#666666"
58+
59+
feature_icons_foreground_color : "#1d63ea"
60+
feature_icons_background_color : "#e6e6e6"
61+
62+
social_icons_foreground_color : "#666666"
63+
social_icons_background_color : "#e6e6e6"
64+
65+
footer_text_color : "#666666"
66+
67+
68+
####################################################
69+
### Jekyll Configuration. No need to touch this. ###
70+
####################################################
71+
72+
# Set the Sass partials directory, as we're using @imports
73+
sass:
74+
style: :compressed # You might prefer to minify using :compressed
75+
76+
# Exclude these files from your production _site
77+
exclude:
78+
- LICENSE
79+
- README.md
80+
- CNAME
81+
82+
collections:
83+
pages:
84+
output: true
85+
permalink: /:path/
86+
87+
# Markdown rendering
88+
markdown: kramdown
89+
90+
# Brave verification
491
include: [".well-known"]

_includes/apps.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<p><a href="https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.release" target="_blank"><img src="https://github.com/SmartPack/SmartPack-Kernel-Manager/blob/master/app/src/main/ic_launcher-web.png?raw=true" alt="" height="60" /></a>
2+
<a href="https://play.google.com/store/apps/details?id=com.smartpack.packagemanager" target="_blank"><img src="https://github.com/SmartPack/PackageManager/blob/master/app/src/main/ic_launcher-web.png?raw=true" alt="" height="60" /></a>
3+
<a href="https://play.google.com/store/apps/details?id=com.sunilpaulmathew.snotz" target="_blank"><img src="https://github.com/sunilpaulmathew/sNotz/blob/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png?raw=true" alt="" height="60" /></a>
4+
<a href="https://play.google.com/store/apps/details?id=com.sunilpaulmathew.debloater" target="_blank"><img src="https://github.com/sunilpaulmathew/De-Bloater/blob/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png?raw=true" alt="" height="60" /></a>
5+
<a href="https://play.google.com/store/apps/details?id=com.smartpack.kernelprofiler" target="_blank"><img src="https://github.com/SmartPack/KernelProfiler/blob/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png?raw=true" alt="" height="60" /></a>
6+
<a href="https://play.google.com/store/apps/details?id=com.smartpack.busyboxinstaller" target="_blank"><img src="https://github.com/SmartPack/BusyBox-Installer/blob/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png?raw=true" alt="" height="60" /></a>
7+
<a href="https://play.google.com/store/apps/details?id=com.sunilpaulmathew.translator" target="_blank"><img src="https://github.com/sunilpaulmathew/Translator/blob/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png?raw=true" alt="" height="60" /></a>
8+
<a href="https://f-droid.org/packages/in.sunilpaulmathew.izzyondroid" target="_blank"><img src="https://gitlab.com/sunilpaulmathew/izzyondroid/-/raw/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png" alt="" height="60" /></a>
9+
<a href="https://play.google.com/store/apps/details?id=com.smartpack.donate" target="_blank"><img src="https://github.com/SmartPack/SmartPack.github.io/blob/master/assets/pic009.png?raw=true" alt="" height="60" /></a></p>

_includes/features.html

+26
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>

_includes/footer.html

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<footer>
2+
<div class="footerIcons">
3+
<a href="https://github.com/sunilpaulmathew">
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="{{ site.github.url }}/translations/" target="_self">
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="{{ site.github.url }}/donation/" target="_self">
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:[email protected]">
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>

_includes/head.html

+19
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>

_includes/header.html

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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">Downloads
24+
<i class="fa fa-caret-down"></i>
25+
</button>
26+
<div class="dropdown-content">
27+
<a href="{{ site.github.url }}/spkm/" target="_self">SmartPack-Kernel Manager</a>
28+
<a href="https://smartpack.github.io/PackageManager/" target="_blank">Package Manager</a>
29+
<a href="https://sunilpaulmathew.github.io/sNotz/" target="_blank">sNotz</a>
30+
<a href="https://sunilpaulmathew.github.io/De-Bloater/" target="_blank">De-Bloater</a>
31+
<a href="{{ site.github.url }}/kp/" target="_self">Kernel Profiler</a>
32+
<a href="{{ site.github.url }}/translator/" target="_self">The Translator</a>
33+
<a href="{{ site.github.url }}/bbi/" target="_self">BusyBox Installer</a>
34+
</div>
35+
</div>
36+
<div class="dropdown">
37+
<button class="dropbtn">Posts
38+
<i class="fa fa-caret-down"></i>
39+
</button>
40+
<div class="dropdown-content">
41+
<a href="{{ site.github.url }}/android-rooting/" target="_blank">Android Rooting</a>
42+
<a href="{{ site.github.url }}/adb-debloating/" target="_blank">ADB De-bloating</a>
43+
<a href="{{ site.github.url }}/debloating/" target="_blank">De-bloating</a>
44+
</div>
45+
</div>
46+
</ul>
47+
</nav>
48+
</header>

_includes/nav.html

-37
This file was deleted.

_includes/screencontent.html

+13
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 %}

0 commit comments

Comments
 (0)