Skip to content

Commit

Permalink
feat: remove search feature from docs site (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
artmsilva authored Feb 12, 2024
1 parent b45b54a commit fa22045
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 275 deletions.
3 changes: 0 additions & 3 deletions build.washingtonpost.com/components/NavigationBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ import Close from "@washingtonpost/wpds-assets/asset/close";
import Logo from "./logo";
import { ThemeToggle } from "./ThemeToggle";

const SearchForm = dynamic(() => import("./SearchForm"), { ssr: false });

const List = styled("ul", {
gridArea: "nav",
display: "flex",
Expand Down Expand Up @@ -220,7 +218,6 @@ export const NavigationBar = ({ setMobileMenu, mobileMenuState, isClosed }) => {
</Anchor>
</Link>
</ListItem>
<ListItem>{hideFromSmallScreen && <SearchForm />}</ListItem>
<ListItem>
<ThemeToggle
css={{ position: "fixed", marginTop: "-$100", zIndex: "$page" }}
Expand Down
57 changes: 0 additions & 57 deletions build.washingtonpost.com/components/SearchForm.js

This file was deleted.

1 change: 0 additions & 1 deletion build.washingtonpost.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"dependencies": {
"@babel/standalone": "^7.17.11",
"@codesandbox/sandpack-react": "^1.3.2",
"@docsearch/react": "^3.0.0",
"@octokit/core": "^4.0.5",
"@radix-ui/react-accordion": "^1.0.0",
"@radix-ui/react-checkbox": "^1.0.0",
Expand Down
214 changes: 0 additions & 214 deletions package-lock.json

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

0 comments on commit fa22045

Please sign in to comment.