Skip to content

Commit 41129b2

Browse files
committed
Dynamic projects in homepage
1 parent da163e8 commit 41129b2

File tree

11 files changed

+57
-143
lines changed

11 files changed

+57
-143
lines changed

.github/workflows/npm.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
uses: actions/checkout@master
1515
with:
1616
submodules: true
17-
- name: Install dependencies
18-
run: npm ci
1917
- name: Build Hugo
2018
uses: chabad360/hugo-gh-pages@v2
2119
with:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
- [x] Create Page / Blog structure
77
- [x] Add basic NC values to configuration
88
- [x] Add NC Logo
9-
- [ ] Add some NC color touches
109
- [x] Add Homepage content
1110
- [x] Add Homepage meta description
1211
- [x] Add Homepage meta title
@@ -15,6 +14,8 @@
1514
- [x] Add About content
1615
- [x] Remove demo content
1716
- [x] Remove demo content images
17+
- [ ] Add some NC color touches
18+
- [ ] Get rid of the SAsS mixins for transforms, etc.
1819
- [ ] See if we can unused JS/CSS
1920
- [ ] Performance checks
2021

data/homepage.yml

Lines changed: 2 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ banner:
1111
########################## Featured Projects ##############################
1212
featured:
1313
enable : true
14-
title: "Featured projects"
14+
title: "Featured Projects"
1515
featuredItem:
1616
# service item loop
1717
- title : "HTL Style Guide"
@@ -34,73 +34,8 @@ featured:
3434
######################### projects ##########################
3535
projects:
3636
enable : true
37-
title : "Might Also Interest you"
37+
title : "Our Projects"
3838
subtitle : "We have a long list of open source projects"
39-
project:
40-
41-
- title : "Pickaxe Security Scanner"
42-
content : "A fast and customizable security scan library"
43-
link : "https://github.com/Netcentric/pickaxe-security-scanner"
44-
45-
- title : "Stylelint-config"
46-
content : "Netcentric's coding and style rules for Stylelint"
47-
link : "https://github.com/Netcentric/stylelint-config"
48-
49-
- title : "NPM Package Template"
50-
content : "Template repo for NPM packages"
51-
link : "https://github.com/Netcentric/npm-package-template"
52-
53-
- title : "AEM Cloud Validator"
54-
content : "Jackrabbit FileVault validator which verifies that a package complies with the AEM as a Cloud Service deployment restrictions"
55-
link : "https://github.com/Netcentric/aem-cloud-validator"
56-
57-
- title : "Healthcheck Migration Kit"
58-
content : "Allows to migrate an AEM 6.4/6.5 instance to Felix Health Checks"
59-
link : "https://github.com/Netcentric/healthcheck-migration-kit"
60-
61-
- title : "Vault Upgrade Hook"
62-
content : "An easy way to add additional logic to the installation of content packages."
63-
link : "https://github.com/Netcentric/vault-upgrade-hook"
64-
65-
- title : "AEM Node Types"
66-
content : "Provides a CND file with all Node Types and Namespaces defined in AEM"
67-
link : "https://github.com/Netcentric/aem-nodetypes"
68-
69-
- title : "AEM Classification"
70-
content : "Validator and classification maps for AEM Content Classification"
71-
link : "https://github.com/Netcentric/aem-classification"
72-
73-
- title : "AEM Taggable Image"
74-
content : "Taggable Image Component for Adobe Experience Manager"
75-
link : "https://github.com/Netcentric/aem-taggable-image"
76-
77-
- title : "Apply Server"
78-
content : "Deploy to servers/run scripts on servers via http"
79-
link : "https://github.com/Netcentric/apply-server"
80-
81-
- title : "Maven-ext-repos-from-env"
82-
content : "Allows to auto-configure maven repositories from system environment"
83-
link : "https://github.com/Netcentric/maven-ext-repos-from-env"
84-
85-
- title : "System env install hook"
86-
content : "Elastic AEM instances made easy."
87-
link : "https://github.com/Netcentric/system-env-install-hook"
88-
89-
- title : "Cloudformation IAC"
90-
content : "CloudFormation framework for AWS based project infrastructure"
91-
link : "hhttps://github.com/Netcentric/cloudformation-iac"
92-
93-
- title : "AEMMJML"
94-
content : "mjml for Adobe Experience Manager"
95-
link : "https://github.com/Netcentric/aemmjml"
96-
97-
- title : "ProgUX"
98-
content : "A Progressive User Experience Library."
99-
link : "https://github.com/Netcentric/progux"
100-
101-
- title : "ProgUX Demo Site"
102-
content : "Documentation/marketing website for ProgUX Library"
103-
link : "https://github.com/Netcentric/progux-demo-site"
10439

10540
################################ Blog ###################################
10641
blog:

layouts/shortcodes/projects.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{{ $resp := getJSON "https://api.github.com/repos/Netcentric/.github/contents/profile/README.md" }}
2+
{{ $resp.content | base64Decode | markdownify }}
Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
11
// Transition
22
@mixin transition($what: all, $time: 0.2s, $how: ease-in-out) {
3-
-webkit-transition: $what $time $how;
4-
-moz-transition: $what $time $how;
5-
-ms-transition: $what $time $how;
6-
-o-transition: $what $time $how;
7-
transition: $what $time $how;
3+
transition: $what $time $how;
84
}
95

106
// Transform
117
@mixin transform($transforms) {
12-
-moz-transform: $transforms;
13-
-o-transform: $transforms;
14-
-ms-transform: $transforms;
15-
-webkit-transform: $transforms;
16-
transform: $transforms;
8+
transform: $transforms;
179
}
1810
// rotate
1911
@mixin rotate ($deg) {
2012
@include transform(rotate(#{$deg}deg));
2113
}
22-
14+
2315
// scale
2416
@mixin scale($scale) {
2517
@include transform(scale($scale));
26-
}
18+
}
2719
// translate
2820
@mixin translate ($x, $y) {
2921
@include transform(translate($x, $y));
@@ -34,9 +26,5 @@
3426
}
3527
//transform origin
3628
@mixin transform-origin ($origin) {
37-
moz-transform-origin: $origin;
38-
-o-transform-origin: $origin;
39-
-ms-transform-origin: $origin;
40-
-webkit-transform-origin: $origin;
41-
transform-origin: $origin;
29+
transform-origin: $origin;
4230
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919

2020
@import 'templates/about.scss';
2121

22+
@import 'templates/repos.scss';
23+
2224
@import 'templates/service.scss';
2325

2426
@import 'templates/testimonial.scss';
2527

26-
@import 'templates/contact.scss';
27-
2828
@import 'templates/blog.scss';
2929

3030
@import 'templates/footer.scss';

themes/influencer-hugo/assets/scss/templates/_about.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232

3333
// ABout
34-
//
34+
//
3535

3636
.about {
3737
position: relative;
@@ -56,12 +56,12 @@
5656
}
5757
}
5858

59-
// Cta
59+
// Cta
6060
.cta-home {
6161
background: #F4F7FC;
6262
}
6363

64-
.chapter-item {
64+
.repo-item {
6565
padding: 30px;
6666
box-shadow: 12px 7px 90px 0 rgba(110, 123, 131, 0.1);
6767
margin-bottom: 30px;

themes/influencer-hugo/assets/scss/templates/_contact.scss

Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.repo {
2+
&-card {
3+
// Overwrite the card-group styles
4+
border: 1px solid rgba(0,0,0,.125) !important;
5+
}
6+
7+
&-title {
8+
word-wrap: break-word;
9+
}
10+
}

themes/influencer-hugo/assets/scss/templates/_service.scss

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,14 @@
33
text-align: center;
44
border-radius: 40px;
55
box-shadow: 12px 7px 90px 0 rgba(110,123,131,.1);
6-
-webkit-transition: all 0.3s ease-in-out;
7-
-moz-transition: all 0.3s ease-in-out;
8-
-ms-transition: all 0.3s ease-in-out;
9-
-o-transition: all 0.3s ease-in-out;
10-
transition: all 0.3s ease-in-out;
11-
6+
transition: all 0.3s ease-in-out;
127

138
&:hover{
149
background: $light;
15-
1610
}
1711

1812
i{
1913
font-size: 60px;
2014
}
21-
2215
}
2316

0 commit comments

Comments
 (0)