Skip to content

Commit

Permalink
feat: add more socials
Browse files Browse the repository at this point in the history
  • Loading branch information
prplwtf committed Nov 23, 2024
1 parent 834fddd commit 8642ae5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
5 changes: 4 additions & 1 deletion configuration/Configuration.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ Information:

Connections:
GitHub: prplwtf
YouTube:
GitLab: prplwtf
Bluesky: prpl.wtf
Twitter:
Mastodon: [email protected]
Medium: prplwtf
Twitch:
YouTube:
26 changes: 22 additions & 4 deletions src/components/sections/RootSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ function RootSection() {
Boolean(window.Configuration.Connections.GitHub || false)
)}
${ConnectionElement(
"youtube",
`youtube.com/@${window.Configuration.Connections.YouTube}`,
window.Configuration.Connections.YouTube,
Boolean(window.Configuration.Connections.YouTube || false)
"gitlab",
`gitlab.com/${window.Configuration.Connections.GitLab}`,
window.Configuration.Connections.GitLab,
Boolean(window.Configuration.Connections.GitLab || false)
)}
${ConnectionElement(
"custom:bluesky",
Expand All @@ -35,6 +35,24 @@ function RootSection() {
window.Configuration.Connections.Mastodon,
Boolean(window.Configuration.Connections.Mastodon || false)
)}
${ConnectionElement(
"medium",
`medium.com/@${window.Configuration.Connections.Medium}`,
window.Configuration.Connections.Medium,
Boolean(window.Configuration.Connections.Medium || false)
)}
${ConnectionElement(
"twitch",
`twitch.tv/${window.Configuration.Connections.Twitch}`,
window.Configuration.Connections.Twitch,
Boolean(window.Configuration.Connections.Twitch || false)
)}
${ConnectionElement(
"youtube",
`youtube.com/@${window.Configuration.Connections.YouTube}`,
window.Configuration.Connections.YouTube,
Boolean(window.Configuration.Connections.YouTube || false)
)}
</div>
${FooterElement()}
`
Expand Down

0 comments on commit 8642ae5

Please sign in to comment.