Skip to content

Commit

Permalink
[site] Add hidden Site Search
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvanluijt authored Mar 7, 2023
1 parent c7a8c5d commit c578f44
Show file tree
Hide file tree
Showing 10 changed files with 958 additions and 403 deletions.
1 change: 1 addition & 0 deletions _build_scripts/slack-find-author.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ git_slack_map=(
["Erika Cardenas"]="<@U03RSSRAMLN>"
["Etienne Dilocker"]="<@UCZDBEZ5F>"
["hsm207"]="<@U04C2EATF6K>" #Shukri
["Igor Lamas"]="<@U04MGB80F45>"
["John Trengrove"]="<@U03KPAE8Y7K>"
["JP Hwang"]="<@U0441J6PYGN>"
["Ken MacInnis"]="<@U048YRPG5J7>"
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,22 @@
"lodash": "^4.17.21",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-cmdk": "^1.3.8",
"react-dom": "^17.0.2",
"react-js-switch": "^1.1.6",
"react-radio-group": "^3.0.3",
"react-rangeslider": "^2.2.0",
"rxjs": "^7.8.0",
"sass": "^1.56.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.3.1",
"autoprefixer": "^10.4.13",
"linkinator": "4.1.2",
"netlify-cli": "12.10.0",
"node-fetch": "^2.6.1"
"postcss": "^8.4.21",
"postcss-prefix-selector": "^1.16.0",
"tailwindcss": "^3.2.7"
},
"browserslist": {
"production": [
Expand Down
4 changes: 4 additions & 0 deletions src/analytics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const captureSiteSearchAnalytics = (searchTerm) =>
plausible('Site Search', {
props: { searchTerm }
})
67 changes: 67 additions & 0 deletions src/components/CommandMenu/cmdk.css

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

Loading

0 comments on commit c578f44

Please sign in to comment.