Skip to content

Commit

Permalink
Merge pull request #91 from gkarthiks/main
Browse files Browse the repository at this point in the history
Media header updates
  • Loading branch information
xmulligan authored Aug 5, 2021
2 parents 7558211 + 40e8859 commit ea91d2d
Show file tree
Hide file tree
Showing 14 changed files with 142 additions and 15 deletions.
18 changes: 18 additions & 0 deletions assets/sass/custom.sass
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,21 @@ nav
&:hover
background-color: darken($purple, 3%)

.posted-date-row
font-size: smaller
font-weight: normal

.date-icon
display: -ms-inline-flexbox
display: inline-flex
-ms-flex-align: center
align-items: center
margin-right: 1rem

.media-mentions-content
font-size: medium
font-weight: normal

.well
display: flex
align-items: center
41 changes: 31 additions & 10 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ name = "Twitter"
url = "https://twitter.com/inclusivenaming"
icon = "fab fa-twitter"

[[params.social]]
name = "LinkedIn"
url = "https://www.linkedin.com/company/inclusive-naming/"
icon = "fab fa-linkedin-in"

[[params.social]]
name = "YouTube"
url = "https://www.youtube.com/channel/UCP1oEIxHSl77RCWRPwRjdiQ"
Expand All @@ -37,6 +32,11 @@ name = "GitHub"
url = "https://github.com/inclusivenaming"
icon = "fab fa-github"

[[params.social]]
name = "LinkedIn"
url = "https://www.linkedin.com/company/inclusive-naming/"
icon = "fab fa-linkedin-in"

[[params.social]]
name = "Mailing list"
url = "https://groups.google.com/g/inclusivenaming"
Expand Down Expand Up @@ -105,11 +105,6 @@ url = "/code-of-conduct"
parent = "getinvolved"
weight = 4

[[menu.main]]
name = "Blog"
url = "/blog"
weight = 4

[[menu.main]]
name = "Resources"
url = "#"
Expand Down Expand Up @@ -143,3 +138,29 @@ weight = 6
name = "FAQs"
url = "/faqs"
weight = 7

[[menu.main]]
name = "News & Media"
url = "#"
weight = 8
identifier = "news-and-media"

[[menu.main]]
name = "Blog"
url = "/blog"
parent = "news-and-media"
weight = 1

[[menu.main]]
name = "Media mentions"
url = "/media-mentions"
parent = "news-and-media"
identifier = "media-mentions"
weight = 2

[[menu.main]]
name = "Presentations"
url = "https://github.com/inclusivenaming/org/tree/main/ws-marketing"
parent = "news-and-media"
identifier = "presentations"
weight = 3
5 changes: 5 additions & 0 deletions content/media-mentions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: "Media Mentions"
---

{{< media-mentions >}}
8 changes: 8 additions & 0 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{{ with site.Copyright }}
{{ $year := now.Year }}
{{ $social := site.Params.social }}
<footer class="footer">
<div class="container">
<p class="pt-5 copyright">
&copy; {{ $year }} {{ . }}
</p>
</div>
<div class="container">
<p>
{{ with $social }}
{{ partial "social-buttons.html" . }}
{{ end }}
</p>
</div>
</footer>
{{ end }}
14 changes: 11 additions & 3 deletions layouts/partials/menu-loop.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,26 @@
{{ if .HasChildren }}
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
{{ range .Children }}
<a class="dropdown-item"
href="{{ .URL }}"
<a class="dropdown-item" href="{{ .URL }}"
{{ if eq .Post "external" }} target="_blank" {{ end }}>
{{ .Name }}
</a>
{{ if .HasChildren }}
<div class="dropdown-item">
{{ range .Children }}
<a href="{{ .URL }}" {{ if eq .Post "external" }} target="_blank" {{ end }} >
{{ .Name }}
</a>
{{ end }}
</div>
{{ end }}
{{ end }}
</div>
{{ end }}
</li>
{{ end }}
<li class="parent-menu-item sm:self-start">
<a href="https://twitter.com/OCI_ORG" class="p-2" target="_blank" title="follow us on Twitter"><ion-icon name="logo-twitter" class="pt-1"></ion-icon></a>

</li>
{{ end }}

Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
<div class="collapse navbar-collapse" id="main-nav">
{{ partial "menu-loop.html" . }}

{{ with $social }}
<!-- {{ with $social }}
{{ partial "social-buttons.html" . }}
{{ end }}
{{ end }} -->
</div>
</div>
</div>
65 changes: 65 additions & 0 deletions layouts/shortcodes/media-mentions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<div class="mt-5 row media">
<div class="mt-4 col col-md-4 col-6 well">
<img src="/img/media-mentions/joinup.png" class="float-left" title="the-register" height="100" width="250"/>
</div>
<div class="col col-md-8 col-6 mt-4 font-weight-bolder">
<h6> <a href="https://joinup.ec.europa.eu/collection/open-source-observatory-osor/news/using-inclusive-language-programming"> The Cloud Native Computing Foundation launched the Inclusive Naming Initiative for an inclusive programming language.</a></h6>
<div class="date-icon posted-date-row">Posted on Nov 06, 2021</div>
<p class="media-mentions-content">The Inclusive Naming Initiative was inspired by the effort made by the Kubernetes Naming Working Group in tackling and replacing harmful language connected to “racism, sexism, homophobia, transphobia, ableism, or discrimination against any protected or historically underrepresented group”.
</p>
</div>

<div class="mt-4 col col-md-4 col-6 well">
<img src="/img/media-mentions/theserverside.png" class="float-left" title="the-register" height="100" width="250"/>
</div>
<div class="col col-md-8 col-6 mt-4 font-weight-bolder">
<h6> <a href="https://www.theserverside.com/feature/How-enterprises-are-building-inclusive-language-in-code"> How enterprises are building inclusive language in code</a></h6>
<div class="date-icon posted-date-row">Posted on Jun 16, 2021</div>
<p class="media-mentions-content">Inclusive language in code is just one step towards a diverse community, but it's a good place to start. It's a conversation more and more open source enterprises are tackling.
</p>
</div>

<div class="mt-4 col col-md-4 col-6 well">
<img src="/img/media-mentions/cncf-stacked-color.svg" height="150" width="300" class="align-self-start mr-3" title="CNCF" />
</div>
<div class="col col-md-8 col-6 mt-4 font-weight-bolder">
<h6> <a href="https://www.cncf.io/announcements/2021/05/04/cloud-native-computing-foundations-inclusive-naming-initiative-selected-as-honorable-mention-in-the-software-category-of-fast-companys-2021-world-changing-ideas-awards/"> Inclusive Naming Initiative Selected as Honorable Mention in the Software Category of Fast Company’s 2021 World Changing Ideas Awards</a></h6>
<div class="date-icon posted-date-row">Posted on May 4, 2021</div>
<p class="media-mentions-content">The Inclusive Naming Initiative, which has won honorable mention in the Software category, removes harmful, racist and unclear language in software and unifies the adoption of replacement terms across the technology industry.
</p>
</div>


<div class="mt-4 col col-md-4 col-6 well">
<img src="/img/media-mentions/nytimes.png" class="float-left" title="the-register" height="100" width="250"/>
</div>
<div class="col col-md-8 col-6 mt-4 font-weight-bolder">
<h6> <a href="https://www.nytimes.com/2021/04/13/technology/racist-computer-engineering-terms-ietf.html"> ‘Master,’ ‘Slave’ and the Fight Over Offensive Terms in Computing</a></h6>
<div class="date-icon posted-date-row">Posted on Apr 13, 2021</div>
<p class="media-mentions-content">Inclusive Naming Initiative, aims to provide guidance to standards bodies and companies that want to change their terminology but don’t know where to begin.
</p>
</div>


<div class="mt-4 col col-md-4 col-6 well">
<img src="/img/media-mentions/the-register.png" class="float-left" title="the-register" />
</div>
<div class="col col-md-8 col-6 mt-4 font-weight-bolder">
<h6> <a href="https://www.theregister.com/2020/11/19/inclusive_naming_initiative/"> Linux Foundation, IBM, Cisco and others back ‘Inclusive Naming Initiative’ to change nasty tech terms</a></h6>
<div class="date-icon posted-date-row">Posted on Nov 19, 2020</div>
<p class="media-mentions-content">A new group called the “Inclusive Naming Initiative” has revealed its existence and mission “to help companies and projects remove all harmful and unclear language of any kind and replace it with an agreed-upon set of neutral terms.”
</p>
</div>

<div class="mt-4 col col-md-4 col-6 well">
<img src="/img/media-mentions/theCube.png" class="float-left" title="the-register" />
</div>
<div class="col col-md-8 col-6 mt-4 font-weight-bolder">
<h6> <a href="https://siliconangle.com/2020/11/18/cncf-inclusive-naming-initiative-provides-framework-to-eliminate-divisive-terminology-in-code-kubecon/"> CNCF Inclusive Naming Initiative provides framework to eliminate divisive terminology in code</a></h6>
<div class="date-icon posted-date-row">Posted on Nov 18, 2020</div>
<p class="media-mentions-content">The language evaluation framework created by the Kubernetes work group has three orders of concern based on the potential harm a word or phrase could cause. First-order concerns are those that need to be eliminated immediately.
</p>
</div>
</div>


1 change: 1 addition & 0 deletions static/img/media-mentions/cncf-stacked-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/media-mentions/joinup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/media-mentions/nytimes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/media-mentions/the-register.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ea91d2d

Please sign in to comment.