-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #376 from NYPL/qa
ES Search bar updates
- Loading branch information
Showing
10 changed files
with
110 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { Banner } from "@nypl/design-system-react-components" | ||
import ExternalLink from "./Links/ExternalLink/ExternalLink" | ||
import React from "react" | ||
|
||
import styles from "../../styles/components/Layout.module.scss" | ||
|
||
/** | ||
* Renders EDS announcement in a DS banner. | ||
*/ | ||
const EDSBanner = () => { | ||
return ( | ||
<Banner | ||
className={styles.banner} | ||
type="informative" | ||
content={ | ||
<> | ||
<span style={{ color: "var(--nypl-colors-ui-success-primary)" }}> | ||
New! | ||
</span>{" "} | ||
Try our{" "} | ||
<ExternalLink href="https://discovery.ebsco.com/c/tvrejk?acr_values=guest"> | ||
<b style={{ color: "var(--nypl-colors-ui-link-primary" }}> | ||
Article Search | ||
</b> | ||
</ExternalLink>{" "} | ||
to discover online journals, books, and more from home with your | ||
library card. | ||
</> | ||
} | ||
/> | ||
) | ||
} | ||
|
||
export default EDSBanner |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,7 @@ | |
color: var(--nypl-colors-ui-white); | ||
} | ||
} | ||
|
||
.banner { | ||
max-width: 1248px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters