Skip to content

Commit 70e47f9

Browse files
committed
Remove unused stuff
1 parent 8a1c5a3 commit 70e47f9

File tree

121 files changed

+7097
-1170
lines changed

Some content is hidden

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

121 files changed

+7097
-1170
lines changed

config.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
######################## default configuration ####################
2-
baseURL = "https://examplesite.com"
2+
baseURL = "/"
33
languageCode = "en-us"
44
title = "Netcentric Open Source"
55
theme = "influencer-hugo"
66
summaryLength = "10"
7-
paginate = 6
7+
paginate = 10
88

99
############################# Plugins ##############################
1010
[params.plugins]
1111

12-
# CSS Plugins
13-
[[params.plugins.css]]
14-
URL = "plugins/bootstrap/bootstrap.min.css"
15-
[[params.plugins.css]]
16-
URL = "plugins/themify-icons/themify-icons.css"
17-
1812
############################## navigation ###############################
1913
[menu]
2014

data/homepage.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,15 @@ featured:
1313
enable : true
1414
title: "Featured Projects"
1515
featuredItem:
16-
# service item loop
1716
- title : "HTL Style Guide"
18-
icon : "ti-wand" # themify icon pack : https://themify.me/themify-icons
1917
content : "A style guide for the HTML Template Language (HTL), the templating language use by the Adobe Experience Manager "
2018
link: "https://github.com/Netcentric/aem-htl-style-guide"
2119

22-
# service item loop
2320
- title : "Access Control Tool"
24-
icon : "ti-user" # themify icon pack : https://themify.me/themify-icons
2521
content : "Rights and roles management for Adobe Experience Manager made easy."
2622
link : "https://github.com/Netcentric/accesscontroltool"
2723

28-
# service item loop
2924
- title : "Front End Build"
30-
icon : "ti-settings" # themify icon pack : https://themify.me/themify-icons
3125
content : "All in one solution for modern Frontend projects, with special focus on AEM (Adobe Experience Manager)"
3226
link : "https://github.com/Netcentric/fe-build"
3327

static/images/icons/clock.svg

Lines changed: 1 addition & 0 deletions
Loading

static/images/icons/github.svg

Lines changed: 3 additions & 0 deletions
Loading

static/images/icons/person.svg

Lines changed: 1 addition & 0 deletions
Loading

static/images/icons/star.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 18 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,23 @@
1-
// Preloader js
2-
$(window).on('load', function () {
3-
$('.preloader').fadeOut(100);
4-
});
1+
(() => {
2+
const _$ = {};
53

6-
(function ($) {
7-
'use strict';
4+
function _setElements() {
5+
_$.mobileToggle = document.querySelector('.navbar-toggler');
6+
_$.navbarCollapse = document.querySelector('.navbar-collapse');
7+
}
88

9-
$('body').scrollspy({
10-
target: '#navbarmain',
11-
offset: 100
12-
});
9+
function _toggleMobileNav() {
10+
_$.navbarCollapse.classList.toggle('show');
11+
}
1312

14-
/*
15-
* ----------------------------------------------------------------------------------------
16-
* SMOTH SCROOL JS
17-
* ----------------------------------------------------------------------------------------
18-
*/
13+
function _setEventListeners() {
14+
_$.mobileToggle.addEventListener('click', _toggleMobileNav);
15+
}
1916

20-
$('a.smoth-scroll').on('click', function (e) {
21-
var anchor = $(this);
22-
$('html, body').stop().animate({
23-
scrollTop: $(anchor.attr('href')).offset().top - 100
24-
}, 1000);
25-
e.preventDefault();
26-
});
17+
function _init() {
18+
_setElements();
19+
_setEventListeners();
20+
}
2721

28-
29-
$('.testimonial-wrap').slick({
30-
slidesToShow: 3,
31-
slidesToScroll: 3,
32-
infinite: true,
33-
dots: false,
34-
arrows: false,
35-
autoplay: true,
36-
autoplaySpeed: 4000,
37-
responsive: [{
38-
breakpoint: 1024,
39-
settings: {
40-
slidesToShow: 2,
41-
slidesToScroll: 2
42-
}
43-
},
44-
{
45-
breakpoint: 900,
46-
settings: {
47-
slidesToShow: 2,
48-
slidesToScroll: 2
49-
}
50-
}, {
51-
breakpoint: 600,
52-
settings: {
53-
slidesToShow: 1,
54-
slidesToScroll: 1
55-
}
56-
},
57-
{
58-
breakpoint: 480,
59-
settings: {
60-
slidesToShow: 1,
61-
slidesToScroll: 1
62-
}
63-
}
64-
65-
]
66-
});
67-
68-
69-
70-
71-
$('.book-preview').each(function () {
72-
$(this).find('.popup-gallery').magnificPopup({
73-
type: 'image',
74-
gallery: {
75-
enabled: true
76-
}
77-
});
78-
});
79-
80-
81-
/* ----------------------------------------------------------- */
82-
/* Fixed header
83-
/* ----------------------------------------------------------- */
84-
85-
86-
$(window).on('scroll', function () {
87-
if ($(window).scrollTop() > 10) {
88-
$('.site-header').addClass('header-white');
89-
} else {
90-
$('.site-header').removeClass('header-white');
91-
}
92-
93-
});
94-
95-
96-
97-
// Smooth scrolling using jQuery easing
98-
// jQuery for page scrolling feature - requires jQuery Easing plugin
99-
100-
101-
// Closes responsive menu when a scroll trigger link is clicked
102-
$('.smoth-scroll').on('click', function (event) {
103-
$('.navbar-collapse').collapse('hide');
104-
});
105-
106-
107-
})(jQuery);
22+
_init();
23+
})();

themes/influencer-hugo/assets/scss/_common.scss

Lines changed: 4 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -58,97 +58,14 @@ Common Styles
5858
cursor: pointer;
5959
border: 1px solid transparent;
6060
transition: all 0.2s ease-in-out;
61-
-webkit-transform: translateY(0px);
62-
-moz-transform: translateY(0px);
63-
-ms-transform: translateY(0px);
64-
-o-transform: translateY(0px);
6561
transform: translateY(0px);
66-
-webkit-transition: all 0.3s ease-in-out !important;
67-
-moz-transition: all 0.3s ease-in-out !important;
68-
-ms-transition: all 0.3s ease-in-out !important;
69-
-o-transition: all 0.3s ease-in-out !important;
7062
transition: all 0.3s ease-in-out !important;
7163

7264
@include tablet {
7365
padding: 15px 37px
7466
}
7567
}
7668

77-
.btn:focus {
78-
box-shadow: none !important
79-
}
80-
81-
82-
.btn-main {
83-
border-color: $secondary-color;
84-
color: $light;
85-
background: $secondary-color;
86-
87-
&:hover {
88-
background: $primary-color;
89-
color: $light;
90-
border-color: $primary-color;
91-
}
92-
}
93-
94-
95-
.btn-main-2 {
96-
background: $primary-color;
97-
color: $light;
98-
border-color: $primary-color;
99-
100-
&:hover {
101-
background: $secondary-color;
102-
color: $light;
103-
border-color: $secondary-color;
104-
}
105-
}
106-
107-
108-
.btn-white {
109-
background: $light !important;
110-
color: $primary-color;
111-
border-color: $light;
112-
}
113-
114-
115-
.btn-border-tp {
116-
border-color: $secondary-color;
117-
background: transparent;
118-
color: $secondary-color;
119-
120-
&:hover {
121-
background: $secondary-color;
122-
color: $light !important;
123-
}
124-
}
125-
126-
127-
.btn-small {
128-
padding: 12px 22px;
129-
font-size: 13px;
130-
}
131-
132-
/*------------------------
133-
BACKGROUND
134-
----------------------------*/
135-
136-
a {
137-
color: $black;
138-
-webkit-transition: all 0.3s ease-in-out;
139-
-moz-transition: all 0.3s ease-in-out;
140-
-ms-transition: all 0.3s ease-in-out;
141-
-o-transition: all 0.3s ease-in-out;
142-
transition: all 0.3s ease-in-out;
143-
}
144-
145-
a:hover,
146-
a:focus {
147-
outline: none;
148-
text-decoration: none;
149-
color: $primary-color;
150-
}
151-
15269
.border-top {
15370
border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
15471
}
@@ -157,12 +74,6 @@ a:focus {
15774
border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
15875
}
15976

160-
161-
.text-color-2 {
162-
color: $secondary-color;
163-
}
164-
165-
16677
.text-lg {
16778
font-size: 40px;
16879
line-height: 1.4;
@@ -182,7 +93,10 @@ a:focus {
18293
color: $primary-color;
18394
}
18495

185-
96+
.icon {
97+
display: inline;
98+
width: 20px;
99+
}
186100

187101
@include mobile-xs {
188102
.display-4 {

themes/influencer-hugo/assets/scss/_typography.scss

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ body {
9090
text-align: left;
9191
background-color: $light;
9292
font-weight: 300;
93-
color: #6a7695;
9493
}
9594

9695
body,
@@ -159,26 +158,6 @@ h6 {
159158
font-size: 14px;
160159
}
161160

162-
.h1 a,
163-
.h2 a,
164-
.h3 a,
165-
.h4 a,
166-
.h5 a,
167-
.h6 a,
168-
h1 a,
169-
h2 a,
170-
h3 a,
171-
h4 a,
172-
h5 a,
173-
h6 a {
174-
color: #263b5e;
175-
176-
&:hover {
177-
color: $primary-color;
178-
}
179-
}
180-
181-
182161
.section-heading {
183162
h2 {
184163
color: #263b5e;

themes/influencer-hugo/assets/scss/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$light: #fff;
2-
$primary-color:#cc302b;
2+
$primary-color:#5a3699;
33
$secondary-color: #385777;
44
$black: #222;
55
$black-light: #3f4451;

0 commit comments

Comments
 (0)