Skip to content

Commit

Permalink
Add fox emoji for GitLab repo links
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmargolis committed May 3, 2024
1 parent db07f0d commit 46fe6c3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _articles/cloud-gov-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ subcategory: Code
Login.gov uses [Cloud.gov Pages][cloud-gov-pages] as its hosting provider for our [static sites][static-sites]. By becoming a user of the Login.gov organization in Cloud.gov Pages, you'll have access to build logs and settings configuration for each of our sites. Organization access also allows you to log in on sites which use Netlify CMS ([including this handbook!][handbook-admin]).

[cloud-gov-pages]: https://cloud.gov/pages/
[static-sites]: {% link _articles/github.md %}#static-sites
[static-sites]: {% link _articles/github-gitlab.md %}#static-sites
[handbook-admin]: {{ site.baseurl }}/admin/

## Requesting Access to Cloud.gov Pages
Expand Down
3 changes: 2 additions & 1 deletion _articles/github.md → _articles/github-gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ layout: article
category: Development
subcategory: Code
cspell: ignore omniauth
redirect_from: /articles/github.html
---

## Repositories
Expand Down Expand Up @@ -71,7 +72,7 @@ Some repositories in GitHub are mirrored from our self-hosted GitLab.

### Platform and Infrastructure

- [**`18f/identity-devops`**](https://github.com/18f/identity-devops)
- [**`lg/identity-devops`**](https://gitlab.login.gov/lg/identity-devops)
Platform CLI tools, Terraform for infrastructure as code (IaC), Chef for instance (server) provisioning, and so much more! (Too much more?)

- [**`18f/identity-devops-private`**](https://github.com/18f/identity-devops-private)
Expand Down
6 changes: 3 additions & 3 deletions _articles/pull-request-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for contributions from the Login.gov team (anybody in the
[external contributions](#external-contributions) for more information on
changes from outside.

[github-repositories]: {% link _articles/github.md %}#repositories
[github-repositories]: {% link _articles/github-gitlab.md %}#repositories

- **Who reviews**: at least one member of the engineering team must review and
approve a pull request before it can be merged.
Expand All @@ -37,7 +37,7 @@ changes from outside.
author is unavailable, it may be acceptable for another to merge on their
behalf.

[github-permissions]: {% link _articles/github.md %}#permissions
[github-permissions]: {% link _articles/github-gitlab.md %}#permissions

## External Contributions

Expand All @@ -59,4 +59,4 @@ minimize usages of it to absolutely critical changes needed.

The handbook's GitHub article includes information about other GitHub features, such as:

- [Running continuous integration outside of a pull request]({% link _articles/github.md %}#running-ci-outside-of-a-pull-request) or [sharing work with other engineers]({% link _articles/github.md %}#sharing-work-with-other-engineers)
- [Running continuous integration outside of a pull request]({% link _articles/github-gitlab.md %}#running-ci-outside-of-a-pull-request) or [sharing work with other engineers]({% link _articles/github-gitlab.md %}#sharing-work-with-other-engineers)
14 changes: 14 additions & 0 deletions assets/scss/main.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,17 @@ span {
background-color: color("warning-light");
}
}

/**
* Mimics private-eye lock emoji, but for GitLab repos
* See https://github.com/18F/private-eye/blob/c08740d838eb2b95b318a916894c6cb6aae76e41/private-eye.js#L5
*/
a[href*="gitlab.login.gov/lg"] {
& > strong::after,
&::after {
content: "\1F98A"; // 🦊
font-size: 0.75em;
text-decoration: none;
vertical-align: top;
}
}

0 comments on commit 46fe6c3

Please sign in to comment.