From e7a0b37f545e8754fb389f715a41b043827013c4 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 16 May 2017 04:02:08 +0200 Subject: [PATCH 1/2] use sass by default, implement gulp to autoprefix, minify css and uglify js, reduce img sizes and few design modifications --- _includes/footer.html | 13 + _includes/head.html | 7 +- _layouts/default.html | 2 + _manual/badges.md | 2 +- _packages/zzmanual.md | 2 +- assets/css/custom.css | 211 ------ assets/css/font-awesome.min.css | 4 + assets/css/jquery.bxslider.css | 177 ----- assets/css/main.scss | 8 +- assets/css/normalize.css | 427 ------------ assets/css/skeleton.css | 633 ------------------ assets/sass/abstracts/_variables.scss | 5 - assets/sass/base/_base-styles.scss | 37 + assets/sass/base/_base.scss | 121 +++- assets/sass/base/_functions.scss | 17 + assets/sass/base/_normalize.scss | 428 ++++++++++++ assets/sass/base/_typography.scss | 29 + assets/sass/base/_utils.scss | 20 + assets/sass/base/_variables.scss | 45 ++ assets/sass/modules/_buttons.scss | 147 ++++ assets/sass/modules/_code.scss | 18 + assets/sass/modules/_forms.scss | 81 +++ assets/sass/modules/_grid.scss | 116 ++++ assets/sass/modules/_lists.scss | 32 + assets/sass/modules/_media-queries.scss | 22 + .../sass/{partials => modules}/_navbar.scss | 0 assets/sass/modules/_spacing.scss | 26 + assets/sass/modules/_tables.scss | 19 + assets/sass/modules/_tabs.scss | 112 ++++ assets/sass/plugins/_bxslider.scss | 170 +++++ assets/sass/skeleton.scss | 27 + gulpfile.js | 6 + index.html | 58 +- news/index.html | 2 +- package.json | 25 + 35 files changed, 1552 insertions(+), 1497 deletions(-) create mode 100644 _includes/footer.html delete mode 100644 assets/css/custom.css create mode 100644 assets/css/font-awesome.min.css delete mode 100644 assets/css/jquery.bxslider.css delete mode 100644 assets/css/normalize.css delete mode 100644 assets/css/skeleton.css delete mode 100644 assets/sass/abstracts/_variables.scss create mode 100644 assets/sass/base/_base-styles.scss create mode 100644 assets/sass/base/_functions.scss create mode 100644 assets/sass/base/_normalize.scss create mode 100644 assets/sass/base/_typography.scss create mode 100644 assets/sass/base/_utils.scss create mode 100644 assets/sass/base/_variables.scss create mode 100644 assets/sass/modules/_buttons.scss create mode 100644 assets/sass/modules/_code.scss create mode 100644 assets/sass/modules/_forms.scss create mode 100644 assets/sass/modules/_grid.scss create mode 100644 assets/sass/modules/_lists.scss create mode 100644 assets/sass/modules/_media-queries.scss rename assets/sass/{partials => modules}/_navbar.scss (100%) create mode 100644 assets/sass/modules/_spacing.scss create mode 100644 assets/sass/modules/_tables.scss create mode 100644 assets/sass/modules/_tabs.scss create mode 100644 assets/sass/plugins/_bxslider.scss create mode 100644 assets/sass/skeleton.scss create mode 100644 gulpfile.js create mode 100644 package.json diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..8014cd4 --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,13 @@ + + + diff --git a/_includes/head.html b/_includes/head.html index 0e58018..345281c 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -14,15 +14,10 @@ - + - - - - -

-
+

Contribute

-
- -
-
- Tilix welcomes contributions and encourages participation from the community, for developers please visit the Tilix Github Development site to contribute. For translators, Tilix is localized using Weblate, please visit the Weblate hosted Tilix translations site in order to assist with translations, please do not submit direct pull requests to the repository for translations. -
-
-
-
- -
-
- If you are having issues with Tilix, feel free to open issues in the Tilix Github Issues page as necessary. Developers and users can also be found on IRC on the freenode network in the #terminix room. -
-
- - -
-
- -
- +
+
+ + +
+ +
+ +

+ If you are having issues with Tilix, feel free to open issues in the Tilix Github Issues page as necessary. Developers and users can also be found on IRC on the freenode network in the #terminix room. + +

+
+ +
+
+ diff --git a/news/index.html b/news/index.html index d95b800..ca07721 100644 --- a/news/index.html +++ b/news/index.html @@ -25,7 +25,7 @@
{{news.title} {% endif %} {% endfor %} - {% assign news_total = paginator.posts.size | modulo: 3 %} + {% assign news_total = paginator.posts.size | modulo: 3 %} {% if news_total != 0%} {% endif %} diff --git a/package.json b/package.json new file mode 100644 index 0000000..7867727 --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "tilix-web", + "version": "1.0.0", + "description": "Tilix terminal website", + "keywords": [ + "Tilix", + "terminal", + "emulator", + "VTE", + "website" + ], + "author": "Bilal Elmoussaoui", + "license": "MPL-2.0", + "bugs": { + "url": "https://github.com/gnunn1/tilix-web/issues" + }, + "homepage": "https://github.com/gnunn1/tilix-web#readme", + "devDependencies": { + "gulp": "^3.9.1", + "gulp-autoprefixer": "^4.0.0", + "gulp-concat": "^2.6.1", + "gulp-imagemin": "^3.2.0", + "gulp-uglify": "^2.1.2" + } +} From 2af51f6f4f14de2bfeaccc494bc63250d1618327 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Sat, 20 May 2017 21:36:56 +0200 Subject: [PATCH 2/2] more improvements --- _config.yml | 11 +- _features/custom-links.md | 2 +- _features/dnd.md | 2 +- _features/image-support.md | 2 +- _features/multiple-panes.md | 2 +- _features/notifications.md | 2 +- _features/quick-start.md | 2 +- _includes/footer.html | 16 +-- _includes/head.html | 6 +- _includes/scripts.html | 5 +- _layouts/manual.html | 20 ++++ _layouts/post.html | 1 + _manual/badges.md | 5 +- _manual/cliactions.md | 3 +- _manual/customlinks.md | 5 +- _manual/profileswitch.md | 9 +- _manual/quake.md | 7 +- _manual/themes.md | 7 +- _manual/title.md | 7 +- _manual/triggers.md | 13 +- _manual/vteconfig.md | 3 +- assets/css/main.scss | 13 -- assets/css/tilix.css | 3 + assets/fonts/fontawesome-webfont.ttf | Bin 0 -> 165548 bytes assets/fonts/fontawesome-webfont.woff | Bin 0 -> 98024 bytes assets/images/bx_loader.gif | Bin 8581 -> 6421 bytes assets/images/controls.png | Bin 2806 -> 1236 bytes assets/images/favicon.png | Bin 616 -> 453 bytes assets/images/gallery/tilix-screenshot-1.png | Bin 136811 -> 27868 bytes assets/images/gallery/tilix-screenshot-2.png | Bin 208490 -> 40822 bytes assets/images/gallery/tilix-screenshot-3.png | Bin 136278 -> 24217 bytes .../tilix-screenshot-4-preferences.png | Bin 59351 -> 17032 bytes .../gallery/tilix-screenshot-5-profiles.png | Bin 61846 -> 18864 bytes assets/images/logo.png | Bin 21148 -> 13912 bytes assets/images/manual/badges.png | Bin 211473 -> 29108 bytes assets/images/manual/hotkey.png | Bin 35694 -> 12770 bytes assets/images/manual/links.png | Bin 18553 -> 6729 bytes assets/images/manual/tilix_login_shell.png | Bin 38185 -> 12397 bytes assets/js/custom.js | 93 --------------- assets/js/tilix.js | 7 ++ assets/sass/modules/_tabs.scss | 112 ------------------ faq.html | 6 +- gulpfile.js | 46 ++++++- index.html | 13 +- manual.html | 31 +++-- news/index.html | 4 +- package.json | 4 +- src/images/bx_loader.gif | Bin 0 -> 8581 bytes src/images/controls.png | Bin 0 -> 2806 bytes src/images/favicon.png | Bin 0 -> 616 bytes src/images/gallery/tilix-screenshot-1.png | Bin 0 -> 136811 bytes src/images/gallery/tilix-screenshot-2.png | Bin 0 -> 208490 bytes src/images/gallery/tilix-screenshot-3.png | Bin 0 -> 136278 bytes .../tilix-screenshot-4-preferences.png | Bin 0 -> 59351 bytes .../gallery/tilix-screenshot-5-profiles.png | Bin 0 -> 61846 bytes src/images/logo.png | Bin 0 -> 21148 bytes src/images/manual/badges.png | Bin 0 -> 211473 bytes src/images/manual/hotkey.png | Bin 0 -> 35694 bytes src/images/manual/links.png | Bin 0 -> 18553 bytes src/images/manual/tilix_login_shell.png | Bin 0 -> 38185 bytes {assets => src}/js/jquery-1.12.0.min.js | 0 {assets => src}/js/jquery-ui.min.js | 0 {assets => src}/js/jquery.bxslider.js | 0 src/js/tilix.js | 95 +++++++++++++++ {assets => src}/sass/base/_base-styles.scss | 2 +- {assets => src}/sass/base/_base.scss | 60 ++++++++-- {assets => src}/sass/base/_functions.scss | 0 {assets => src}/sass/base/_normalize.scss | 0 {assets => src}/sass/base/_typography.scss | 0 {assets => src}/sass/base/_utils.scss | 0 {assets => src}/sass/base/_variables.scss | 5 +- src/sass/main.scss | 7 ++ {assets => src}/sass/modules/_buttons.scss | 0 {assets => src}/sass/modules/_code.scss | 0 {assets => src}/sass/modules/_forms.scss | 0 {assets => src}/sass/modules/_grid.scss | 0 {assets => src}/sass/modules/_lists.scss | 0 .../sass/modules/_media-queries.scss | 0 {assets => src}/sass/modules/_navbar.scss | 2 +- {assets => src}/sass/modules/_spacing.scss | 0 {assets => src}/sass/modules/_tables.scss | 0 src/sass/modules/_tabs.scss | 95 +++++++++++++++ {assets => src}/sass/plugins/_bxslider.scss | 2 +- {assets => src}/sass/skeleton.scss | 0 84 files changed, 422 insertions(+), 308 deletions(-) create mode 100644 _layouts/manual.html delete mode 100644 assets/css/main.scss create mode 100644 assets/css/tilix.css create mode 100644 assets/fonts/fontawesome-webfont.ttf create mode 100644 assets/fonts/fontawesome-webfont.woff delete mode 100644 assets/js/custom.js create mode 100644 assets/js/tilix.js delete mode 100644 assets/sass/modules/_tabs.scss create mode 100644 src/images/bx_loader.gif create mode 100644 src/images/controls.png create mode 100644 src/images/favicon.png create mode 100644 src/images/gallery/tilix-screenshot-1.png create mode 100644 src/images/gallery/tilix-screenshot-2.png create mode 100644 src/images/gallery/tilix-screenshot-3.png create mode 100644 src/images/gallery/tilix-screenshot-4-preferences.png create mode 100644 src/images/gallery/tilix-screenshot-5-profiles.png create mode 100644 src/images/logo.png create mode 100644 src/images/manual/badges.png create mode 100644 src/images/manual/hotkey.png create mode 100644 src/images/manual/links.png create mode 100644 src/images/manual/tilix_login_shell.png rename {assets => src}/js/jquery-1.12.0.min.js (100%) rename {assets => src}/js/jquery-ui.min.js (100%) rename {assets => src}/js/jquery.bxslider.js (100%) create mode 100644 src/js/tilix.js rename {assets => src}/sass/base/_base-styles.scss (96%) rename {assets => src}/sass/base/_base.scss (68%) rename {assets => src}/sass/base/_functions.scss (100%) rename {assets => src}/sass/base/_normalize.scss (100%) rename {assets => src}/sass/base/_typography.scss (100%) rename {assets => src}/sass/base/_utils.scss (100%) rename {assets => src}/sass/base/_variables.scss (93%) create mode 100644 src/sass/main.scss rename {assets => src}/sass/modules/_buttons.scss (100%) rename {assets => src}/sass/modules/_code.scss (100%) rename {assets => src}/sass/modules/_forms.scss (100%) rename {assets => src}/sass/modules/_grid.scss (100%) rename {assets => src}/sass/modules/_lists.scss (100%) rename {assets => src}/sass/modules/_media-queries.scss (100%) rename {assets => src}/sass/modules/_navbar.scss (98%) rename {assets => src}/sass/modules/_spacing.scss (100%) rename {assets => src}/sass/modules/_tables.scss (100%) create mode 100644 src/sass/modules/_tabs.scss rename {assets => src}/sass/plugins/_bxslider.scss (98%) rename {assets => src}/sass/skeleton.scss (100%) diff --git a/_config.yml b/_config.yml index 0693924..862ec38 100644 --- a/_config.yml +++ b/_config.yml @@ -1,21 +1,16 @@ baseurl: "/tilix-web" -title: Tilix : A tiling terminal emulator +title: Tilix author: Gerald Nunn description: > # this means to ignore newlines until "baseurl:" - Tilix is an advanced GTK3 tiling terminal for Linux based + Tilix is an advanced GTK3 tiling terminal for Linux based on the Gnome Human Interface Guidelines (HIG). - +lang: "en" # default language gems: [jekyll-paginate] # Number of articles per page paginate: 9 paginate_path: "/news/page:num/" - -sass: - sass_dir: assets/sass - style: :compressed - exclude: [README.md] collections: features: diff --git a/_features/custom-links.md b/_features/custom-links.md index ed93902..03d0018 100644 --- a/_features/custom-links.md +++ b/_features/custom-links.md @@ -2,4 +2,4 @@ icon: fa-anchor title: Custom links --- -Terminals support custom titles and custom hyperlinks. \ No newline at end of file +Terminals support custom titles and custom hyperlinks. diff --git a/_features/dnd.md b/_features/dnd.md index e92eebd..b41e7f2 100644 --- a/_features/dnd.md +++ b/_features/dnd.md @@ -2,4 +2,4 @@ icon: fa-terminal title: Drag and Drop --- -Terminals can be re-arranged using drag and drop both within and between windows. \ No newline at end of file +Terminals can be re-arranged using drag and drop both within and between windows. diff --git a/_features/image-support.md b/_features/image-support.md index 4f0f8cc..96e4e86 100644 --- a/_features/image-support.md +++ b/_features/image-support.md @@ -2,4 +2,4 @@ icon: fa-file-image-o title: Image Support --- -Transparent background image support. \ No newline at end of file +Transparent background image support. diff --git a/_features/multiple-panes.md b/_features/multiple-panes.md index 26beac0..0e1f42c 100644 --- a/_features/multiple-panes.md +++ b/_features/multiple-panes.md @@ -2,4 +2,4 @@ icon: fa-columns title: Multiple Panes --- -Layout terminals in any fashion by splitting them horizontally or vertically. \ No newline at end of file +Layout terminals in any fashion by splitting them horizontally or vertically. diff --git a/_features/notifications.md b/_features/notifications.md index 7306007..d62a76d 100644 --- a/_features/notifications.md +++ b/_features/notifications.md @@ -2,4 +2,4 @@ icon: fa-bell title: Notifications --- -Supports notifications when processes are completed out of view. \ No newline at end of file +Supports notifications when processes are completed out of view. diff --git a/_features/quick-start.md b/_features/quick-start.md index dbe551e..eb7a44f 100644 --- a/_features/quick-start.md +++ b/_features/quick-start.md @@ -2,4 +2,4 @@ icon: fa-floppy-o title: Persistent Layouts --- -Grouping of terminals can be saved and loaded from disk. \ No newline at end of file +Grouping of terminals can be saved and loaded from disk. diff --git a/_includes/footer.html b/_includes/footer.html index 8014cd4..3e65c46 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,13 +1,15 @@ -