Skip to content

Commit 1dd1c88

Browse files
authored
#3281 Add Bluesky News article & icon to Footer (#3292) (#3293)
1 parent f1d0206 commit 1dd1c88

File tree

6 files changed

+80
-25
lines changed

6 files changed

+80
-25
lines changed

package-lock.json

Lines changed: 50 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
},
1717
"dependencies": {
1818
"@cityssm/bulma-sticky-table": "^2.1.0",
19-
"@fortawesome/fontawesome-svg-core": "^6.5.1",
20-
"@fortawesome/free-brands-svg-icons": "^6.5.1",
19+
"@fortawesome/fontawesome-svg-core": "^6.5.2",
20+
"@fortawesome/free-brands-svg-icons": "^6.5.2",
2121
"@fortawesome/free-regular-svg-icons": "^6.5.1",
2222
"@fortawesome/free-solid-svg-icons": "^6.5.1",
2323
"@fortawesome/vue-fontawesome": "^3.0.5",
38.7 KB
Loading

src/assets/data/news.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
{
22
"currentNews": [
3+
{
4+
"id": 443,
5+
"newsType": "news",
6+
"title": "Follow the CVE Program on Bluesky!",
7+
"urlKeywords": "Follow the CVE Program on Bluesky",
8+
"date": "2024-12-03",
9+
"description": [
10+
{
11+
"contentnewsType": "paragraph",
12+
"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>."
13+
},
14+
{
15+
"contentnewsType": "image",
16+
"imageWidth": "",
17+
"href": "/news/BlueskySocial.png",
18+
"altText": "Bluesky logo",
19+
"captionText": "<a href='https://bsky.app/profile/cveprogram.bsky.social' target='_blank'>@CVEprogram on Bluesky</a>"
20+
}
21+
]
22+
},
323
{
424
"id": 442,
525
"newsType": "news",

src/components/FooterModule.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
<p id="linkedinIcon" class="is-hidden">linkedin</p>
3333
<font-awesome-icon :icon="['fab', 'linkedin']" aria-labelledby="linkedinIcon" aria-hidden="false" focusable="false"/>
3434
</span></a>
35+
<a class="cve-social-media-icon" href="https://bsky.app/profile/cveprogram.bsky.social" target="_blank">
36+
<span class="icon">
37+
<p id="blueskyIcon" class="is-hidden">bluesky</p>
38+
<font-awesome-icon :icon="['fab', 'bluesky']" aria-labelledby="blueskyIcon" aria-hidden="false" focusable="false"/>
39+
</span></a>
3540
<a class="cve-social-media-icon" href="https://mastodon.social/@CVE_Program" target="_blank">
3641
<span class="icon">
3742
<p id="mastodonIcon" class="is-hidden">mastodon</p>

src/main.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ import { useGenericGlobalsStore } from '@/stores/genericGlobals.ts';
1414

1515
// Import and add icons to library
1616
import { library } from '@fortawesome/fontawesome-svg-core';
17-
import {
18-
faXTwitter, faGithub, faLinkedin, faYoutube, faMedium, faLeanpub, faReadme, faMastodon,
19-
} from '@fortawesome/free-brands-svg-icons';
17+
import { fab } from '@fortawesome/free-brands-svg-icons';
2018
import {
2119
faAngleDoubleLeft, faAngleDoubleRight, faAngleLeft, faAngleRight, faArrowRight, faBlog, faBook, faCaretDown, faCaretUp, faInfoCircle, faCheckCircle,
2220
faExclamationCircle, faFileCode, faTriangleExclamation, faUpRightFromSquare, faLink, faMinus, faPassport, faPlus, faPodcast, faIdCard, faSearch,
@@ -28,8 +26,8 @@ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
2826
library.add(
2927
faAngleDoubleLeft, faAngleDoubleRight, faAngleLeft, faAngleRight, faArrowRight, faBlog, faBook, faCaretDown, faCaretUp, faInfoCircle, faCheckCircle,
3028
faExclamationCircle, faFileCode, faTriangleExclamation, faUpRightFromSquare, faLink, faMinus, faPassport, faPlus, faPodcast, faIdCard, faSearch,
31-
faHandshake, faUsersCog, faLaptopCode, faPoll, faTimes, faToolbox, faSitemap, faUser, faUserShield, faBullhorn, faWindowMaximize, faXTwitter,
32-
faGithub, faLinkedin, faYoutube, faMedium, faLeanpub, faArrowAltCircleRight, faClipboard, faNewspaper, faReadme, faMastodon);
29+
faHandshake, faUsersCog, faLaptopCode, faPoll, faTimes, faToolbox, faSitemap, faUser, faUserShield, faBullhorn, faWindowMaximize,
30+
faArrowAltCircleRight, faClipboard, faNewspaper, fab,);
3331

3432

3533
const app = createApp(App);

0 commit comments

Comments
 (0)