Skip to content

Commit

Permalink
feat: add JSON database of tag content #235
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfisher committed Sep 29, 2024
1 parent 4f26395 commit 335e1c6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions site/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ module.exports = {
path: `${__dirname}/utils/embeddings/similarity_data.json`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: `tagdata`,
path: `${__dirname}/src/lib/tag_data.json`,
},
},
`gatsby-plugin-image`,
{
resolve: `gatsby-transformer-sharp`,
Expand Down
17 changes: 17 additions & 0 deletions site/src/lib/tag_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"tag": "android",
"title": "Android operating system",
"intro": "Alongside iOS, Windows and Linux, Android is an operating system that powers billions of devices globally. Being open-source fosters innovation and flexibility, allowing it to be used in everything from phones to desktops to IoT devices to gaming consoles and more. Key however, Android drives sustained evolution of the mobile computing experience for much of the world."
},
{
"tag": "Apple",
"title": "Apple",
"intro": "Apple has redefined technology and interaction many times with its innovative approach to hardware, software and design. From the stalwart Mac to iPhones and iPads, it creates a seamless ecosystem of devices and services - setting new benchmarks for user experience and innovation. Apple's Second Mouse strategy coupled with its focus on simplicity, performance and great design influences how we interact with the digital world."
},
{
"tag": "mobile",
"title": "Mobile technology",
"intro": "The way we work, communicate, and engage with the digital world has fundamentally changed as a result of mobile computing. As platforms develop, they continue to transform personal computing, enhance user experiences, and drive innovation across domains. From having a smartphone in every pocket to mobile networks enabling IoT, mobile tech plays a dominant role in shaping connectivity, accessibility and seamless interactions on the move."
}
]

0 comments on commit 335e1c6

Please sign in to comment.