jekyll-theme-saifas 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +52 -0
  4. data/_includes/block-iframe.html +1 -0
  5. data/_includes/canvas-powerbi-custom-visual.html +42 -0
  6. data/_includes/card-powerbi-custom-visual.html +23 -0
  7. data/_includes/card-powerbi-report.html +28 -0
  8. data/_includes/card-thumbnail.html +20 -0
  9. data/_includes/lib-charting-assets.html +4 -0
  10. data/_includes/lib-gallery-assets.html +7 -0
  11. data/_includes/news-item-archive.html +21 -0
  12. data/_includes/news-item.html +21 -0
  13. data/_includes/page-base-assets.html +22 -0
  14. data/_includes/page-footer.html +107 -0
  15. data/_includes/page-header-logo.html +4 -0
  16. data/_includes/page-header-path-item.html +5 -0
  17. data/_includes/page-headline.html +3 -0
  18. data/_includes/page-preloader.html +6 -0
  19. data/_layouts/cards-layout.html +29 -0
  20. data/_layouts/default.html +1 -0
  21. data/_layouts/error-404.html +24 -0
  22. data/_layouts/home.html +27 -0
  23. data/_layouts/news-item.html +11 -0
  24. data/_layouts/news.html +26 -0
  25. data/_sass/_base.sass +676 -0
  26. data/_sass/_layout.sass +67 -0
  27. data/_sass/_variables.sass +27 -0
  28. data/_sass/buttons.sass +52 -0
  29. data/_sass/custom-styles.sass +153 -0
  30. data/_sass/custom-variables.sass +0 -0
  31. data/_sass/initialize.sass +7 -0
  32. data/_sass/media-requests.sass +104 -0
  33. data/_sass/preloader.sass +57 -0
  34. data/assets/css/styles.sass +4 -0
  35. data/assets/graphics/fonts/readme.md +1 -0
  36. data/assets/graphics/images/content/empty/empty-image-224px-224px.png +0 -0
  37. data/assets/graphics/images/content/empty/empty-showcase-sample-report/empty-image-500px-400px.jpg +0 -0
  38. data/assets/graphics/images/content/powerbi-icon-960px-1280px.png +0 -0
  39. data/assets/graphics/images/content/powerbi-icon-report-theme-white-black-900px-900px.png +0 -0
  40. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-calendar-120px-120px.png +0 -0
  41. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-legend-120px-120px.png +0 -0
  42. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-map-120px-120px.png +0 -0
  43. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-project-120px-120px.png +0 -0
  44. data/assets/graphics/images/content/saifas-bi-powerbi-custom-visuals/saifas-bi-pbi-cv-table-120px-120px.png +0 -0
  45. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-company-employees-300px-300px.png +0 -0
  46. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-legend-for-heatmap-300px-300px.png +0 -0
  47. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-personal-schedule-300px-300px.png +0 -0
  48. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-project-road-300px-300px.png +0 -0
  49. data/assets/graphics/images/content/saifas-bi-powerbi-reports/saifas-bi-pbi-report-world-population-300px-300px.png +0 -0
  50. data/assets/graphics/images/domain/saifas-bi/backgrounds/about.md +0 -0
  51. data/assets/graphics/images/domain/saifas-bi/icons/button-icons/about.md +0 -0
  52. data/assets/graphics/images/domain/saifas-bi/icons/fav-icons/saifas-brand-logo-star-theme-blue-black-256px-256px.ico +0 -0
  53. data/assets/graphics/images/domain/saifas-bi/icons/launch-shortcut-icons/about.md +0 -0
  54. data/assets/graphics/images/domain/saifas-bi/logos/saifas-brand-logo-star-theme-blue-black-276px-269px.png +0 -0
  55. data/assets/scripts/gallery.js +3 -0
  56. data/assets/scripts/highchart.js +104 -0
  57. data/assets/scripts/index.js +50 -0
  58. metadata +141 -0
@@ -0,0 +1,67 @@
1
+ main
2
+ display: flex
3
+ flex-direction: column
4
+ flex: 1
5
+
6
+ header
7
+ width: 100%
8
+ position: sticky
9
+ top: 0
10
+ z-index: 1
11
+ height: var(--header-height)
12
+ min-height: 64px
13
+ background-color: var(--header-color)
14
+ box-shadow: 0px 10px 20px -9px rgba(34, 60, 80, 0.4)
15
+ display: flex
16
+ align-items: center
17
+ a
18
+ color: var(--text-color)
19
+ overflow: hidden
20
+ white-space: nowrap
21
+ text-overflow: ellipsis
22
+ display: flex
23
+ align-items: center
24
+ margin-left: 10px
25
+ font-size: 22px
26
+ font-style: normal
27
+ text-decoration: none
28
+ &:visited
29
+ color: var(--text-color)
30
+ .logo-text
31
+ display: flex
32
+ align-items: center
33
+ margin-left: 8px
34
+ color: var(--text-color)
35
+ img
36
+ max-width: 50px
37
+ max-height: 50px
38
+ a:not(:first-child)
39
+ text-decoration: none
40
+ background-image: linear-gradient(var(--text-color), var(--text-color))
41
+ background-position: 0% 100%
42
+ background-repeat: no-repeat
43
+ background-size: 0% 2px
44
+ transition: background-size .3s
45
+ a:hover:not(:first-child)
46
+ background-size: 100% 2px
47
+
48
+ footer
49
+ display: flex
50
+ align-items: center
51
+ min-height: 64px
52
+ position: sticky
53
+ bottom: 0
54
+ width: 100%
55
+ height: var(--footer-height)
56
+ background-color: var(--color-grey)
57
+ box-shadow: 0px -10px 20px -9px rgba(34, 60, 80, 0.25)
58
+ justify-content: space-between
59
+
60
+ .socials
61
+ a
62
+ color: black
63
+ text-decoration: none
64
+ &:visited
65
+ color: black
66
+ i
67
+ margin-right: 10px
@@ -0,0 +1,27 @@
1
+ *
2
+ /*Sizes*/
3
+ --header-height: 64px
4
+ --footer-height: 64px
5
+
6
+ /*Colors*/
7
+ --font-color: #525252
8
+ --header-color: #F0F0F0
9
+
10
+ --color-grey: #F0F0F0
11
+
12
+ --text-color: #5f6368
13
+
14
+ /*Shadows*/
15
+ --box-shadow-btn: 0 2px 5px 0 rgb(0 0 0 / 26%)
16
+
17
+ --box-shadow-form: 0 2px 5px 0 rgb(0 0 0 / 26%)
18
+
19
+ /*Font-families*/
20
+ --main-font-family: 'Open Sans', sans-serif
21
+
22
+ /*Font sizes*/
23
+
24
+ --font-size-title: 26px
25
+
26
+ /*Font weights*/
27
+ --font-weight-light: 100
@@ -0,0 +1,52 @@
1
+ /*Buttons*/
2
+ .btn
3
+ -webkit-appearance: none
4
+ -moz-appearance: none
5
+ appearance: none
6
+ display: flex
7
+ align-items: center
8
+ justify-content: center
9
+ font-size: 18px
10
+ background-color: #F0F0F0
11
+ padding: 0 18px
12
+ margin: 0 18px 4px 0
13
+ width: fit-content
14
+ text-decoration: none
15
+ font-family: var(--main-font-family)
16
+ height: 40px
17
+ color: var(--font-color)
18
+ box-shadow: var(--box-shadow-btn)
19
+ -webkit-border-radius: 3px
20
+ border-radius: 3px
21
+ border: 0
22
+ -webkit-transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.2s cubic-bezier(0.4, 0, 0.2, 1)
23
+ -moz-transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), -moz-transform 0.2s cubic-bezier(0.4, 0, 0.2, 1)
24
+ -o-transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), -o-transform 0.2s cubic-bezier(0.4, 0, 0.2, 1)
25
+ -ms-transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), -ms-transform 0.2s cubic-bezier(0.4, 0, 0.2, 1)
26
+ transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1)
27
+ -webkit-transition-delay: 0s
28
+ -moz-transition-delay: 0s
29
+ -o-transition-delay: 0s
30
+ -ms-transition-delay: 0s
31
+ transition-delay: 0s
32
+ -webkit-transform: translateY(0px)
33
+ -moz-transform: translateY(0px)
34
+ -o-transform: translateY(0px)
35
+ -ms-transform: translateY(0px)
36
+ transform: translateY(0px)
37
+ cursor: pointer
38
+ &:visited
39
+ color: var(--font-color)
40
+ &:hover
41
+ -webkit-box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2)
42
+ box-shadow: 0 8px 17px 0 rgba(0,0,0,0.2)
43
+ background: rgba(200,200,200,0.2)
44
+ -webkit-transform: translateY(-1px)
45
+ -moz-transform: translateY(-1px)
46
+ -o-transform: translateY(-1px)
47
+ -ms-transform: translateY(-1px)
48
+ transform: translateY(-1px)
49
+ &.btn--purchase
50
+ background-color: #55d96b
51
+ &:hover
52
+ background-color: #55d96b
@@ -0,0 +1,153 @@
1
+ .home-page__header
2
+ justify-content: space-between
3
+
4
+ .header-navbar
5
+ height: 100%
6
+ display: flex
7
+ align-items: center
8
+
9
+ .header-navbar
10
+ a
11
+ display: flex
12
+ margin-right: 10px
13
+ font-size: 16px
14
+ color: var(--color-text)
15
+ text-decoration: none
16
+ background-image: linear-gradient(var(--text-color), var(--text-color))
17
+ background-position: 0% 100%
18
+ background-repeat: no-repeat
19
+ background-size: 0% 2px
20
+ transition: background-size .3s
21
+ a:last-child
22
+ margin-right: 20px
23
+ a:visited
24
+ color: var(--text-color)
25
+ a.active
26
+ background-size: 100% 2px
27
+ a:hover
28
+ background-size: 100% 2px
29
+
30
+ .home-page__section
31
+ display: flex
32
+ flex-direction: column
33
+ flex: 1
34
+ min-height: 850px
35
+ position: relative
36
+ margin: 0 20px
37
+ padding-top: 50px
38
+ margin-top: -50px
39
+ -webkit-background-clip: content-box
40
+ background-clip: content-box
41
+
42
+ .dropdown
43
+ display: none
44
+ position: relative
45
+ height: 100%
46
+ align-items: center
47
+ &:hover
48
+ .dropdown-btn
49
+ background: #dbdbdb
50
+ .dropdown-content
51
+ display: block
52
+
53
+ .dropdown-content
54
+ display: none
55
+ position: absolute
56
+ background-color: #f1f1f1
57
+ right: 0
58
+ box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2)
59
+ z-index: 1
60
+ a
61
+ display: flex
62
+ font-size: 20px
63
+ padding: 10px
64
+ color: var(--color-text)
65
+ text-decoration: none
66
+ margin: 0
67
+ a.active
68
+ background: #dbdbdb
69
+ a:visited
70
+ color: var(--text-color)
71
+
72
+ .dropdown-btn
73
+ height: 100%
74
+ cursor: pointer
75
+ display: flex
76
+ align-items: center
77
+ color: var(--text-color)
78
+ padding: 0 20px
79
+ &:hover
80
+ background: var(--color-grey)
81
+ .dropdown-content
82
+ display: flex
83
+
84
+ #container
85
+ margin: 0 auto
86
+
87
+ subheader
88
+ position: sticky
89
+ top: 0
90
+ width: 100%
91
+ height: 40px
92
+ display: flex
93
+ align-items: center
94
+ #breadcrumbs
95
+ color: var(--font-color)
96
+ padding: 0 20px
97
+ a
98
+ text-decoration: none
99
+ color: var(--font-color)
100
+ font-weight: var(--font-weight-light)
101
+ a:visited
102
+ text-decoration: none
103
+ color: var(--font-color)
104
+
105
+ .chart-container
106
+ display: flex
107
+ flex: 1
108
+ align-items: center
109
+
110
+ .engineering-activities-btn
111
+ background: radial-gradient(circle at 0 100%, rgba(0,0,0,0) 150px, #e3e3e3 10px), radial-gradient(circle at 100% 100%, rgba(0,0,0,0) 150px, #e3e3e3 10px), radial-gradient(circle at 100% 0, rgba(0,0,0,0) 150px, #e3e3e3 10px), radial-gradient(circle at 0 0, rgba(0,0,0,0) 150px, #e3e3e3 10px)
112
+ background-position: bottom left, bottom right, top right, top left
113
+ background-size: 50% 50%
114
+ background-repeat: no-repeat
115
+ font-size: 16px
116
+ line-height: 22px
117
+ text-align: center
118
+ display: flex
119
+ height: 300px
120
+ width: 300px
121
+ align-items: center
122
+ justify-content: center
123
+ position: absolute
124
+ top: 25%
125
+ color: var(--text-color)
126
+ text-decoration: none
127
+ font-size: 20px
128
+ line-height: 26px
129
+ cursor: pointer
130
+ transition: background .3s
131
+ &:hover
132
+ background: radial-gradient(circle at 0 100%, rgba(0,0,0,0) 150px, #f0f0f0 10px), radial-gradient(circle at 100% 100%, rgba(0,0,0,0) 150px, #f0f0f0 10px), radial-gradient(circle at 100% 0, rgba(0,0,0,0) 150px, #f0f0f0 10px), radial-gradient(circle at 0 0, rgba(0,0,0,0) 150px, #f0f0f0 10px)
133
+ background-position: bottom left, bottom right, top right, top left
134
+ background-size: 50% 50%
135
+ background-repeat: no-repeat
136
+ transition: background .3s
137
+
138
+ .highcharts-root
139
+ width: 100% !important
140
+ height: 100% !important
141
+
142
+ .highcharts-container
143
+ width: auto !important
144
+ height: auto !important
145
+
146
+ #lightgallery
147
+ display: flex
148
+ flex-wrap: wrap
149
+ a
150
+ margin: 10px
151
+ img
152
+ width: 640px
153
+ height: 320px
File without changes
@@ -0,0 +1,7 @@
1
+ @import "_base.sass"
2
+ @import "_layout.sass"
3
+ @import "_variables.sass"
4
+ @import "buttons.sass"
5
+ @import "media-requests.sass"
6
+ @import "custom-styles.sass"
7
+ @import "custom-variables.sass"
@@ -0,0 +1,104 @@
1
+ /*Media requests*/
2
+ @media (max-width: 350px)
3
+ .post-buttons__container
4
+ flex-direction: column
5
+ align-items: center
6
+ padding: 20px 0 0 0
7
+
8
+ .container__left-buttons
9
+ width: 100%
10
+ a
11
+ width: auto
12
+ margin: 0 20px 20px 20px
13
+
14
+ .buy-button__container
15
+ display: flex
16
+ width: 100%
17
+ margin: 0
18
+ .btn
19
+ width: 100%
20
+ margin: 0 20px 20px 20px
21
+
22
+ @media (max-width: 490px)
23
+ .container__left-buttons
24
+ flex-direction: column
25
+ a
26
+ margin-bottom: 18px
27
+
28
+ .post-buttons__container
29
+ align-items: flex-end
30
+ padding-bottom: 2px
31
+ padding-right: 2px
32
+
33
+ .buy-button__container
34
+ margin: 0 18px 18px 0
35
+
36
+ @media (max-width: 560px)
37
+ .details__card
38
+ flex-direction: column
39
+
40
+ .details__card-buttons
41
+ margin: 0
42
+ margin-top: 20px
43
+
44
+ .details__card-text
45
+ margin-left: 0
46
+
47
+ @media (max-width: 600px)
48
+ .products
49
+ display: flex
50
+ flex-direction: column
51
+
52
+ .product
53
+ margin: 10px
54
+
55
+ @media (max-width: 746px)
56
+ .product
57
+ img
58
+ max-width: 150px !important
59
+
60
+ @media (max-width: 867px)
61
+ .product
62
+ img
63
+ max-width: 200px !important
64
+
65
+ @media (max-width: 1069px)
66
+ .columns-container
67
+ display: flex
68
+ flex-direction: column
69
+
70
+ #lightgallery
71
+ a
72
+ img
73
+ width: 100%
74
+ height: auto
75
+
76
+ @media (max-width: 600px)
77
+ .header-navbar
78
+ display: none
79
+
80
+ .dropdown
81
+ display: inline-block
82
+
83
+ @media (max-width: 680px)
84
+ .circle-container
85
+ max-width: 500px
86
+
87
+ .circle
88
+ width: 200px
89
+ height: 200px
90
+ font-size: 15px
91
+
92
+ .engineering-activities-btn
93
+ transform: scale(0.7)
94
+ top: 15.5%
95
+
96
+ @media (max-width: 460px)
97
+ .engineering-activities-btn
98
+ transform: scale(0.5)
99
+ top: 5.5%
100
+
101
+ .circle
102
+ width: 150px
103
+ height: 150px
104
+ font-size: 12px
@@ -0,0 +1,57 @@
1
+ .preloader
2
+ /*фиксированное позиционирование*/
3
+ position: fixed
4
+ /* координаты положения */
5
+ left: 0
6
+ top: 0
7
+ right: 0
8
+ bottom: 0
9
+ /* фоновый цвет элемента */
10
+ background: #e0e0e0
11
+ /* размещаем блок над всеми элементами на странице (это значение должно быть больше, чем у любого другого позиционированного элемента на странице) */
12
+ z-index: 1001
13
+
14
+ .preloader__row
15
+ position: relative
16
+ top: 50%
17
+ left: 50%
18
+ width: 70px
19
+ height: 70px
20
+ margin-top: -35px
21
+ margin-left: -35px
22
+ text-align: center
23
+ animation: preloader-rotate 2s infinite linear
24
+
25
+ .preloader__item
26
+ position: absolute
27
+ display: inline-block
28
+ top: 0
29
+ background-color: #337ab7
30
+ border-radius: 100%
31
+ width: 35px
32
+ height: 35px
33
+ animation: preloader-bounce 2s infinite ease-in-out
34
+ &:last-child
35
+ top: auto
36
+ bottom: 0
37
+ animation-delay: -1s
38
+
39
+ @keyframes preloader-rotate
40
+ 100%
41
+ transform: rotate(360deg)
42
+
43
+ @keyframes preloader-bounce
44
+ 0%,
45
+ 100%
46
+ transform: scale(0)
47
+ 50%
48
+ transform: scale(1)
49
+
50
+ .loaded_hiding
51
+ .preloader
52
+ transition: 0.3s opacity
53
+ opacity: 0
54
+
55
+ .loaded
56
+ .preloader
57
+ display: none
@@ -0,0 +1,4 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+ @import "initialize"
@@ -0,0 +1 @@
1
+ Fonts should be placed in this folder
@@ -0,0 +1,3 @@
1
+ jQuery(document).ready(($) => {
2
+ $(lightgallery).lightGallery();
3
+ });
@@ -0,0 +1,104 @@
1
+ Highcharts.setOptions({
2
+ colors: ['#01BAF2', '#71BF45', '#FAA74B', '#E83535']
3
+ });
4
+ Highcharts.chart('container', {
5
+ credits: {
6
+ enabled: false
7
+ },
8
+ exporting: {
9
+ enabled: false
10
+ },
11
+ chart: {
12
+ plotBackgroundColor: null,
13
+ plotBorderWidth: null,
14
+ plotShadow: false,
15
+ type: 'pie',
16
+ height: 600,
17
+ width: 600,
18
+ responsive: {
19
+ rules: {
20
+ condition: {
21
+ maxHeight: 600,
22
+ maxWidth: 600,
23
+ minHeight: 200,
24
+ minWidth: 200
25
+ },
26
+ chartOptions: {
27
+ legend: {
28
+ align: 'center',
29
+ verticalAlign: 'bottom',
30
+ layout: 'horizontal'
31
+ },
32
+ yAxis: {
33
+ labels: {
34
+ align: 'left',
35
+ x: 0,
36
+ y: -5
37
+ },
38
+ title: {
39
+ text: null
40
+ }
41
+ },
42
+ subtitle: {
43
+ text: null
44
+ },
45
+ credits: {
46
+ enabled: true
47
+ }
48
+ }
49
+ }
50
+ }
51
+ },
52
+ title: {
53
+ text: ''
54
+ },
55
+ legend: {
56
+ // align: 'right',
57
+ // verticalAlign: 'middle',
58
+ // layout: 'vertical',
59
+ // align: 'right',
60
+ // verticalAlign: 'middle',
61
+ // layout: 'vertical',
62
+ itemMarginBottom: 10,
63
+ itemStyle: {
64
+ fontSize: 16,
65
+ color: '#525252',
66
+ fontFamily: 'Open Sans',
67
+ fontWeight: 400
68
+ }
69
+ },
70
+ tooltip: {
71
+ pointFormat: ''
72
+ },
73
+ plotOptions: {
74
+ pie: {
75
+ allowPointSelect: false,
76
+ cursor: 'pointer',
77
+ dataLabels: {
78
+ enabled: false
79
+ },
80
+ showInLegend: true
81
+ }
82
+ },
83
+ series: [{
84
+ name: 'Composition',
85
+ colorByPoint: true,
86
+ data: [{
87
+ name: 'PowerBI',
88
+ y: 67,
89
+ events: {
90
+ click: () => {document.location.href = "/powerbi/"}
91
+ },
92
+ sliced: true
93
+ }, {
94
+ name: 'Tableau',
95
+ y: 13,
96
+ }, {
97
+ name: 'Google Data Studio',
98
+ y: 10
99
+ }, {
100
+ name: 'Qlik',
101
+ y: 10
102
+ }]
103
+ }]
104
+ });
@@ -0,0 +1,50 @@
1
+ /// preloader
2
+
3
+ window.onload = function () {
4
+ document.body.classList.add('loaded_hiding');
5
+ window.setTimeout(function () {
6
+ document.body.classList.add('loaded');
7
+ document.body.classList.remove('loaded_hiding');
8
+ }, 500);
9
+ }
10
+
11
+
12
+ /// contact form
13
+
14
+ $(document).ready(function(){
15
+ $('.conctact-us-btn').on('click', function(e){
16
+ e.preventDefault();
17
+ $('#modal').fadeIn(100);
18
+ $('.modalBody').slideDown(300);
19
+
20
+ });
21
+ $('.modal-close, #modal').on('click', function(e){
22
+ e.preventDefault();
23
+ $('.modalBody').slideUp(100);
24
+ $('#modal').fadeOut(300);
25
+ });
26
+ });
27
+
28
+
29
+ /// navbar
30
+
31
+ $(window).scroll(function(){
32
+ var $sections = $('section');
33
+ $sections.each(function(i,el){
34
+ var top = $(el).offset().top-100;
35
+ var bottom = top +$(el).height();
36
+ var scroll = $(window).scrollTop();
37
+ var id = $(el).attr('id');
38
+ if( scroll > top && scroll < bottom){
39
+ $('a.active').removeClass('active');
40
+ $('a[href="#'+id+'"]').addClass('active');
41
+ }
42
+ })
43
+ });
44
+
45
+ $("nav").on("click","a", function (event) {
46
+ event.preventDefault();
47
+ var id = $(this).attr('href'),
48
+ top = $(id).offset().top;
49
+ $('body,html').animate({scrollTop: top}, 800);
50
+ });