jekyll-theme-saifas 0.1.6 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -53
  3. data/_config.yml +17 -0
  4. data/_includes/assets/head.html +17 -0
  5. data/_includes/{page-footer.html → page/footer/contact-us-modal.html} +2 -30
  6. data/_includes/page/footer/index.html +21 -0
  7. data/_includes/page/header/index.html +5 -0
  8. data/_includes/page/header/logo.html +8 -0
  9. data/_includes/page/header/navigation.html +5 -0
  10. data/_includes/page/other/headline.html +3 -0
  11. data/_includes/plugins/breadcrumbs.html +6 -0
  12. data/_includes/{page-preloader.html → plugins/preloader.html} +0 -0
  13. data/_layouts/default.html +24 -1
  14. data/_sass/_base.sass +3 -533
  15. data/_sass/_layout.sass +52 -12
  16. data/_sass/_variables.sass +1 -0
  17. data/_sass/buttons.sass +1 -5
  18. data/_sass/initialize.sass +5 -7
  19. data/assets/graphics/fonts/readme.md +0 -1
  20. data/{_sass/custom-variables.sass → assets/graphics/images/readme.md} +0 -0
  21. data/assets/{graphics/images/domain/saifas-bi/backgrounds/about.md → sass/readme.md} +0 -0
  22. data/assets/{css → sass}/styles.sass +0 -0
  23. data/assets/scripts/index.js +1 -1
  24. data/assets/{graphics/images/domain/saifas-bi/icons/button-icons/about.md → scripts/readme.md} +0 -0
  25. metadata +18 -73
  26. data/_includes/block-iframe.html +0 -1
  27. data/_includes/card-thumbnail.html +0 -20
  28. data/_includes/lib-charting-assets.html +0 -4
  29. data/_includes/lib-gallery-assets.html +0 -7
  30. data/_includes/news-item-archive.html +0 -21
  31. data/_includes/news-item.html +0 -21
  32. data/_includes/page-base-assets.html +0 -22
  33. data/_includes/page-header-logo.html +0 -4
  34. data/_includes/page-header-path-item.html +0 -5
  35. data/_includes/page-headline.html +0 -3
  36. data/_layouts/cards-layout.html +0 -29
  37. data/_layouts/home.html +0 -27
  38. data/_layouts/news-item.html +0 -11
  39. data/_layouts/news.html +0 -26
  40. data/_sass/custom-styles.sass +0 -153
  41. data/_sass/media-requests.sass +0 -104
  42. data/assets/graphics/images/content/empty/empty-image-224px-224px.png +0 -0
  43. data/assets/graphics/images/content/empty/empty-showcase-sample-report/empty-image-500px-400px.jpg +0 -0
  44. data/assets/graphics/images/content/powerbi-icon-960px-1280px.png +0 -0
  45. data/assets/graphics/images/content/powerbi-icon-report-theme-white-black-900px-900px.png +0 -0
  46. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-calendar-120px-120px.png +0 -0
  47. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-legend-120px-120px.png +0 -0
  48. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-map-120px-120px.png +0 -0
  49. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-project-120px-120px.png +0 -0
  50. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-table-120px-120px.png +0 -0
  51. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-company-employees-300px-300px.png +0 -0
  52. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-legend-for-heatmap-300px-300px.png +0 -0
  53. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-personal-schedule-300px-300px.png +0 -0
  54. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-project-road-300px-300px.png +0 -0
  55. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-world-population-300px-300px.png +0 -0
  56. data/assets/graphics/images/domain/saifas-bi/icons/fav-icons/saifas-brand-logo-star-theme-blue-black-256px-256px.ico +0 -0
  57. data/assets/graphics/images/domain/saifas-bi/icons/launch-shortcut-icons/about.md +0 -0
  58. data/assets/graphics/images/domain/saifas-bi/logos/saifas-brand-logo-star-theme-blue-black-276px-269px.png +0 -0
  59. data/assets/scripts/gallery.js +0 -3
  60. data/assets/scripts/highchart.js +0 -104
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29864a6c16fe7d483898986a280a6cada287cfe6284b04c19e2433f243ef261c
4
- data.tar.gz: d5afc3f257976468e484a23b9e79e2390f455a0c7b4cba1774d8ce015d047315
3
+ metadata.gz: 808fa609d5d7e4460e57e70fc5f8776d24d9f7e2c89063baf725f377f8d0c5e0
4
+ data.tar.gz: '08b856cd2cfd6a8f140284c0dce080ff3a07026044b208b518501fe74227dcc3'
5
5
  SHA512:
6
- metadata.gz: cdf4f27201664d9c16f4ff68b464f1ebc8253f00c17084c7d8cd0924f374cd14bbb7da4f1927fd83cfe92c9aa4f4c5c96d04227d50e701400498782a89575d13
7
- data.tar.gz: caf34ca70ff67b8e50858e75e639e9bf735c9daf1e9658fdf71d9abe98d40cdb165d9e7220521bd1042276de53f6473fd03f7b1fefb94375862ee8ae8b3afd6c
6
+ metadata.gz: 570c7b84870c1822899ceb02bce58cac7f20916e2c1bf7b5986593226929803d7dbf0c9635fc56ffcb8ca0e94b788b2035f876307ce0b2dc70936fdb089a2a91
7
+ data.tar.gz: 6c0d860aecc00501403865075ce28c3fcdacaded6816e6b8b2c76e9f635e7b9f4ec2f0684feba5046375ea43ca7a94950ffe74a2d00c65d9b8c3c1cad696d489
data/README.md CHANGED
@@ -1,54 +1,3 @@
1
- # jekyll-theme-saifas
1
+ This repository contains a boilerplate for working on creating themes for various areas. Starter theme contains a default layout, header and footer.
2
2
 
3
- Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
-
5
- To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
-
7
- TODO: Delete this and the text above, and describe your gem
8
-
9
-
10
- ## Installation
11
-
12
- Add this line to your Jekyll site's `Gemfile`:
13
-
14
- ```ruby
15
- gem "jekyll-theme-saifas"
16
- ```
17
-
18
- And add this line to your Jekyll site's `_config.yml`:
19
-
20
- ```yaml
21
- theme: jekyll-theme-saifas
22
- ```
23
-
24
- And then execute:
25
-
26
- $ bundle
27
-
28
- Or install it yourself as:
29
-
30
- $ gem install jekyll-theme-saifas
31
-
32
- ## Usage
33
-
34
- TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
-
36
- ## Contributing
37
-
38
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
-
40
- ## Development
41
-
42
- To set up your environment to develop this theme, run `bundle install`.
43
-
44
- Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
-
46
- When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
- To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-saifas.gemspec` accordingly.
48
-
49
- ## License
50
-
51
- The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
-
53
- ## Update gem
54
- If you need to update the gem file, after all the changes and commits, you need to run a gem build for the file with the gemspec extension and then gem push "here is the file that builded".
3
+ To view the documentation follow the link: https://github.com/JekyllGO/saifas-ssg-jekyll-theme-boilerplate-doc
data/_config.yml ADDED
@@ -0,0 +1,17 @@
1
+ title: Jekyll theme SAIFAS
2
+ author:
3
+ name: SAIFAS
4
+ copyright: © SAIFAS
5
+ version: 1.0.0
6
+ lang: en_US
7
+ author: SAIFAS
8
+ email: jekyll@saifas.info
9
+ about: Jekyll theme SAIFAS
10
+
11
+ gems:
12
+
13
+ sass:
14
+ sass_dir: /_sass/
15
+
16
+ assets_root_path: /assets/
17
+ assets_styles_path: /assets/sass/styles.css
@@ -0,0 +1,17 @@
1
+ <head>
2
+
3
+ <script
4
+ src="https://code.jquery.com/jquery-3.6.0.js"
5
+ integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk="
6
+ crossorigin="anonymous">
7
+ </script>
8
+ <script src="https://kit.fontawesome.com/3ddd0feda7.js" crossorigin="anonymous"></script>
9
+ <script src="/assets/scripts/index.js"></script>
10
+
11
+ <meta http-equiv="Content-Type" content="application/json; charset=utf-8">
12
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
13
+
14
+ <link rel="stylesheet" href="{{ site.assets_styles_path }}"></link>
15
+ <link rel="shortcut icon" href="{{ site.favicon }}">
16
+
17
+ </head>
@@ -1,35 +1,7 @@
1
- <footer>
2
- <div class="conctact-us-btn">
3
- <i class="fas fa-comment fa-2x"></i>
4
- Contact us
5
- </div>
6
- <!-- <address class="footer__contact-us">
7
- For purchasing any custom visual, please contact: <a style="margin-left: 4px;" href="mailto:bi-support@saifas.org">bi-support@saifas.org</a>
8
- </address> -->
9
- <div class="watermark">
10
- <div class="socials">
11
- <a target="_blank" href="{{site.social_media_github_url}}">
12
- <i class="fab fa-github fa-lg"></i>
13
- </a>
14
- <a target="_blank" href="{{site.social_media_facebook_url}}">
15
- <i class="fab fa-facebook fa-lg"></i>
16
- </a>
17
- <a target="_blank" href="{{site.social_media_linkedin_url}}">
18
- <i class="fab fa-linkedin fa-lg"></i>
19
- </a>
20
- <a target="_blank" href="{{site.social_media_twittern_url}}">
21
- <i class="fab fa-twitter fa-lg"></i>
22
- </a>
23
- </div>
24
- {{ site.copyright }}
25
- </div>
26
-
27
- </footer>
28
-
29
1
  <div id="modal"></div>
30
2
  <div class="modalBody">
31
3
  <i class="fas fa-times fa-lg modal-close"></i>
32
- <form class="contact-form" action="{{site.usebasin_modal_url}}" method="POST">
4
+ <form class="contact-form" action="{{ site.layout.footer.form_url }}" method="POST">
33
5
  <div class="headline modal-headline">Send a message</div>
34
6
  <div class="form-elem__container">
35
7
  <div class="three-form-elements">
@@ -104,4 +76,4 @@
104
76
  С какой страницы ушло письмо -->
105
77
  </form>
106
78
  </div>
107
- </div>
79
+ </div>
@@ -0,0 +1,21 @@
1
+ <footer>
2
+ {% if site.layout.footer.contact_us %}
3
+ <div class="contact-us__btn">
4
+ <i class="fas fa-comment fa-2x"></i>
5
+ Contact us
6
+ </div>
7
+ {% endif %}
8
+ <div class="watermark">
9
+ {% if site.layout.footer.socials %}
10
+ <div class="socials">
11
+ {% for link in site.layout.footer.socials %}
12
+ <a target="_blank" href="{{ link.url }}">
13
+ <i class="fab fa-{{ link.name }} fa-lg"></i>
14
+ </a>
15
+ {% endfor %}
16
+ </div>
17
+ {% endif %}
18
+ {{ site.copyright }}
19
+ </div>
20
+ </footer>
21
+ {% include page/footer/contact-us-modal.html %}
@@ -0,0 +1,5 @@
1
+ <header>
2
+ {% include page/header/logo.html %}
3
+ {% include plugins/breadcrumbs.html %}
4
+ {% include page/header/navigation.html %}
5
+ </header>
@@ -0,0 +1,8 @@
1
+ <a href="/">
2
+ {% if site.layout.header.logo.path %}
3
+ <img src="{{ site.layout.header.logo.path }}">
4
+ {% else %}
5
+ <div class="logo__plug"></div>
6
+ {% endif %}
7
+ <div class="logo__title">{{ site.title }}</div>
8
+ </a>
@@ -0,0 +1,5 @@
1
+ <nav class="header-navbar">
2
+ {% for link in site.layout.header.links %}
3
+ <a href="{{ link.url }}">{{ link.title }}</a>
4
+ {% endfor %}
5
+ </nav>
@@ -0,0 +1,3 @@
1
+ <div class="headline">
2
+ {{ include.headline }}
3
+ </div>
@@ -0,0 +1,6 @@
1
+ <div style="display: flex; align-items: center; margin-left: 10px; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis" id="breadcrumbs">
2
+ {% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
3
+ {% for crumb in crumbs offset: 1 %}
4
+ > <a href="{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a>
5
+ {% endfor %}
6
+ </div>
@@ -1 +1,24 @@
1
- {{ content }}
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {% include plugins/preloader.html %}
5
+
6
+ <title>
7
+ {{ page.title }}
8
+ </title>
9
+
10
+ {% include assets/head.html %}
11
+
12
+ <body>
13
+
14
+ {% include page/header/index.html %}
15
+
16
+ <main>
17
+ {{ content }}
18
+ </main>
19
+
20
+ {% include page/footer/index.html %}
21
+
22
+ </body>
23
+
24
+ </html>