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

#3281 Add Bluesky News article & icon to Footer #3292

Merged
merged 1 commit into from
Dec 3, 2024
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
68 changes: 50 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
"dependencies": {
"@cityssm/bulma-sticky-table": "^2.1.0",
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/vue-fontawesome": "^3.0.5",
Expand Down
Binary file added public/images/news/BlueskySocial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions src/assets/data/news.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
{
"currentNews": [
{
"id": 443,
"newsType": "news",
"title": "Follow the CVE Program on Bluesky!",
"urlKeywords": "Follow the CVE Program on Bluesky",
"date": "2024-12-03",
"description": [
{
"contentnewsType": "paragraph",
"content": "The CVE Program is now on <a href='https://bsky.app/' target='_blank'>Bluesky</a>! Please follow us for program news, new partner announcements, updates on community activities, and more at <a href='https://bsky.app/profile/cveprogram.bsky.social' target='_blank'>@cveprogram.bsky.social</a>."
},
{
"contentnewsType": "image",
"imageWidth": "",
"href": "/news/BlueskySocial.png",
"altText": "Bluesky logo",
"captionText": "<a href='https://bsky.app/profile/cveprogram.bsky.social' target='_blank'>@CVEprogram on Bluesky</a>"
}
]
},
{
"id": 442,
"newsType": "news",
Expand Down
5 changes: 5 additions & 0 deletions src/components/FooterModule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<p id="linkedinIcon" class="is-hidden">linkedin</p>
<font-awesome-icon :icon="['fab', 'linkedin']" aria-labelledby="linkedinIcon" aria-hidden="false" focusable="false"/>
</span></a>
<a class="cve-social-media-icon" href="https://bsky.app/profile/cveprogram.bsky.social" target="_blank">
<span class="icon">
<p id="blueskyIcon" class="is-hidden">bluesky</p>
<font-awesome-icon :icon="['fab', 'bluesky']" aria-labelledby="blueskyIcon" aria-hidden="false" focusable="false"/>
</span></a>
<a class="cve-social-media-icon" href="https://mastodon.social/@CVE_Program" target="_blank">
<span class="icon">
<p id="mastodonIcon" class="is-hidden">mastodon</p>
Expand Down
7 changes: 2 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ import { usePartnerStore } from '@/stores/partners';

// Import and add icons to library
import { library } from '@fortawesome/fontawesome-svg-core';
import {
faXTwitter, faGithub, faLinkedin, faYoutube, faMedium, faLeanpub, faReadme, faMastodon,
} from '@fortawesome/free-brands-svg-icons';
import { fab } from '@fortawesome/free-brands-svg-icons';
import {
faAngleLeft, faAngleRight, faArrowRight, faBlog, faBook, faCaretDown, faCaretUp, faInfoCircle, faCheckCircle, faExclamationCircle, faFileCode,
faTriangleExclamation, faUpRightFromSquare, faLink, faMinus, faPassport, faPlus, faPodcast, faIdCard, faSearch, faHandshake, faUsersCog,
Expand All @@ -26,8 +24,7 @@ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';

library.add(faAngleLeft, faAngleRight, faArrowRight, faBlog, faBook, faCaretDown, faCaretUp, faInfoCircle, faCheckCircle, faExclamationCircle, faFileCode,
faTriangleExclamation, faUpRightFromSquare, faLink, faMinus, faPassport, faPlus, faPodcast, faIdCard, faSearch, faHandshake, faUsersCog, faLaptopCode,
faTimes, faToolbox, faSitemap, faUser, faUserShield, faXTwitter, faGithub, faLinkedin, faYoutube, faMedium, faLeanpub, faArrowAltCircleRight,
faClipboard, faNewspaper, faBullhorn, faWindowMaximize, faReadme, faPoll, faMastodon);
faTimes, faToolbox, faSitemap, faUser, faUserShield, faArrowAltCircleRight, faClipboard, faNewspaper, faBullhorn, faWindowMaximize, faPoll, fab);


const app = createApp(App);
Expand Down