Skip to content
Open
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
1 change: 1 addition & 0 deletions config/custom-environment-variables.json5
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
socialFacebook: "GH_VOICE_CLIENT_SOCIAL_FACEBOOK",
socialTwitter: "GH_VOICE_CLIENT_SOCIAL_TWITTER",
socialDiscord: "GH_VOICE_CLIENT_SOCIAL_DISCORD",
socialYouTube: "GH_VOICE_CLIENT_SOCIAL_YOUTUBE",
}
}
1 change: 1 addition & 0 deletions config/default.json5
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
socialFacebook: "",
socialTwitter: "",
socialDiscord: "",
socialYouTube: "",
},

// Which repositories' issues should be displayed to the client.
Expand Down
12 changes: 12 additions & 0 deletions src/client/views/layout/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@
<span class="nav-link-inner--text d-none">Discord</span>
</a>
</li>
<li class="nav-item" v-if="socialLinkYouTube">
<a class="nav-link nav-link-icon"
:href="socialLinkYouTube"
target="_blank"
data-toggle="tooltip" title="Checkout our YouTube channel">
<i class="fab fa-youtube"></i>
<span class="nav-link-inner--text d-none">YouTube</span>
</a>
</li>
<li class="nav-item ml-sm-3" v-if="isLoggedIn">
<a :href="authSignOut"
:alt="user.username"
Expand Down Expand Up @@ -104,6 +113,9 @@ export default Vue.extend({
socialLinkDiscord() {
return process.env.VUE_APP_SOCIAL_DISCORD;
},
socialLinkYouTube() {
return process.env.VUE_APP_SOCIAL_YOU_TUBE;
},
},
data() {
return {
Expand Down
1 change: 1 addition & 0 deletions src/common/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ declare global {
socialFacebook: string;
socialTwitter: string;
socialDiscord: string;
socialYouTube: string;
}

interface GHConfigServer {
Expand Down