-
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 #32 from NYPL/SCC-3652/drb-sidebar-components
SCC-3652 - DRBResult model and DRBCard component
- Loading branch information
Showing
29 changed files
with
860 additions
and
509 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
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 |
---|---|---|
@@ -1,25 +1,28 @@ | ||
import Head from "next/head" | ||
import { Heading } from "@nypl/design-system-react-components" | ||
|
||
import { appConfig } from "../../src/config/config" | ||
import Layout from "../../src/components/Layout/Layout" | ||
import RCLink from "../../src/components/RCLink/RCLink" | ||
import { LEGACY_CATALOG_URL } from "../../src/config/constants" | ||
|
||
export default function Custom404() { | ||
return ( | ||
<> | ||
<Head> | ||
<title>404 Not Found</title> | ||
</Head> | ||
<Heading level="one">404 Not Found</Heading> | ||
<div> | ||
<Layout activePage="404"> | ||
<Heading level="one">404 Not Found</Heading> | ||
<p>We're sorry...</p> | ||
<p>The page you were looking for doesn't exist.</p> | ||
<p> | ||
Search the <RCLink href="/">Research Catalog</RCLink> or our{" "} | ||
<RCLink href={LEGACY_CATALOG_URL}>Legacy Catalog</RCLink> for research | ||
materials. | ||
<RCLink href={appConfig.externalUrls.legacyCatalog}> | ||
Legacy Catalog | ||
</RCLink>{" "} | ||
for research materials. | ||
</p> | ||
</div> | ||
</Layout> | ||
</> | ||
) | ||
} |
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 |
---|---|---|
@@ -1,32 +1,34 @@ | ||
import Head from "next/head" | ||
import { Heading } from "@nypl/design-system-react-components" | ||
|
||
import { appConfig } from "../../src/config/config" | ||
import Layout from "../../src/components/Layout/Layout" | ||
import RCLink from "../../src/components/RCLink/RCLink" | ||
import { | ||
CIRCULATING_CATALOG_URL, | ||
LEGACY_CATALOG_URL, | ||
} from "../../src/config/constants" | ||
|
||
export default function Redirect404() { | ||
return ( | ||
<> | ||
<Head> | ||
<title>404 Not Found</title> | ||
</Head> | ||
<Heading level="one">We're sorry...</Heading> | ||
<div> | ||
<Layout activePage="404"> | ||
<Heading level="one">We're sorry...</Heading> | ||
<p>You've followed an out-of-date link to our research catalog.</p> | ||
<p> | ||
You may be able to find what you're looking for in the{" "} | ||
<RCLink href="/">Research Catalog</RCLink> or the{" "} | ||
<RCLink href={CIRCULATING_CATALOG_URL}>Circulating Catalog</RCLink>. | ||
for research materials. | ||
<RCLink href={appConfig.externalUrls.circulatingCatalog}> | ||
Circulating Catalog | ||
</RCLink> | ||
. for research materials. | ||
</p> | ||
<p> | ||
You can also try the{" "} | ||
<RCLink href={LEGACY_CATALOG_URL}>Legacy Catalog</RCLink> | ||
<RCLink href={appConfig.externalUrls.legacyCatalog}> | ||
Legacy Catalog | ||
</RCLink> | ||
</p> | ||
</div> | ||
</Layout> | ||
</> | ||
) | ||
} |
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
Oops, something went wrong.