Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
coko-website
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
coko-material
coko-website
Commits
d6a1c0d6
Commit
d6a1c0d6
authored
2 years ago
by
julientaq
Browse files
Options
Downloads
Patches
Plain Diff
update the team page
parent
c87f250c
No related branches found
Branches containing commit
No related tags found
1 merge request
!53
update the team page
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/data/team.json
+332
-326
332 additions, 326 deletions
src/data/team.json
src/layouts/team.njk
+39
-67
39 additions, 67 deletions
src/layouts/team.njk
src/team.md
+1
-1
1 addition, 1 deletion
src/team.md
static/css/theme-coko/main.css
+22
-3
22 additions, 3 deletions
static/css/theme-coko/main.css
with
394 additions
and
397 deletions
src/data/team.json
+
332
−
326
View file @
d6a1c0d6
This diff is collapsed.
Click to expand it.
src/layouts/team.njk
+
39
−
67
View file @
d6a1c0d6
{% extends "base.njk" %}
{% block content %}
{{content | safe}}
<div class="grid">
{% for item in team.people %}
{{content | safe}}
<section class="leadershipteam">
<header class="{{team.management.cardWidth}}">
<h2>{{team.management.title}}</h2>
<!-- <h2>{{team.management.presentation}}</h2> -->
</header>
{% for item in team.management.folks %}
<div class="grid-item {{item.cardWidth}}">
<figure><img src="{{item.portrait}}" alt=""></figure>
<h3>{{item.name}}</h3>
...
...
@@ -13,16 +16,16 @@
<p>{{item.description | markdownify | safe}}</p>
</div>
{% endfor %}
</div
>
<div
class="
grid
board">
{% for item in team.board %}
<div class="grid-item
{{
i
tem.
c
ard
Width}}"
>
<h
2
>{{
i
tem.
title
}}</h
2
>
<h2>{{item.presentation}}</h2
>
</div>
{% endfor %}
{% for item in team.
advisory
%}
</section
>
<section
class="board">
<header>
<h2>
{{te
a
m.
bo
ard
.title}}</h2
>
<h
3
>{{te
a
m.
board.presentation
}}</h
3
>
</header
>
<div class="grid">
{% for item in team.
board.folks
%}
<div class="grid-item {{item.cardWidth}}">
<figure><img src="{{item.portrait}}" alt=""></figure>
<h3>{{item.name}}</h3>
...
...
@@ -30,8 +33,27 @@
<p>{{item.description | markdownify | safe}}</p>
</div>
{% endfor %}
</section>
</section>
<section class="specialists">
<header>
<h2>{{team.specialists.title}}</h2>
<h3>{{team.specialists.presentation}}</h3>
</header>
<div class="grid specialists">
{% for item in team.specialists.folks %}
<div class="grid-item {{item.cardWidth}}">
<figure><img src="{{item.portrait}}" alt=""></figure>
<h3>{{item.name}}</h3>
<h4>{{item.fonction}}</h4>
<p>{{item.description | markdownify | safe}}</p>
</div>
{% endfor %}
</div>
</section>
</section>
{% endblock %}
...
...
@@ -40,53 +62,3 @@
{# {% extends "base.njk" %}
{% block content %}
<section class="editor-in-chief">
<h2>Editor-in-chief</h2>
{% for user in team %}
{% if user.role == "Editor-in-Chief" %}
<img src="{{user.picture}}" alt="portrait of {{user.name}}"/>
<h2 class="name">{{user.name}}</h2>
<p class="role">{{user.role}}</p>
<p class="structure">{{user.structure}}</p>
<p class="bio">{{user.bio}}</p>
<p class="mail">
<a href="mailto:{{user.email}}">{{user.email}}</a>
</p>
{% endif %}
{% endfor %}
</section>
<section class="handlings-editors">
<h2>Handling Editors</h2>
{% for user in team %}
{% if user.role == "Handling Editor" %}
<h2 class="name">{{user.name}}</h2>
<p class="role">{{user.role}}</p>
<p class="structure">{{user.structure}}</p>
<p class="bio">{{user.bio}}</p>
<p class="mail">
<a href="mailto:{{user.email}}">{{user.email}}</a>
</p>
{% endif %}
{% endfor %}
</section>
{% for user in team %}
<h2 class="name">{{user.name}}</h2>
<p class="role">{{user.role}}</p>
<p class="structure">{{user.structure}}</p>
<p class="bio">{{user.bio}}</p>
<p class="mail">
<a href="mailto:{{user.email}}">{{user.email}}</a>
</p>
{% endfor %}
{% endblock %} #}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/team.md
+
1
−
1
View file @
d6a1c0d6
---
title
:
Team
title
:
People
menu
:
true
layout
:
team.njk
class
:
team
...
...
This diff is collapsed.
Click to expand it.
static/css/theme-coko/main.css
+
22
−
3
View file @
d6a1c0d6
...
...
@@ -382,13 +382,30 @@ ul.filter button:hover {
vertical-align
:
baseline
;
}
.full
{
grid-column
:
1
/
-1
}
/* SERVICES ------------------ */
img
.coko-partner
{
grid-column-end
:
span
3
;
}
/* TEAM --------------------*/
.team
.grid
figure
{
.team
main
{
grid-template-columns
:
repeat
(
3
,
1
fr
);
}
.team
section
{
grid-column
:
1
/
-1
;
gap
:
0
10ch
;
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
1
fr
);
}
.team
header
{
margin-top
:
9em
;
margin-bottom
:
0
;
}
.team
figure
{
width
:
150px
;
height
:
150px
;
border-radius
:
50%
;
...
...
@@ -397,14 +414,16 @@ img.coko-partner {
filter
:
grayscale
(
0.8
)
brightness
(
1.1
);
overflow
:
hidden
;
}
.team
.grid
img
{
.team
img
{
width
:
100%
;
height
:
auto
;
}
img
.team-map
{
grid-column-end
:
span
2
;
}
.team
.board
.wide
{
.team
.wide
{
grid-column-start
:
1
;
grid-column-end
:
5
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment