Skip to content

Commit

Permalink
Move manifest location and post theme things.
Browse files Browse the repository at this point in the history
  • Loading branch information
markpbaggett committed May 3, 2024
1 parent 2f9b296 commit 51dca10
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 51 deletions.
31 changes: 19 additions & 12 deletions config/canopy.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"collection": "https://raw.githubusercontent.com/markpbaggett/static_iiif/main/collections/abolition-now.json",
"devCollection": "https://raw.githubusercontent.com/markpbaggett/static_iiif/main/collections/abolition-now.json",
"collection": "https://raw.githubusercontent.com/abolition-now/manifests/main/collections/abolition-now.json",
"devCollection": "https://raw.githubusercontent.com/abolition-now/manifests/main/collections/abolition-now.json",
"featured": [
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0028_abolitionwithbarbedwire.json",
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0089_waterismedicine.json",
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0210_0211_restinpower.json",
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0148_abolitionpigcop.json",
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0073_youthsoeducated.json",
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0141_humanityoverhate.json",
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0007_stopcopcity.json",
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0007_walaaloisjeceylgeorgefloydphoenix.json",
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0063_housingkeepsyouthfree.json",
"https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0136_policefreeschools.json"
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0028_abolitionwithbarbedwire.json",
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0089_waterismedicine.json",
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0210_0211_restinpower.json",
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0148_abolitionpigcop.json",
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0073_youthsoeducated.json",
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0141_humanityoverhate.json",
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0007_stopcopcity.json",
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0007_walaaloisjeceylgeorgefloydphoenix.json",
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0063_housingkeepsyouthfree.json",
"https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0136_policefreeschools.json"
],
"metadata": ["Subject", "Artist", "Slogans", "Visual Motifs", "Date", "Geography", "People", "Medium", "Photographer"],
"summary": {
Expand All @@ -33,5 +33,12 @@
"attribution": "&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors"
}
]
},
"theme": {
"defaultTheme": "light",
"accentColor": "red",
"grayColor": "mauve",
"radius": "none",
"scaling": "100%"
}
}
2 changes: 1 addition & 1 deletion content/guides/delesslin-roo-george-warren.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "A study guide: DeLesslin “Roo” George-Warren"
description: Study Guide for DeLesslin “Roo” George-Warren
navigation: "guides"
referencedManifests:
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0002_atimebeforepolice.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0002_atimebeforepolice.json
---

# A study guide: DeLesslin “Roo” George-Warren
Expand Down
16 changes: 8 additions & 8 deletions content/guides/dylan-miner.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ title: "A study guide: Dylan Miner"
description: Study Guide for Dylan Minder
navigation: "guides"
referencedManifests:
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0089_abolition.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0089_waterismedicine.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0089_todayandeveryday.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0089_migrationisbeautiful.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0089_nopipelines.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0089_imaginenoborders.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0089_endimmigrationdetention.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0089_nopipelinesonindigenousland.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0089_abolition.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0089_waterismedicine.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0089_todayandeveryday.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0089_migrationisbeautiful.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0089_nopipelines.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0089_imaginenoborders.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0089_endimmigrationdetention.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0089_nopipelinesonindigenousland.json
---

# A study guide: Dylan Miner
Expand Down
18 changes: 9 additions & 9 deletions content/guides/josh-macphee.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ title: "A study guide: Josh MacPhee"
description: Study Guide for Josh MacPhee
navigation: "guides"
referencedManifests:
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0003_thebeach.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0003_prisonsdontwork.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0003_kaboom.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0003_walterrodney.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0003_johnbrown.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0003_beyondprison.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0003_threeprinciples.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0003_educationcostsless.json
- https://raw.githubusercontent.com/markpbaggett/static_iiif/main/manifests/abolition_now/0003_wedemand.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0003_thebeach.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0003_prisonsdontwork.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0003_kaboom.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0003_walterrodney.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0003_johnbrown.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0003_beyondprison.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0003_threeprinciples.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0003_educationcostsless.json
- https://raw.githubusercontent.com/abolition-now/manifests/main/manifests/0003_wedemand.json
---

# A study guide: Josh MacPhee
Expand Down
2 changes: 1 addition & 1 deletion content/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ images, your art, your voices.

## Highlighted Works

{/* <Slider iiifContent="https://raw.githubusercontent.com/markpbaggett/static_iiif/main/collections/interviews-with-the-artists.json" /> */}
<Slider iiifContent="https://raw.githubusercontent.com/abolition-now/manifests/main/collections/interviews-with-the-artists.json" />

<Slider iiifContent="/an/api/facet/subject/worldingfutures.json" />

Expand Down
9 changes: 4 additions & 5 deletions src/pages/guides/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getMarkdownContent, getMarkdownPaths } from "@lib/contentHelpers";
import CanopyMDXRemote from "@src/components/MDX";
import { FrontMatterPageProps } from "@customTypes/content";
import { GetStaticPropsContext } from "next";
import LayoutsBasic from "@src/components/Layouts/Basic";
import LayoutsBasicSidebar from "@src/components/Layouts/BasicSidebar";
import { buildContentSEO } from "@src/lib/seo";

/**
Expand All @@ -18,10 +18,9 @@ const CONTENT_DIRECTORY = "guides";
*/
const ContentPageSlug = ({ source, frontMatter }: FrontMatterPageProps) => {
return (
<LayoutsBasic
content={<CanopyMDXRemote {...source} />}
frontMatter={frontMatter}
/>
<LayoutsBasicSidebar frontMatter={frontMatter}>
<CanopyMDXRemote source={source} />
</LayoutsBasicSidebar>
);
};

Expand Down
9 changes: 4 additions & 5 deletions src/pages/guides/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import CanopyMDXRemote from "@src/components/MDX";
import { FrontMatterPageProps } from "@customTypes/content";
import LayoutsBasic from "@src/components/Layouts/Basic";
import LayoutsBasicSidebar from "@src/components/Layouts/BasicSidebar";
import { buildContentSEO } from "@src/lib/seo";
import { getMarkdownContent } from "@lib/contentHelpers";

Expand All @@ -16,10 +16,9 @@ const CONTENT_DIRECTORY = "guides";
*/
const ContentPage = ({ source, frontMatter }: FrontMatterPageProps) => {
return (
<LayoutsBasic
content={<CanopyMDXRemote {...source} />}
frontMatter={frontMatter}
/>
<LayoutsBasicSidebar frontMatter={frontMatter}>
<CanopyMDXRemote source={source} />
</LayoutsBasicSidebar>
);
};

Expand Down
9 changes: 4 additions & 5 deletions src/pages/team/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getMarkdownContent, getMarkdownPaths } from "@lib/contentHelpers";
import CanopyMDXRemote from "@src/components/MDX";
import { FrontMatterPageProps } from "@customTypes/content";
import { GetStaticPropsContext } from "next";
import LayoutsBasic from "@src/components/Layouts/Basic";
import LayoutsBasicSidebar from "@src/components/Layouts/BasicSidebar";
import { buildContentSEO } from "@src/lib/seo";

/**
Expand All @@ -18,10 +18,9 @@ const CONTENT_DIRECTORY = "team";
*/
const ContentPageSlug = ({ source, frontMatter }: FrontMatterPageProps) => {
return (
<LayoutsBasic
content={<CanopyMDXRemote {...source} />}
frontMatter={frontMatter}
/>
<LayoutsBasicSidebar frontMatter={frontMatter}>
<CanopyMDXRemote source={source} />
</LayoutsBasicSidebar>
);
};

Expand Down
9 changes: 4 additions & 5 deletions src/pages/team/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import CanopyMDXRemote from "@src/components/MDX";
import { FrontMatterPageProps } from "@customTypes/content";
import LayoutsBasic from "@src/components/Layouts/Basic";
import LayoutsBasicSidebar from "@src/components/Layouts/BasicSidebar";
import { buildContentSEO } from "@src/lib/seo";
import { getMarkdownContent } from "@lib/contentHelpers";

Expand All @@ -16,10 +16,9 @@ const CONTENT_DIRECTORY = "team";
*/
const ContentPage = ({ source, frontMatter }: FrontMatterPageProps) => {
return (
<LayoutsBasic
content={<CanopyMDXRemote {...source} />}
frontMatter={frontMatter}
/>
<LayoutsBasicSidebar frontMatter={frontMatter}>
<CanopyMDXRemote source={source} />
</LayoutsBasicSidebar>
);
};

Expand Down

0 comments on commit 51dca10

Please sign in to comment.