-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
114 lines (99 loc) · 7.55 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
---
layout: layouts/home.njk
eleventyNavigation:
key: בית
order: 1
---
{% set maxPosts = collections.posts.length | min(3) %}
<header id="hero">
<img src="{{ '/assets/img/ocp_commons2022.jpg' | url }}" alt="עובדי רד האט בכנס אופנשיפט קומונס">
<h1> בואו להכיר את רד האט ישראל</h1>
<p> רד האט ישראל לוקחת חלק חשוב בניית פלטפורמות המבוססות קוד פתוח, בבניית קהילה המבוססת על שיתוף הדדי </p>
</header>
<h2 class="rh-header">בשנה האחרונה, עובדי רד האט בארץ תרמו לפרוייקטים שונים בגיטהאב...</h2>
<section id="stats">
<rh-stat top="statistic">
<svg slot="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36">
<path d="M31 4.38H5a.62.62 0 0 0-.62.62v26a.62.62 0 0 0 .62.62h26a.62.62 0 0 0 .62-.62V5a.62.62 0 0 0-.62-.62Zm-.62 26H5.62V5.62h24.76Z"/>
<path d="M17.24 21.54a.62.62 0 0 0 .74-.49l1.24-5.84a.64.64 0 0 0-.48-.75.63.63 0 0 0-.74.54l-1.25 5.84a.64.64 0 0 0 .49.7ZM23.12 18 21 20.11a.63.63 0 1 0 .88.89l2.56-2.56a.62.62 0 0 0 0-.89L21.88 15a.63.63 0 1 0-.88.88Zm-9 3a.63.63 0 0 0 .88-.89L12.88 18 15 15.87c.59-.56-.31-1.46-.88-.88l-2.56 2.56a.62.62 0 0 0 0 .89Z"/>
</svg>
<span slot="title">Commits</span>
<span slot="statistic">{{ contributors.totalCommitContributions }}</span>
<p slot="description"></p>
</rh-stat>
<rh-stat top="statistic">
<svg slot="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36">
<path d="M32.18 20.65h-4.86a9.33 9.33 0 0 0-.75-3.12h2.34a.6.6 0 0 0 .44-.18l2.18-2.18a.62.62 0 0 0-.88-.88l-2 2H25.9a9.41 9.41 0 0 0-5.43-4 3.9 3.9 0 1 0-4.94 0 9.41 9.41 0 0 0-5.43 4H7.35l-2-2a.62.62 0 0 0-.88.88l2.18 2.18a.6.6 0 0 0 .44.18h2.34a9.33 9.33 0 0 0-.75 3.12H3.82a.63.63 0 1 0 0 1.25h4.86a9.21 9.21 0 0 0 .75 3.1H7.09a.65.65 0 0 0-.44.18l-2.18 2.2a.61.61 0 0 0 0 .88.63.63 0 0 0 .88 0l2-2h2.75a9.34 9.34 0 0 0 15.8 0h2.75l2 2a.63.63 0 0 0 .88 0 .61.61 0 0 0 0-.88l-2.18-2.19a.65.65 0 0 0-.44-.18h-2.34a9.21 9.21 0 0 0 .75-3.11h4.86a.63.63 0 1 0 0-1.25ZM15.35 9.27A2.65 2.65 0 1 1 18 11.92a2.65 2.65 0 0 1-2.65-2.65ZM18 29.38a8.11 8.11 0 1 1 8.1-8.11 8.11 8.11 0 0 1-8.1 8.11Z"/>
</svg>
<span slot="title">Issues</span>
<span slot="statistic">{{ contributors.totalIssueContributions }}</span>
<p slot="description"></p>
</rh-stat>
<rh-stat top="statistic">
<svg slot="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36">
<path d="M12.87 24.29a3.86 3.86 0 1 0-4.74 0A7.12 7.12 0 0 0 3.37 31a.63.63 0 0 0 .63.62h13a.62.62 0 0 0 .62-.62 7.12 7.12 0 0 0-4.75-6.71Zm-5-3a2.63 2.63 0 0 1 5.25 0 2.63 2.63 0 0 1-5.25-.04Zm-3.21 9.09c.87-6.95 10.81-6.94 11.68 0Zm23.21-20.09a3.86 3.86 0 1 0-4.74 0A7.12 7.12 0 0 0 18.37 17a.63.63 0 0 0 .63.62h13a.62.62 0 0 0 .62-.62 7.12 7.12 0 0 0-4.75-6.71Zm-5-3a2.63 2.63 0 0 1 5.25 0 2.63 2.63 0 0 1-5.25-.04Zm-3.21 9.13c.87-6.95 10.81-6.94 11.68 0Zm-13.9 2.16a.63.63 0 0 0 .48-1.16.63.63 0 0 0-.48 1.16Zm.37-2.43a.63.63 0 0 0 .25-1.23.62.62 0 0 0-.73.49.64.64 0 0 0 .48.74Zm.63-2.4a.63.63 0 0 0 .5-1.15.63.63 0 0 0-.5 1.15Zm5.1-5.44a.62.62 0 0 0 .32-.09.63.63 0 1 0-.32.08Zm4.66-1.6a.62.62 0 1 0-.08-1.24.62.62 0 0 0 .08 1.24Zm-2.41.56a.62.62 0 1 0-.21-1.21.62.62 0 0 0 .21 1.21ZM9.88 9.79C11 9.7 10.37 8 9.45 8.71a.63.63 0 0 0 .43 1.08Zm-1.64 1.86a.61.61 0 0 0 .5-.26.63.63 0 1 0-.51.26Zm10.32-5.17c.57.58 1.47-.31.88-.88a.62.62 0 0 0-.88.88Zm11.88 13.08a.62.62 0 0 0-.88.88.62.62 0 0 0 .88-.88Zm-2.78 4.74a.62.62 0 0 0 1 .69.62.62 0 0 0-1-.69Zm-1.5 1.85c-.59.55.32 1.47.88.88s-.33-1.47-.88-.88Zm3.4-4.31a.62.62 0 0 0-.45 1.16.62.62 0 0 0 .45-1.16Zm-7.36 6.9a.63.63 0 0 0 .46 1.17.63.63 0 0 0-.46-1.17Zm2.11-1.09A.63.63 0 0 0 25 28.7a.63.63 0 0 0-.69-1.05Zm-3.87 1.91c-.57-.59-1.46.31-.88.88s1.44-.31.88-.88Z"/>
</svg>
<span slot="title">PRs</span>
<span slot="statistic">{{ contributors.totalPullRequestContributions }}</span>
<p slot="description"></p>
</rh-stat>
<rh-stat top="statistic">
<svg slot="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<path d="M14 2.37H2a.63.63 0 0 0-.63.63v7.9a.63.63 0 0 0 .63.62h2.37V14a.63.63 0 0 0 .39.58.67.67 0 0 0 .24 0 .61.61 0 0 0 .45-.19l2.81-2.92H14a.62.62 0 0 0 .62-.62V3a.63.63 0 0 0-.62-.63Zm-.63 7.9H8a.66.66 0 0 0-.46.19l-1.92 2V10.9a.63.63 0 0 0-.62-.63H2.62V3.62h10.75Z"/>
</svg>
<span slot="title">Reviews</span>
<span slot="statistic">{{ contributors.totalPullRequestReviewContributions }}</span>
<p slot="description"></p>
</rh-stat>
<rh-stat top="statistic">
<svg slot="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30">
<path d="M0 0h30v30H0z" fill="none"/>
<path d="M15 4.22a11.05 11.05 0 0 0-3.5 21.54c.56.11.76-.24.76-.53v-1.88c-3.07.67-3.72-1.48-3.72-1.48a2.91 2.91 0 0 0-1.23-1.62c-1-.68.08-.67.08-.67a2.32 2.32 0 0 1 1.69 1.14 2.36 2.36 0 0 0 3.22.92 2.39 2.39 0 0 1 .7-1.48c-2.45-.28-5-1.23-5-5.46a4.3 4.3 0 0 1 1.13-3 4 4 0 0 1 .06-2.9s.93-.3 3 1.14a10.29 10.29 0 0 1 5.54 0c2.11-1.44 3-1.14 3-1.14a4 4 0 0 1 .11 2.93 4.25 4.25 0 0 1 1.13 3c0 4.24-2.58 5.18-5.05 5.45a2.63 2.63 0 0 1 .75 2.05v3c0 .33.2.64.76.53A11.05 11.05 0 0 0 15 4.22Z" fill-rule="evenodd"/>
</svg>
<span slot="title">Repositories</span>
<span slot="statistic">{{ contributors.totalRepositoryContributions }}</span>
<p slot="description"></p>
</rh-stat>
<rh-stat top="statistic">
<svg slot="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36">
<path d="M19.62 10.41V9.5a2.6 2.6 0 0 0 1.91-1.88H23a.62.62 0 1 0 0-1.24h-1.45a2.62 2.62 0 0 0-5.15.33A10.63 10.63 0 0 0 8.38 17v10a.62.62 0 0 0 1.24 0V17a9.4 9.4 0 0 1 7-9 2.64 2.64 0 0 0 1.76 1.5v.91a6.62 6.62 0 0 0-6 6.59v14a.62.62 0 0 0 .62.62h12a.62.62 0 0 0 .62-.62V17a6.64 6.64 0 0 0-6-6.59ZM19 5.59a1.36 1.36 0 0 1 1.24.79 19.18 19.18 0 0 0-2.52.08A1.38 1.38 0 0 1 19 5.59ZM17.85 7.7a20.27 20.27 0 0 1 2.35-.08 1.37 1.37 0 0 1-2.35.08ZM19 11.62a5.43 5.43 0 0 1 5.38 5.76H13.62A5.43 5.43 0 0 1 19 11.62Zm5.38 12.76H13.62v-5.76h10.76Zm-10.76 6v-4.76h10.76v4.76Z"/>
</svg>
<span slot="title">Gists</span>
<span slot="statistic">{{ contributors.totalGists }}</span>
<p slot="description"></p>
</rh-stat>
</section>
<h2 class="rh-header">מהפרוייקטים שאנחנו תורמים אליהם</h2>
{% if (repos | length) > 0 %}
<section id="repos">
{% for repo in repos | randomSort | pick(5) %}
{% set data = repo | fetchGHRepo %}
<pf-card>
<img slot="header" src="{{ data.owner.avatar_url }}" alt="{{ data.owner.login }}">
<h3 slot="header"><a href="{{ data.html_url }}">{{ data.full_name }}</a></h3>
<p>{{ data.description }}</p>
<p>עודכן <time datetime="{{ data.updated_at }}">{{ data.updated_at | toDate | readableDate }}</time></p>
<span slot="footer"><abbr title="כוכבים">⭐</abbr> {{ data.stargazers_count }}</span>
<span slot="footer"><abbr title="forks"><pf-icon icon="code-branch" size="sm"></pf-icon></abbr> {{ data.forks_count }}</span>
<span slot="footer">{{ data.license.name }}</span>
</pf-card>
{% endfor %}
</section>
<script type="module">
import '@patternfly/elements/pf-card/pf-card.js';
</script>
{% endif %}
<h2>{% if maxPosts == 1 %}
הפוסט האחרון {% else %}
{{ maxPosts }} הפוסטים האחרונים{% endif %}
</h2>
{% set postslist = collections.posts | head(-3) %}
{% set postslistCounter = collections.posts | length %}
{% include "postslist.njk" %}
<p>יש עוד פוסטים <a href="{{ '/posts/' | url }}">בארכיון</a>.</p>
<style>
#stats {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
</style>