Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@jbolda/gatsby-theme-homepage
Advanced tools
@jbolda/gatsby-theme-homepage
This plugin expects a gatsby-source-filesystem
config entry with a name
entry of homepage pointing at the directory. The optional, but the recommended folder name is src/homepage
.
It expects a landing.mdx
, about.mdx
, and picture file named avatar
in this folder. These three files control the first two sections, and none are technically a requirement.
Lastly, it expects a nested folder named engagements
with markdown files with names of your choosing. Each file will be a separate "engagement".
Additionally, the site links section in the about section (the second one), you may pass a list of contact links in the siteMetadata
. Use contactLinks
as an array of objects with a url
, text
(the text you will see), and an icon
as pulled from fontawesome.
module.exports = {
siteMetadata: {
contactLinks: [
{
url: "mailto:me@jacobbolda.com",
text: "me@jacobbolda.com",
icon: ["far", "envelope"]
},
{
url: "https://twitter.com/jacobbolda",
text: "@jacobbolda",
icon: ["fab", "twitter"]
}
]
},
plugins: [
{
resolve: `@jbolda/gatsby-theme-homepage`,
options: { showArticlesOnHomepage: true }
},
]
}
The following are design tokens that are applied by variants through this theme. You may use them to apply styles to elements as a stopgap before needing to shadow a component.
{
jboldaGatsbyTheme: {
homepage: {
landing: {
container: { /* add tokens here */ },
left: { /* add tokens here */ },
right: { /* add tokens here */ }
},
about: {
container: { /* add tokens here */ },
left: { /* add tokens here */ },
right: { /* add tokens here */ }
},
engagements: {
container: { /* add tokens here */ },
each: { /* add tokens here */ }
},
articles: {
container: { /* add tokens here */ },
each: { /* add tokens here */ }
}
}
}
}
FAQs
Gatsby theme to construct a homepage.
The npm package @jbolda/gatsby-theme-homepage receives a total of 4 weekly downloads. As such, @jbolda/gatsby-theme-homepage popularity was classified as not popular.
We found that @jbolda/gatsby-theme-homepage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.