This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch website-fixes
in repository https://gitbox.apache.org/repos/asf/avro.git

commit c59342ddb2fb264c5b9b61c0fc6e56c360cac6a6
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Thu Aug 22 15:18:25 2024 +0300

    Fix the ` Contribution Guidelines` link at 
https://avro.apache.org/community/
    
    Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
---
 doc/layouts/partials/community_links.html | 33 +++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/doc/layouts/partials/community_links.html 
b/doc/layouts/partials/community_links.html
new file mode 100644
index 000000000..c42297843
--- /dev/null
+++ b/doc/layouts/partials/community_links.html
@@ -0,0 +1,33 @@
+{{ $links := .Site.Params.links -}}
+
+<section class="row td-box td-box--white td-box--height-auto linkbox">
+  <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
+    <h2>{{ T "community_learn" }}</h2>
+    <p>{{ T "community_using" . }}</p>
+    {{ with index $links "user" -}}
+      {{ template "community-links-list" . -}}
+    {{ end }}
+  </div>
+  <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
+    <h2>{{ T "community_develop" }}</h2>
+    <p>{{ T "community_contribute" . }}</p>
+    {{ with index $links "developer" -}}
+      {{ template "community-links-list" . -}}
+    {{ end }}
+    <p>
+      {{ T "community_how_to" . }}
+      <a href="{{ "project/contributors-onboarding-guide/" | relURL }}">{{ T 
"community_guideline" }}</a>.
+    </p>
+  </div>
+</section>
+
+{{ define "community-links-list" -}}
+<ul>
+{{ range . -}}
+  <li title="{{ .name }}">
+    <a target="_blank" rel="noopener" href="{{ .url }}"><i class="{{ .icon 
}}"></i> {{ .name }}</a>:
+    {{ .desc }}
+  </li>
+{{ end }}
+</ul>
+{{- end }}

Reply via email to