-
Notifications
You must be signed in to change notification settings - Fork 10
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
enhancement/issue 176 add bluesky link to social tray component #179
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ import styles from "./social-tray.module.css"; | |
import discordIcon from "../../assets/discord.svg?type=raw"; | ||
import githubIcon from "../../assets/github.svg?type=raw"; | ||
import twitterIcon from "../../assets/twitter-logo.svg?type=raw"; | ||
import blueskyIcon from "../../assets/bluesky.svg?type=raw"; | ||
|
||
export default class SocialTray extends HTMLElement { | ||
connectedCallback() { | ||
|
@@ -18,6 +19,13 @@ export default class SocialTray extends HTMLElement { | |
${discordIcon} | ||
</a> | ||
</li> | ||
|
||
<li class="${styles.socialIcon}"> | ||
<a href="https://bsky.app/profile/projectevergreen.bsky.social" title="Bluesky" | ||
style="display: inline-block; transform: scale(1.7) translateY(-2px);"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. based on some quick testing, it didn't seem like the Otherwise, is there anyway we can get the rest of this styling back into the SVG at all? I didn't have to do it for other SVG icons in the social tray, so hoping we don't have to do a one-off styles here ideally. If it is needed, I would probably suggest we just add a specific CSS class for this in social-tray.module.css |
||
${blueskyIcon} | ||
</a> | ||
</li> | ||
|
||
<li class="${styles.socialIcon}"> | ||
<a href="https://twitter.com/PrjEvergreen" title="Twitter"> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the formatting here looks off, not sure if you had a chance to run prettier before submitting? You can run
npm run format
to automatically format, otherwise CI will fail when run here.edit: hmm, looks like it didn't fail, that's interesting. Well, if
npm run format
doesn't fix it, could we try and make the changes here match the existing formatting conventions of other social tray icon links? Thanks!