Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gitlab to social icons #131

Merged
merged 1 commit into from
Sep 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/webpack_assets.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"app": {
"js": "js/app.3fc0f988d21662902933.js",
"css": "css/app.ab4b67a3ea25990fa8279f3b7ef08b61.css"
"css": "css/app.e08a958ae3e530145318b6373195c765.css"
}
}
1 change: 1 addition & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ enableRobotsTXT = true
instagram = ""
youtube = ""
github = ""
gitlab = ""
linkedin = ""
# choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-"
background_color_class = "bg-black"
Expand Down
5 changes: 5 additions & 0 deletions layouts/partials/social-follow.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@
{{ partial "svg/github.svg" (dict "size" $icon_size) }}
</a>
{{ end }}
{{ with .Param "gitlab" }}
<a href="{{ . }}" class="link-transition gitlab link dib z-999 pt3 pt0-l mr2" title="Gitlab link">
{{ partial "svg/gitlab.svg" (dict "size" $icon_size) }}
</a>
{{ end }}
1 change: 1 addition & 0 deletions layouts/partials/svg/gitlab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion src/css/_social-icons.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.facebook, .twitter, .instagram, .youtube, .github, .linkedin {
.facebook, .twitter, .instagram, .youtube, .github, .gitlab, .linkedin {
fill: #BABABA;
}
.facebook:hover {
Expand All @@ -21,6 +21,10 @@
fill: #6cc644;
}

.gitlab:hover {
fill: #FC6D26;
}

.linkedin:hover {
fill: #0077b5
}

Large diffs are not rendered by default.