Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace iiif.stack.rdc.library with iiif.dc.library #333

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/fixtures/item/manifest1.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "https://iiif.stack.rdc-staging.library.northwestern.edu/iiif/2/907c8fde-38a3-4a72-8ea4-0a35605d1ab7"
},
"@id": "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"@id": "https://iiif.dc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"@type": "dctypes:Image"
},
"@type": "oa:Annotation"
Expand Down
2 changes: 1 addition & 1 deletion cypress/fixtures/search/response1.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* This is a static image in DC Production that we assume will always be available
*/
const thumbnailUrl =
"https://iiif.stack.rdc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg";
"https://iiif.dc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg";

const awsMockManifestUrl =
"https://yt8thudrak.execute-api.us-east-1.amazonaws.com/manifests";
Expand Down
8 changes: 4 additions & 4 deletions cypress/fixtures/search/response1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"data": [
{
"accession_number": "0.680069183",
"thumbnail": "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"thumbnail": "https://iiif.dc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"iiif_manifest": "https://yt8thudrak.execute-api.us-east-1.amazonaws.com/manifests/1",
"work_type": "Image",
"id": "1",
"title": "It's Gonna Be May (For Brendan)"
},
{
"accession_number": "Accession:JR_150_35",
"thumbnail": "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"thumbnail": "https://iiif.dc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"iiif_manifest": "https://yt8thudrak.execute-api.us-east-1.amazonaws.com/manifests/2",
"work_type": "Image",
"id": "2",
"title": "Chicago Jazz Musicians -- for film by Chris Vail '71"
},
{
"accession_number": "Voyager:58249",
"thumbnail": "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"thumbnail": "https://iiif.dc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"iiif_manifest": "https://yt8thudrak.execute-api.us-east-1.amazonaws.com/manifests/3",
"work_type": "Image",
"id": "3",
Expand All @@ -34,7 +34,7 @@
},
{
"accession_number": "2022_03_24_02",
"thumbnail": "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"thumbnail": "https://iiif.dc.library.northwestern.edu/iiif/2/76c26a0a-0454-48d8-a225-9fc26735315b/full/pct:10/0/default.jpg",
"iiif_manifest": "https://yt8thudrak.execute-api.us-east-1.amazonaws.com/manifests/5",
"work_type": "Video",
"id": "5",
Expand Down
2 changes: 1 addition & 1 deletion lib/constants/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const DCAPI_PRODUCTION_ENDPOINT =
const DC_API_SEARCH_URL = `${DCAPI_ENDPOINT}/search`;
const DC_URL = process.env.NEXT_PUBLIC_DC_URL;
const IIIF_IMAGE_SERVICE_ENDPOINT =
"https://iiif.stack.rdc.library.northwestern.edu/iiif/2";
"https://iiif.dc.library.northwestern.edu/iiif/2";
const PRODUCTION_URL = "https://digitalcollections.library.northwestern.edu";

export {
Expand Down
54 changes: 27 additions & 27 deletions lib/constants/homepage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@ export const defaultCollection: HeroCollection = {
},
items: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/public/72/98/fd/ce/-a/dc/1-/45/01/-9/e1/4-/9e/8b/d9/85/e1/49-manifest.json",
id: "https://iiif.dc.library.northwestern.edu/public/72/98/fd/ce/-a/dc/1-/45/01/-9/e1/4-/9e/8b/d9/85/e1/49-manifest.json",
type: "Collection",
label: { none: ["Edward S. Curtis's The North American Indian"] },
summary: {
none: ["Crossing the Pend d'Oreille - Kalispel"],
},
thumbnail: [
{
id: `https://iiif.stack.rdc.library.northwestern.edu/iiif/2/440bcf10-a7ee-4824-a1fb-e505cad222df/210,210,2650,1720/1536,/0/default.jpg`,
id: `https://iiif.dc.library.northwestern.edu/iiif/2/440bcf10-a7ee-4824-a1fb-e505cad222df/210,210,2650,1720/1536,/0/default.jpg`,
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/440bcf10-a7ee-4824-a1fb-e505cad222df",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/440bcf10-a7ee-4824-a1fb-e505cad222df",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand All @@ -72,20 +72,20 @@ export const defaultCollection: HeroCollection = {
nul_hero_region: "210,210,2650,1720",
},
{
id: "https://iiif.stack.rdc.library.northwestern.edu/public/72/98/fd/ce/-a/dc/1-/45/01/-9/e1/4-/9e/8b/d9/85/e1/49-manifest2.json",
id: "https://iiif.dc.library.northwestern.edu/public/72/98/fd/ce/-a/dc/1-/45/01/-9/e1/4-/9e/8b/d9/85/e1/49-manifest2.json",
type: "Collection",
label: { none: ["Berkeley Folk Music Festival"] },
summary: {
none: ["Joan Baez"],
},
thumbnail: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/6877a6d9-1580-421d-ba51-e44b97f746a2/full/2000,/0/default.jpg",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/6877a6d9-1580-421d-ba51-e44b97f746a2/full/2000,/0/default.jpg",
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/6877a6d9-1580-421d-ba51-e44b97f746a2",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/6877a6d9-1580-421d-ba51-e44b97f746a2",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand All @@ -102,7 +102,7 @@ export const defaultCollection: HeroCollection = {
],
},
{
id: "https://iiif.stack.rdc.library.northwestern.edu/public/72/98/fd/ce/-a/dc/1-/45/01/-9/e1/4-/9e/8b/d9/85/e1/49-manifest3.json",
id: "https://iiif.dc.library.northwestern.edu/public/72/98/fd/ce/-a/dc/1-/45/01/-9/e1/4-/9e/8b/d9/85/e1/49-manifest3.json",
type: "Collection",
label: {
none: ["Athletic Department Football Films"],
Expand All @@ -126,18 +126,18 @@ export const defaultCollection: HeroCollection = {
],
},
{
id: "https://iiif.stack.rdc.library.northwestern.edu/public/05/2b/b6/f0/-b/6f/5-/45/90/-9/51/b-/ff/df/49/ff/af/03-manifest.json",
id: "https://iiif.dc.library.northwestern.edu/public/05/2b/b6/f0/-b/6f/5-/45/90/-9/51/b-/ff/df/49/ff/af/03-manifest.json",
type: "Collection",
label: { none: ["Commedia dell'Arte: The Masks of Antonio Fava"] },
summary: { none: ['Pulcinella "Stronzo" o "Arcigno"'] },
thumbnail: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/0d3531f0-2d7f-4e53-bb07-8019f94e44da/full/1600,/0/default.jpg",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/0d3531f0-2d7f-4e53-bb07-8019f94e44da/full/1600,/0/default.jpg",
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/0d3531f0-2d7f-4e53-bb07-8019f94e44da",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/0d3531f0-2d7f-4e53-bb07-8019f94e44da",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand All @@ -154,20 +154,20 @@ export const defaultCollection: HeroCollection = {
],
},
{
id: "https://iiif.stack.rdc.library.northwestern.edu/public/72/98/fd/ce/-a/dc/1-/45/01/-9/e1/4-/9e/8b/d9/85/e1/49-manifest4.json",
id: "https://iiif.dc.library.northwestern.edu/public/72/98/fd/ce/-a/dc/1-/45/01/-9/e1/4-/9e/8b/d9/85/e1/49-manifest4.json",
type: "Collection",
label: { none: ["Jim Roberts Photographs"] },
summary: {
none: ["Psychedelic Coke-bottle glasses"],
},
thumbnail: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/175c24b7-a5b7-4dfc-b01e-92bb075e360c/full/1496,/0/default.jpg",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/175c24b7-a5b7-4dfc-b01e-92bb075e360c/full/1496,/0/default.jpg",
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/175c24b7-a5b7-4dfc-b01e-92bb075e360c",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/175c24b7-a5b7-4dfc-b01e-92bb075e360c",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand All @@ -184,18 +184,18 @@ export const defaultCollection: HeroCollection = {
],
},
{
id: "https://iiif.stack.rdc.library.northwestern.edu/public/05/2b/b6/f0/-b/6f/5-/45/90/-9/51/b-/ff/df/49/ff/af/03-manifest2.json",
id: "https://iiif.dc.library.northwestern.edu/public/05/2b/b6/f0/-b/6f/5-/45/90/-9/51/b-/ff/df/49/ff/af/03-manifest2.json",
type: "Collection",
label: { none: ["World War II Poster Collection"] },
summary: { none: ["A careless word-- a needless sinking"] },
thumbnail: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/b725ab5e-8bc1-4bcc-9f9c-7c90db4e7e69/100,450,1600,1200/800,/0/default.jpg",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/b725ab5e-8bc1-4bcc-9f9c-7c90db4e7e69/100,450,1600,1200/800,/0/default.jpg",
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/b725ab5e-8bc1-4bcc-9f9c-7c90db4e7e69",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/b725ab5e-8bc1-4bcc-9f9c-7c90db4e7e69",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand Down Expand Up @@ -226,7 +226,7 @@ export const defaultCollection: HeroCollection = {
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/37a27b1d-ea5a-4bbe-b38a-fcd2f5904f25",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/37a27b1d-ea5a-4bbe-b38a-fcd2f5904f25",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand All @@ -249,12 +249,12 @@ export const defaultCollection: HeroCollection = {
export const overviewThumbnails: Array<IIIFExternalWebResource[]> = [
[
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/999a8522-aa7a-4c49-a4a1-25165be91b05/full/461,/0/default.jpg",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/999a8522-aa7a-4c49-a4a1-25165be91b05/full/461,/0/default.jpg",
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/092b31cb-810a-4ab8-8d65-7cf9a61ca2fe",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/092b31cb-810a-4ab8-8d65-7cf9a61ca2fe",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand All @@ -265,12 +265,12 @@ export const overviewThumbnails: Array<IIIFExternalWebResource[]> = [
],
[
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/acdaef88-f938-4b9c-b388-4748b85d8150//full/384,/0/default.jpg",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/acdaef88-f938-4b9c-b388-4748b85d8150//full/384,/0/default.jpg",
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/acdaef88-f938-4b9c-b388-4748b85d8150",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/acdaef88-f938-4b9c-b388-4748b85d8150",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand All @@ -281,12 +281,12 @@ export const overviewThumbnails: Array<IIIFExternalWebResource[]> = [
],
[
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/999a8522-aa7a-4c49-a4a1-25165be91b05/full/618,/0/default.jpg",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/999a8522-aa7a-4c49-a4a1-25165be91b05/full/618,/0/default.jpg",
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/999a8522-aa7a-4c49-a4a1-25165be91b05",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/999a8522-aa7a-4c49-a4a1-25165be91b05",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand All @@ -297,12 +297,12 @@ export const overviewThumbnails: Array<IIIFExternalWebResource[]> = [
],
[
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/70b391d0-51ef-429d-9c3c-3488e7a331fd/full/384,/0/default.jpg",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/70b391d0-51ef-429d-9c3c-3488e7a331fd/full/384,/0/default.jpg",
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/70b391d0-51ef-429d-9c3c-3488e7a331fd",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/70b391d0-51ef-429d-9c3c-3488e7a331fd",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand All @@ -323,12 +323,12 @@ export const overviewThumbnails: Array<IIIFExternalWebResource[]> = [
],
[
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/83aa87d5-0e0a-4733-9133-a53fb00c3b5a/full/446,/0/default.jpg",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/83aa87d5-0e0a-4733-9133-a53fb00c3b5a/full/446,/0/default.jpg",
type: "Image",
format: "image/jpeg",
service: [
{
id: "https://iiif.stack.rdc.library.northwestern.edu/iiif/2/83aa87d5-0e0a-4733-9133-a53fb00c3b5a",
id: "https://iiif.dc.library.northwestern.edu/iiif/2/83aa87d5-0e0a-4733-9133-a53fb00c3b5a",
profile: "http://iiif.io/api/image/2/level2.json",
type: "ImageService2",
},
Expand Down
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = withBundleAnalyzer({
domains: [
"dcapi.rdc.library.northwestern.edu",
"dcapi.rdc-staging.library.northwestern.edu",
"iiif.stack.rdc.library.northwestern.edu",
"iiif.dc.library.northwestern.edu",
"iiif.dc.library.northwestern.edu",
"api.dc.library.northwestern.edu",
],
Expand Down
2 changes: 1 addition & 1 deletion pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { UnorderedListStyled } from "@/components/Shared/UnorderedList";
import { buildDataLayer } from "@/lib/ga/data-layer";
import { loadDefaultStructuredData } from "@/lib/json-ld";

const baseUrl = "https://iiif.stack.rdc.library.northwestern.edu/iiif/2";
const baseUrl = "https://iiif.dc.library.northwestern.edu/iiif/2";

const featuredCollections: PhotoFeatureProps[] = [
{
Expand Down
Loading
Loading