Skip to content

Commit 783e9ba

Browse files
authored
Merge pull request #101 from ASKnetCommunity/development
design updates and content-submit updates
2 parents d58a147 + 8378efd commit 783e9ba

File tree

10 files changed

+84
-47
lines changed

10 files changed

+84
-47
lines changed

_data/sitetext.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ en: &DEFAULT_EN
4242
<div class="col-md-2 col-7 text-left text-nowrap">using the <b>available resources.</b> </div>
4343
</div>
4444
'
45-
submit: https://github.com/ASKnetCommunity/ASKnet.Community/issues/30
4645
section: about
4746
list:
4847
- title: "Community"
@@ -89,18 +88,16 @@ en: &DEFAULT_EN
8988
github: https://github.com/ASKtraining/Training
9089
submit: https://github.com/ASKnetCommunity/ASKnet.Community/issues/33
9190

92-
tools:
93-
title: "#ASKtools"
94-
text: "---here is the asktools text---"
95-
section: asktools
96-
submit: https://github.com/ASKnetCommunity/ASKnet.Community/issues/55
97-
9891
resources:
9992
title: "Resources"
100-
text: "open educational training resources"
93+
text: "While providing Access to Skills and Knowledge, our network shares all creations and open educational training resources."
10194
section: resources
102-
submit: https://github.com/ASKnetCommunity/ASKnet.Community/issues/56
10395

96+
tools:
97+
title: "#ASKtools"
98+
text: ""
99+
section: asktools
100+
104101

105102
lead:
106103
title: "LEAD<br />Local Experts Action Directory"

_includes/hubs_grid.html

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,37 @@ <h2>We need content here!</h2>
1717
<div class="row">
1818
{% for project in site.hubs %}
1919
<div class="col-md-4 col-sm-6 hubs-item">
20-
<a class="hubs-link" data-toggle="modal" href="#p{{ forloop.index }}">
21-
<div class="hubs-hover">
22-
<div class="hubs-hover-content">
23-
<i class="{{ site.data.style.hubs-icon | default: "fas fa-plus fa-3x" }}"></i>
20+
<div class="shadow-box">
21+
<a class="hubs-link" data-toggle="modal" href="#p{{ forloop.index }}">
22+
<div class="hubs-hover">
23+
<div class="hubs-hover-content">
24+
<i class="{{ site.data.style.hubs-icon | default: " fas fa-plus fa-3x" }}"></i>
25+
</div>
2426
</div>
27+
<img class="img-fluid hubs-img" src="{{ project.caption.thumbnail }}" alt="">
28+
</a>
29+
<div class="hubs-caption">
30+
<h4>{{ project.caption.title }}</h4>
31+
<p class="text-muted">{{ project.caption.subtitle }}</p>
2532
</div>
26-
<img class="img-fluid" src="{{ project.caption.thumbnail }}" alt="">
27-
</a>
28-
<div class="hubs-caption">
29-
<h4>{{ project.caption.title }}</h4>
30-
<p class="text-muted">{{ project.caption.subtitle }}</p>
3133
</div>
3234
</div>
3335
{% endfor %}
3436
<div class="col-md-4 col-sm-6 hubs-item">
35-
<a class="hubs-link" target="_blank" href="https://github.com/ASKnetCommunity/ASKnet.Community/issues/new?assignees=&labels=content-submit%2Cnew-hub&template=new-hub.yml&title=Add+Hub%3A+">
37+
<div class="shadow-box">
38+
<a class="hubs-link" target="_blank" href="https://github.com/ASKnetCommunity/ASKnet.Community/issues/new?assignees=&labels=content-submit%2Cnew-hub&template=new-hub.yml&title=Add+Hub%3A+">
3639
<div class="hubs-hover">
3740
<div class="hubs-hover-content">
3841
<i class="{{ site.data.style.hubs-icon | default: "fas fa-plus fa-3x" }}"></i>
3942
</div>
4043
</div>
41-
<img class="img-fluid" src="assets/img/hubs/00-new-hub.jpg" alt="">
44+
<img class="img-fluid border border-light hubs-img" src="assets/img/hubs/00-new-hub.jpg" alt="">
4245
</a>
4346
<div class="hubs-caption">
4447
<h4>Add new Hub</h4>
4548
<p class="text-muted">you can register your hub here</p>
4649
</div>
50+
</div>
4751
</div>
4852
</div>
4953
</div>

_includes/resources_grid.html

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,25 @@ <h2>We need content here!</h2>
1717
<div class="row">
1818
{% for project in site.resources %}
1919
<div class="col-md-4 col-sm-6 hubs-item">
20-
<a class="hubs-link" href="{{ project.link }}" target="_blank">
21-
<div class="hubs-hover">
22-
<div class="hubs-hover-content">
23-
<i class="fas fa-external-link-alt"></i>
20+
<div class="shadow-box">
21+
<a class="hubs-link" href="{{ project.link }}" target="_blank">
22+
<div class="hubs-hover">
23+
<div class="hubs-hover-content">
24+
<i class="fas fa-external-link-alt"></i>
25+
</div>
2426
</div>
27+
<img class="img-fluid tools-img" src="{{ project.thumbnail }}" alt="">
28+
</a>
29+
<div class="hubs-caption">
30+
<h4>{{ project.title }}</h4>
31+
<p class="text-muted">{{ project.subtitle }}</p>
2532
</div>
26-
<img class="img-fluid tools-img" src="{{ project.thumbnail }}" alt="">
27-
</a>
28-
<div class="hubs-caption">
29-
<h4>{{ project.title }}</h4>
30-
<p class="text-muted">{{ project.subtitle }}</p>
3133
</div>
3234
</div>
3335
{% endfor %}
3436
<div class="col-md-4 col-sm-6 hubs-item">
35-
<a class="hubs-link" target="_blank" href="https://github.com/ASKnetCommunity/ASKnet.Community/issues/new?assignees=&labels=content-submit%2Cnew-resource&template=add-resource.yml&title=Add+Resource%3A+">
37+
<div class="shadow-box">
38+
<a class="hubs-link" target="_blank" href="https://github.com/ASKnetCommunity/ASKnet.Community/issues/new?assignees=&labels=content-submit%2Cnew-resource&template=add-resource.yml&title=Add+Resource%3A+">
3639
<div class="hubs-hover">
3740
<div class="hubs-hover-content">
3841
<i class="{{ site.data.style.hubs-icon | default: "fas fa-plus fa-3x" }}"></i>
@@ -44,6 +47,7 @@ <h4>{{ project.title }}</h4>
4447
<h4>Add a new resource</h4>
4548
<p class="text-muted">You can propose a resource here.</p>
4649
</div>
50+
</div>
4751
</div>
4852
</div>
4953
</div>

_includes/tools_grid.html

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="row">
55
<div class="col-lg-12 text-center{% if site.data.sitetext[site.locale].tools.submit %} sc{% endif %}">
66
<h2 class="section-heading text-uppercase">{{ site.data.sitetext[site.locale].tools.title | markdownify | default: "Tools" }}</h2>
7-
<h3 class="section-subheading text-muted">{{ site.data.sitetext[site.locale].tools.text | markdownify }}</h3>
7+
<h3 class="section-subheading">{{ site.data.sitetext[site.locale].tools.text | markdownify }}</h3>
88
{% if site.data.sitetext[site.locale].tools.submit %}
99
<div class="sc-overlay">
1010
<h2>We need content here!</h2>
@@ -17,33 +17,37 @@ <h2>We need content here!</h2>
1717
<div class="row">
1818
{% for tool in site.tools %}
1919
<div class="col-md-4 col-sm-6 hubs-item">
20-
<a class="hubs-link" href="{{ tool.link }}" target="_blank">
21-
<div class="hubs-hover">
22-
<div class="hubs-hover-content">
23-
<i class="fas fa-external-link-alt"></i>
20+
<div class="shadow-box">
21+
<a class="hubs-link" href="{{ tool.link }}" target="_blank">
22+
<div class="hubs-hover">
23+
<div class="hubs-hover-content">
24+
<i class="fas fa-external-link-alt"></i>
25+
</div>
2426
</div>
27+
<img class="img-fluid tools-img" src="{{ tool.thumbnail }}" alt="">
28+
</a>
29+
<div class="hubs-caption">
30+
<h4>{{ tool.title }}</h4>
31+
<p class="text-muted">{{ tool.subtitle }}</p>
2532
</div>
26-
<img class="img-fluid tools-img" src="{{ tool.thumbnail }}" alt="">
27-
</a>
28-
<div class="hubs-caption">
29-
<h4>{{ tool.title }}</h4>
30-
<p class="text-muted">{{ tool.subtitle }}</p>
3133
</div>
3234
</div>
3335
{% endfor %}
3436
<div class="col-md-4 col-sm-6 hubs-item">
35-
<a class="hubs-link" target="_blank" href="https://github.com/ASKnetCommunity/ASKnet.Community/issues/new?assignees=&labels=content-submit%2Cnew-asktool&template=add-tool.yml&title=Add+%23ASKtool%3A+">
37+
<div class="shadow-box">
38+
<a class="hubs-link" target="_blank" href="https://github.com/ASKnetCommunity/ASKnet.Community/issues/new?assignees=&labels=content-submit%2Cnew-asktool&template=add-tool.yml&title=Add+%23ASKtool%3A+">
3639
<div class="hubs-hover">
3740
<div class="hubs-hover-content">
3841
<i class="{{ site.data.style.hubs-icon | default: "fas fa-plus fa-3x" }}"></i>
3942
</div>
4043
</div>
41-
<img class="img-fluid tools-img" src="assets/img/hubs/00-new-hub.jpg" alt="">
44+
<img class="img-fluid border border-light tools-img" src="assets/img/hubs/00-new-hub.jpg" alt="">
4245
</a>
4346
<div class="hubs-caption">
4447
<h4>Add a new tool</h4>
4548
<p class="text-muted">You can propose a tool here.</p>
4649
</div>
50+
</div>
4751
</div>
4852
</div>
4953
</div>

_sass/base/_page.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ a {
2020
}
2121
.bg-primary {
2222
background-color: $primary !important;
23+
background: url(../../assets/img/tile-orange.jpg);
24+
// background-attachment: fixed;
25+
}
26+
27+
.bg-light {
28+
background: url(../../assets/img/tile-light.jpg);
29+
}
30+
31+
.bg-dark {
32+
// background-color: $primary !important;
33+
background: url(../../assets/img/tile-dark.jpg);
34+
// background-attachment: fixed;
2335
}
2436

2537
h1,

_sass/layout/_hubs.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
#hubs, #asktools, #resources {
33
.hubs-item {
44
right: 0;
5-
margin: 0 0 15px;
5+
margin: 0 0 30px;
6+
.shadow-box {
7+
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.1);
8+
}
69
.hubs-link {
710
position: relative;
811
display: block;
@@ -14,6 +17,11 @@
1417
width: 100%;
1518
object-fit: cover;
1619
}
20+
.hubs-img{
21+
height: 245px;
22+
width: 100%;
23+
object-fit: cover;
24+
}
1725
.hubs-hover {
1826
position: absolute;
1927
width: 100%;

_sass/layout/_timeline.scss

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
top: 0;
99
bottom: 0;
1010
left: 40px;
11-
width: 2px;
12-
margin-left: -1.5px;
11+
width: 7px;
12+
margin-left: -3.5px;
1313
content: "";
14-
background-color: $gray-200;
14+
background-color: white;
1515
}
1616
> li {
1717
position: relative;
@@ -53,7 +53,7 @@
5353
margin-left: 0;
5454
text-align: center;
5555
color: $white;
56-
border: 7px solid $gray-200;
56+
border: 7px solid white;
5757
border-radius: 100%;
5858
background-color: $primary;
5959
h4 {
@@ -89,6 +89,14 @@
8989
color: inherit;
9090
&.subheading {
9191
text-transform: none;
92+
&:before {
93+
position: absolute;
94+
top: 0;
95+
left: 440px;
96+
height: 7px;
97+
content: "";
98+
background-color: white;
99+
}
92100
}
93101
}
94102
}

assets/img/tile-dark.jpg

14.4 KB
Loading

assets/img/tile-light.jpg

19.8 KB
Loading

assets/img/tile-orange.jpg

14.8 KB
Loading

0 commit comments

Comments
 (0)