Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QardsJs/qards
/ functions
Functions
190 in github.com/QardsJs/qards
⨍
Functions
190
◇
Types & classes
187
↓ 38 callers
Function
getSettingsConfig
(path: string[] | string, defaultValue?: any)
src/utils/helpers.ts:230
↓ 18 callers
Function
prependBaseUrl
(path: string)
src/utils/helpers.ts:27
↓ 12 callers
Function
encodeWidgetDataObject
(data: object)
testing/cypress/integration/qards/cms/netlify.spec.ts:15
↓ 12 callers
Function
getPluginsConfig
(path: string[] | string, defaultValue?: any)
src/utils/helpers.ts:240
↓ 12 callers
Function
getPreviewBody
()
testing/cypress/integration/qards/cms/netlify.spec.ts:104
↓ 12 callers
Function
writePostBody
(postBody: string, clearBeforeWrite: boolean | undefined)
testing/cypress/integration/qards/cms/netlify.spec.ts:93
↓ 10 callers
Function
getPostsConfig
(path: string[] | string, defaultValue?: any)
src/utils/helpers.ts:220
↓ 9 callers
Function
extractNodesFromEdges
(edges: any, path: string = '')
src/utils/helpers.ts:147
↓ 8 callers
Function
makeSureEndsWithSlash
(url)
gatsby-node.js:35
↓ 6 callers
Function
hidden
(key: string)
src/components/common/hide/index.tsx:14
↓ 6 callers
Function
lineRepresentsEncodedComponent
(line: string)
src/utils/helpers.ts:22
↓ 6 callers
Function
round
(value: any, decimals: any)
src/components/qard/gallery/Grid/utils.ts:1
↓ 6 callers
Function
tokenizePost
(post: PostType)
src/utils/helpers.ts:56
↓ 5 callers
Function
decodeWidgetDataObject
(data: string)
src/cms/utils.ts:7
↓ 5 callers
Function
getCollectionNodes
(collection, getNodes)
gatsby-node.js:256
↓ 5 callers
Function
slugify
(text: string)
src/utils/helpers.ts:96
↓ 4 callers
Function
getConfig
(path: string[])
src/utils/helpers.ts:191
↓ 4 callers
Function
normalizeCfgPath
(path: string | string[])
src/utils/helpers.ts:206
↓ 4 callers
Method
notAvailableInPreview
(cb: any)
src/components/qard/base.tsx:25
↓ 4 callers
Method
renderSection
(part: string)
src/components/post/post.tsx:207
↓ 3 callers
Method
bodyMd
(props?: Props)
src/components/post/post.tsx:149
↓ 3 callers
Function
getThemeConfig
(path: string[] | string, defaultValue?: any)
src/utils/helpers.ts:210
↓ 2 callers
Method
__prepare
()
src/components/qard/gallery/index.tsx:98
↓ 2 callers
Function
isNodeOfCollection
(node, collection)
gatsby-node.js:252
↓ 2 callers
Method
prepareItems
()
src/components/qard/audio/index.tsx:195
↓ 2 callers
Function
ratio
({width, height}: any)
src/components/qard/gallery/Grid/utils.ts:7
↓ 2 callers
Method
setBodyLines
()
src/components/post/post.tsx:168
↓ 1 callers
Function
assertInsideAdmin
()
testing/cypress/integration/qards/cms/netlify.spec.ts:80
↓ 1 callers
Function
assertOnPostsPage
()
testing/cypress/integration/qards/cms/netlify.spec.ts:84
↓ 1 callers
Function
cPatternWithId
(id: string)
src/utils/helpers.ts:18
↓ 1 callers
Function
computeSizes
({photos, columns, width, margin}: any)
src/components/qard/gallery/Grid/utils.ts:15
↓ 1 callers
Function
computeSizesColumns
({photos, columns, width, margin}: any)
src/components/qard/gallery/Grid/utils.ts:61
↓ 1 callers
Function
createFinalSlug
(post, slug)
gatsby-node.js:308
↓ 1 callers
Function
createPostImageNodes
(node, actions)
plugins/qards-netlify-cms-paths/gatsby-node.js:38
↓ 1 callers
Function
createReferencesField
(node, actions, getNodes)
gatsby-node.js:360
↓ 1 callers
Function
decodeWidgetDataObject
(data)
gatsby-node.js:363
↓ 1 callers
Function
decodeWidgetDataObject
(data)
plugins/qards-netlify-cms-paths/gatsby-node.js:45
↓ 1 callers
Function
encodeWidgetDataObject
(data: object)
src/cms/utils.ts:3
↓ 1 callers
Function
filterOutPages
(edges)
gatsby-node.js:43
↓ 1 callers
Method
findImageFromPost
(imageSrc: string)
src/components/qard/image/content.tsx:74
↓ 1 callers
Method
getImageDimensions
(image: CardGalleryItemType)
src/components/qard/gallery/index.tsx:192
↓ 1 callers
Method
getItemFromPostFields
(item: CardAudioItemType)
src/components/qard/audio/index.tsx:181
↓ 1 callers
Function
getPostAuthorNode
(postNode, getNodes)
gatsby-node.js:261
↓ 1 callers
Function
getPostCategoryNode
(postNode, getNodes)
gatsby-node.js:268
↓ 1 callers
Function
getPostPrimaryHeadings
(markdown: string)
src/utils/helpers.ts:31
↓ 1 callers
Function
getPostsByCategory
(category)
gatsby-node.js:143
↓ 1 callers
Function
getPostsByTag
(tag)
gatsby-node.js:102
↓ 1 callers
Function
getTags
(edges)
gatsby-node.js:21
↓ 1 callers
Function
gotoAdmin
()
testing/cypress/integration/qards/cms/netlify.spec.ts:49
↓ 1 callers
Method
gotoNext
()
src/components/qard/gallery/index.tsx:236
↓ 1 callers
Method
isAsyncWidget
(widget: string | null)
src/components/post/post.tsx:158
↓ 1 callers
Function
isNetlifyAsset
(value, public_folder)
plugins/qards-netlify-cms-paths/make-relative.js:5
↓ 1 callers
Function
loadCustomFonts
()
gatsby-node.js:436
↓ 1 callers
Function
mapAuthorsToPostNode
(node, getNodes)
gatsby-node.js:283
↓ 1 callers
Function
mapCategoriesToPostNode
(node, getNodes)
gatsby-node.js:274
↓ 1 callers
Function
mapNetlifyMediaPath
(node, options)
plugins/qards-netlify-cms-paths/gatsby-node.js:9
↓ 1 callers
Function
markdownRenderPost
(md: string)
src/utils/helpers.ts:165
↓ 1 callers
Function
navigateCreatePost
()
testing/cypress/integration/qards/cms/netlify.spec.ts:76
↓ 1 callers
Function
navigatetoPosts
()
testing/cypress/integration/qards/cms/netlify.spec.ts:72
↓ 1 callers
Function
paginateCategories
(createPage, posts, categories)
gatsby-node.js:140
↓ 1 callers
Function
paginatePosts
(createPage, postsEdges)
gatsby-node.js:40
↓ 1 callers
Function
paginateTags
(createPage, posts)
gatsby-node.js:96
↓ 1 callers
Function
readingTime
(markdown: string)
src/utils/helpers.ts:176
↓ 1 callers
Method
renderAuthor
(post: PostType)
src/components/posts/index.tsx:43
↓ 1 callers
Method
renderBody
()
src/components/post/post.tsx:251
↓ 1 callers
Method
renderComponent
* I can't stress this enough but we should import only what * is required by the post. We will have huge pages otherwise * and our responsiveness
src/components/post/post.tsx:56
↓ 1 callers
Method
renderHeading
(config: any)
src/components/post/post.tsx:125
↓ 1 callers
Method
renderHero
(post: PostType)
src/components/posts/index.tsx:70
↓ 1 callers
Method
renderImage
(config: any)
src/components/post/post.tsx:120
↓ 1 callers
Method
renderStaticBody
()
src/components/post/post.tsx:219
↓ 1 callers
Method
renderStaticWidget
(line: string)
src/components/post/post.tsx:133
↓ 1 callers
Function
scanObjForImages
(matches, obj)
plugins/qards-netlify-cms-paths/gatsby-node.js:86
↓ 1 callers
Method
setCountdown
()
src/components/qard/countdown/index.tsx:38
↓ 1 callers
Function
slugify
(text)
gatsby-node.js:290
↓ 1 callers
Function
submitLoginFrm
()
testing/cypress/integration/qards/cms/netlify.spec.ts:54
↓ 1 callers
Method
toggleBodyCls
(isItOpen: boolean)
src/components/navbar/drawer.tsx:61
↓ 1 callers
Function
toggleMarkdownEditor
()
testing/cypress/integration/qards/cms/netlify.spec.ts:89
↓ 1 callers
Method
widgetFromLine
(line: string)
src/components/post/post.tsx:162
↓ 1 callers
Function
writeEmptyFile
()
gatsby-node.js:418
Function
Blog
()
src/app/pages/index.example.tsx:17
Function
Content
({ children, ...props }: any)
src/components/layout/content.tsx:32
Function
ImageComponent
({photo, onClick, post, margin, ...rest}: any)
src/components/qard/gallery/index.tsx:42
Function
NotFoundPage
()
src/pages/404.js:4
Function
Photo
({index, onClick, photo, margin, direction, top, left}: any)
src/components/qard/gallery/Grid/photo.tsx:5
Function
PostPreview
({entry}: any)
src/cms/previews/posts.tsx:7
Function
PostTemplate
({data, location}: Props)
src/templates/post/index.tsx:38
Function
QardImage
({alt, src, fluid, fixed, style, ...rest}: CardImageType)
src/components/qard/image/index.tsx:40
Function
Route
({component: Component, ...rest}: any)
src/components/common/route.tsx:4
Function
StylesLoader
({children}: any)
src/cms/styles-loader.tsx:4
Method
authorName
()
src/components/pages/post/index.tsx:107
Method
blogTitle
()
src/components/pages/post/index.tsx:103
Method
closeLightbox
()
src/components/qard/gallery/index.tsx:223
Method
columnsNr
()
src/components/qard/gallery/index.tsx:187
Method
componentDidMount
()
src/components/scroll-progress/index.tsx:64
Method
componentDidMount
()
src/components/qard/audio/index.tsx:176
Method
componentDidMount
()
src/components/qard/gallery/index.tsx:106
Method
componentDidMount
()
src/components/qard/gallery/Grid/index.tsx:20
Method
componentDidMount
()
src/components/qard/countdown/index.tsx:63
Method
componentDidMount
()
src/components/navbar/drawer.tsx:85
Method
componentDidMount
()
src/components/post/toc.tsx:151
next →
1–100 of 190, ranked by callers