Skip to content

Commit d419cd4

Browse files
committed
fix blog and projects
1 parent 88e9580 commit d419cd4

File tree

7 files changed

+167
-99
lines changed

7 files changed

+167
-99
lines changed

pages/index.md

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,17 @@ initiatives:
105105
these initiatives to see how you can engage, contribute, and grow with
106106
us.
107107
</p>
108-
<div class="row row-cols-1 row-cols-sm-1 row-cols-md-2 row-cols-lg-3 g-4">
108+
<div class="row row-cols-1 row-cols-sm-1 row-cols-md-2 row-cols-lg-3 g-4" data-masonry='{"percentPosition": true }'>
109109
<div class="col">
110-
<div class="card">
111-
<div class="card-body">
110+
<div class="card m-0 p-0">
111+
<div class="card-body m-0">
112112
<h5 class="card-title">Community</h5>
113113
<p class="card-text fw-lighter">
114114
Whether you're here to learn, share, or contribute, you'll find
115115
a supportive space to explore open science and technology.
116116
</p>
117+
</div>
118+
<div class="card-footer m-0">
117119
<a
118120
href="https://opensciencelabs.org/discord"
119121
class="btn btn-success"
@@ -125,54 +127,66 @@ initiatives:
125127
</div>
126128
</div>
127129
<div class="col">
128-
<div class="card">
129-
<div class="card-body">
130+
<div class="card m-0 p-0">
131+
<div class="card-body m-0">
130132
<h5 class="card-title">Internship Program</h5>
131133
<p class="card-text fw-lighter">
132134
Offering hands-on experience in open source projects, fostering
133135
learning, and contributing to the community.
134136
</p>
137+
</div>
138+
<div class="card-footer m-0">
135139
<a href="/opportunities/os-internship" class="btn btn-primary"
136140
>Learn More</a
137141
>
138142
</div>
139143
</div>
140144
</div>
141145
<div class="col">
142-
<div class="card">
143-
<div class="card-body">
146+
<div class="card m-0 p-0">
147+
<div class="card-body m-0">
144148
<h5 class="card-title">Project Affiliation</h5>
145149
<p class="card-text fw-lighter">
146150
Supporting and promoting open source projects aligned with our
147151
mission, providing visibility and resources.
148152
</p>
153+
</div>
154+
<div class="card-footer m-0">
149155
<a href="/projects/affiliation/" class="btn btn-primary">Learn More</a>
150156
</div>
151157
</div>
152158
</div>
153159
<div class="col">
154-
<div class="card">
155-
<div class="card-body">
160+
<div class="card m-0 p-0">
161+
<div class="card-body m-0">
156162
<h5 class="card-title">Incubator Program</h5>
157163
<p class="card-text fw-lighter">
158164
Nurturing innovative open source projects, providing the support
159165
and resources needed to evolve ideas into impactful solutions
160166
for the global research community.
161167
</p>
168+
</div>
169+
<div class="card-footer m-0">
162170
<a href="/projects/incubation" class="btn btn-primary"
163171
>Learn More</a
164172
>
165173
</div>
166174
</div>
167175
</div>
168176
<div class="col">
169-
<div class="card">
170-
<div class="card-body">
177+
<div class="card m-0 p-0">
178+
<div class="card-body m-0">
171179
<h5 class="card-title">Study Groups</h5>
172180
<p class="card-text fw-lighter">
173-
We encourage the community to organize study groups to foster a
174-
collaborative environment for learning and sharing.
181+
We encourage the community to organize study groups
182+
to foster a collaborative environment for learning
183+
and sharing. Currently, OSL, sponsored by LiteRev,
184+
hosts a study group dedicated to enhancing
185+
problem-solving skills through the Advent of Code
186+
challenges.
175187
</p>
188+
</div>
189+
<div class="card-footer m-0">
176190
<a
177191
href="https://opensciencelabs.org/discord"
178192
class="btn btn-success"
@@ -184,14 +198,16 @@ initiatives:
184198
</div>
185199
</div>
186200
<div class="col">
187-
<div class="card">
188-
<div class="card-body">
201+
<div class="card m-0 p-0">
202+
<div class="card-body m-0">
189203
<h5 class="card-title">Blog</h5>
190204
<p class="card-text fw-lighter">
191205
Our blog features contributions from our vibrant community,
192206
showcasing project updates, innovative research findings, and
193207
expert opinions to inspire and inform.
194208
</p>
209+
</div>
210+
<div class="card-footer m-0">
195211
<a href="/blog" class="btn btn-primary">Learn More</a>
196212
</div>
197213
</div>

pages/projects/list/index.md

Lines changed: 75 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,81 @@
11
---
2-
title: "Affiliated Projects"
3-
description: "Affiliated Projects"
2+
title: "Affiliated and Incubated Projects"
3+
description: "Affiliated and Incubated Projects"
44
date: "2024-01-29"
55
authors: ["OSL Team"]
6-
template: main.html
6+
template: projects.html
7+
projects:
8+
- name: ArtBox
9+
type: incubated
10+
url: https://osl-incubator.github.io/artbox/
11+
description: |
12+
ArtBox is a tool set for handling multimedia files with a bunch of useful
13+
functions.
14+
- name: ArxLang
15+
type: affiliated
16+
url: https://arxlang.org
17+
description: |
18+
ArxLang Project is compounded mainly by three sub-projects: ASTx, IRx, and Arx.
19+
ASTx is an agnostic expression structure for AST. It is agnostic because it is
20+
not specific to any language, neither to the ArxLang project, although its main
21+
focus is to provide all needed feature for ArxLang.
22+
IRx aims to provide a translator to LLVM-IR from ASTx objects.
23+
Arx is a new programming language that uses the power of LLVM to provide a
24+
multi-architecture machine target code generation.
25+
26+
- name: Envers
27+
type: incubated
28+
url: https://osl-incubator.github.io/envers/
29+
description: |
30+
Envers is a command-line tool (CLI) designed to manage and version environment
31+
variables for different deployment stages such as staging, development, and
32+
production. It provides a secure and organized way to handle
33+
environment-specific configurations.
34+
35+
- name: fqlearn
36+
type: incubated
37+
url: https://osl-pocs.github.io/fqlearn/
38+
description: |
39+
This Project aims to facilitate the teaching of unit operations and
40+
thermodynamics.
41+
42+
- name: Makim
43+
type: incubated
44+
url: https://osl-incubator.github.io/makim/
45+
description: |
46+
Makim (or makim) is based on make and focus on improve the way to define targets
47+
and dependencies. Instead of using the Makefile format, it uses yaml format.
48+
49+
- name: noWorkflow
50+
type: affiliated
51+
url: https://gems-uff.github.io/noworkflow/
52+
description: |
53+
The noWorkflow project aims at allowing scientists to benefit from provenance
54+
data analysis even when they don't use a workflow system. It transparently
55+
collects provenance from Python scripts and notebooks and provide tools to
56+
support the analysis and management of the provenance.
57+
58+
- name: PyDataStructs
59+
type: affiliated
60+
url: https://pydatastructs.readthedocs.io/en/latest/
61+
description: |
62+
PyDataStructs project aims to be a Python package for various data structures
63+
and algorithms (including their parallel implementations).
64+
65+
- name: SciCookie
66+
type: incubated
67+
url: https://osl-incubator.github.io/scicookie
68+
description: |
69+
SciCookie is a template developed by Open Science Labs that creates
70+
projects from project templates.
71+
72+
- name: Sugar
73+
type: incubated
74+
url: https://osl-incubator.github.io/sugar/
75+
description: |
76+
Sugar aims to organize your stack of containers, gathering some useful scripts
77+
and keeping this information centralized in a configuration file. So the command
78+
line would be very simple.
779
---
880

981
# Affiliated and Incubated Projects
@@ -15,81 +87,3 @@ driving forward our shared goals. These collaborations not only strengthen our
1587
community but also contribute significantly to the broader field of open source
1688
and scientific research. Below, you'll find information about affiliated and
1789
incubated projects.
18-
19-
---
20-
21-
### <img alt="Static Badge" src="https://img.shields.io/badge/project-incubated-333333?style=for-the-badge&label=project&labelColor=FFAA00&color=888888"> [ArtBox](https://osl-incubator.github.io/artbox/)
22-
23-
ArtBox is a tool set for handling multimedia files with a bunch of useful
24-
functions.
25-
26-
---
27-
28-
### <img alt="Static Badge" src="https://img.shields.io/badge/project-affiliated-333333?style=for-the-badge&label=project&labelColor=FF0000&color=888888"> [ArxLang](https://arxlang.org)
29-
30-
ArxLang Project is compounded mainly by three sub-projects: ASTx, IRx, and Arx.
31-
32-
ASTx is an agnostic expression structure for AST. It is agnostic because it is
33-
not specific to any language, neither to the ArxLang project, although its main
34-
focus is to provide all needed feature for ArxLang.
35-
36-
IRx aims to provide a translator to LLVM-IR from ASTx objects.
37-
38-
Arx is a new programming language that uses the power of LLVM to provide a
39-
multi-architecture machine target code generation.
40-
41-
---
42-
43-
### <img alt="Static Badge" src="https://img.shields.io/badge/project-incubated-333333?style=for-the-badge&label=project&labelColor=FFAA00&color=888888"> [Envers](https://osl-incubator.github.io/envers/)
44-
45-
Envers is a command-line tool (CLI) designed to manage and version environment
46-
variables for different deployment stages such as staging, development, and
47-
production. It provides a secure and organized way to handle
48-
environment-specific configurations.
49-
50-
---
51-
52-
### <img alt="Static Badge" src="https://img.shields.io/badge/project-incubated-333333?style=for-the-badge&label=project&labelColor=FFAA00&color=888888"> [fqlearn](https://osl-pocs.github.io/fqlearn/)
53-
54-
This Project aims to facilitate the teaching of unit operations and
55-
thermodynamics.
56-
57-
---
58-
59-
### <img alt="Static Badge" src="https://img.shields.io/badge/project-incubated-333333?style=for-the-badge&label=project&labelColor=FFAA00&color=888888"> [Makim](https://osl-incubator.github.io/makim/)
60-
61-
Makim (or makim) is based on make and focus on improve the way to define targets
62-
and dependencies. Instead of using the Makefile format, it uses yaml format.
63-
64-
---
65-
66-
### <img alt="Static Badge" src="https://img.shields.io/badge/project-affiliated-333333?style=for-the-badge&label=project&labelColor=FF0000&color=888888"> [noWorkflow](https://gems-uff.github.io/noworkflow/)
67-
68-
The noWorkflow project aims at allowing scientists to benefit from provenance
69-
data analysis even when they don't use a workflow system. It transparently
70-
collects provenance from Python scripts and notebooks and provide tools to
71-
support the analysis and management of the provenance.
72-
73-
---
74-
75-
### <img alt="Static Badge" src="https://img.shields.io/badge/project-affiliated-333333?style=for-the-badge&label=project&labelColor=FF0000&color=888888"> [PyDataStructs](https://pydatastructs.readthedocs.io/en/latest/)
76-
77-
PyDataStructs project aims to be a Python package for various data structures
78-
and algorithms (including their parallel implementations).
79-
80-
---
81-
82-
### <img alt="Static Badge" src="https://img.shields.io/badge/project-incubated-333333?style=for-the-badge&label=project&labelColor=FFAA00&color=888888"> [SciCookie](https://osl-incubator.github.io/scicookie)
83-
84-
SciCookie is a template developed by <https://opensciencelabs.org/> that creates
85-
projects from project templates.
86-
87-
---
88-
89-
### <img alt="Static Badge" src="https://img.shields.io/badge/project-incubated-333333?style=for-the-badge&label=project&labelColor=FFAA00&color=888888"> [Sugar](https://osl-incubator.github.io/sugar/)
90-
91-
Sugar aims to organize your stack of containers, gathering some useful scripts
92-
and keeping this information centralized in a configuration file. So the command
93-
line would be very simple.
94-
95-
---

theme/base.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@
3636
<link rel=icon type=image/png sizes=32x32 href=/icons/favicon-32x32.png>
3737
<link rel=manifest href=/icons/site.webmanifest>
3838
<link rel=canonical href=/>
39-
4039
<link rel=alternate type=application/rss+xml href=/feed_rss_created.xml title="Open Science Labs">
4140
<link rel=alternate type=application/json href=/js/index.json title="Open Science Labs">
4241
<link rel=stylesheet type=text/css></head>
42+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/masonry.pkgd.min.js" integrity="sha384-GNFwBvfVxBkLMJpYMOABq3c+d3KnQxudP/mGPkzpZSTYykLBNsZEnG2D9G/X/+7D" crossorigin="anonymous" async></script>
43+
4344
{% block header_extra %}
4445
<style>
4546
.main-nav>li>a {

theme/blog-list-base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ <h3 class="blog-post-title">
118118
{%- endmacro %}
119119
{% endif %}
120120

121-
<section>
121+
<section class="mt-5">
122122
<h1>Blog</h1>
123123

124124
<div class = "md-typeset">

theme/blog-post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{% block content_inner %}
44

5-
<div>
5+
<div class="mt-5">
66
<h3><a href="{{ url }}" title="{{ title }}" target="_self">{{ page.meta["title"] }}</a></h3>
77
<div class=>
88
<span>

theme/home.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
color: white;
2929
padding: 100px 0;
3030
}
31+
32+
.card-footer {
33+
background-color: #ffffff!important;
34+
}
3135
</style>
3236
{% endblock header_extra %}
3337

theme/projects.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{% extends "base.html" %}
2+
{% block header_extra %}
3+
<style>
4+
.main-nav > li > a {
5+
color: #000000 !important;
6+
}
7+
</style>
8+
9+
{% endblock header_extra%}
10+
11+
{% set colors=["", "bg-light"] %}
12+
13+
{% block content %}
14+
<section>
15+
<div class="row pt-2">
16+
<div class="col-md-12 mx-auto">
17+
{% block content_inner %}
18+
{{ page.content }}
19+
{% endblock content_inner %}
20+
</div>
21+
</div>
22+
23+
<div class="row">
24+
<div class="col-md-12 pt-3">
25+
26+
{% for project in page.meta["projects"] %}
27+
28+
<div class="row {{ colors[loop.index % 2] }}">
29+
<div class="col">
30+
<h2>
31+
<a href="{{ project.url }}" target="_blank">
32+
{% if project.type == "incubated" %}
33+
<img
34+
alt="Static Badge"
35+
src="https://img.shields.io/badge/project-incubated-333333?style=for-the-badge&label=project&labelColor=FFAA00&color=888888"
36+
/>
37+
{% elif project.type == "affiliated" %}
38+
<img
39+
alt="Static Badge"
40+
src="https://img.shields.io/badge/project-affiliated-333333?style=for-the-badge&label=project&labelColor=FF0000&color=888888"
41+
/>
42+
{% endif %}
43+
{{ project.name }}
44+
</a>
45+
</h2>
46+
<p>{{ project.description }}</p>
47+
</div>
48+
</div>
49+
{% endfor %}
50+
</div>
51+
</div>
52+
</section>
53+
{% endblock content %}

0 commit comments

Comments
 (0)