Skip to content

Commit

Permalink
Touches.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan committed Oct 31, 2024
1 parent 4f9595f commit 5da0880
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/Hero/Hero.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const HeroStyled = styled("div", {
width: "100%",
height: "100%",
position: "relative",
zIndex: "1",

".swiper-wrapper": {
"&::before": {
Expand Down
19 changes: 18 additions & 1 deletion pages/collections/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import { Collection as CollectionType } from "@nulib/dcapi-types";
import Container from "@/components/Shared/Container";
import Facts from "@/components/Shared/Facts";
import Head from "next/head";
import Heading from "@/components/Heading/Heading";
import Hero from "@/components/Hero/Hero";
import IIIFShare from "@/components/Shared/IIIF/Share";
import Layout from "components/layout";
Expand Down Expand Up @@ -176,7 +177,6 @@ const Collection: NextPage = () => {
</Facts>
</Container>
</Interstitial>
<IIIFShare uri={iiifResource} />
<Container>
<Tabs defaultValue="explore">
<TabsList aria-label="Explore">
Expand All @@ -187,6 +187,23 @@ const Collection: NextPage = () => {
<TabsTrigger value="metadata">All Subjects</TabsTrigger>
</TabsList>
<TabsContent value="explore">
<div
style={{
display: "flex",
justifyContent: "space-between",
marginTop: "1.5em",
}}
>
<Heading
as="h2"
css={{
margin: "0 0 $gr2 !important",
}}
>
{collection?.title}
</Heading>{" "}
<IIIFShare uri="" />
</div>
{description && (
<Description data-testid="description">
<ReadMore text={description} words={55} />
Expand Down

0 comments on commit 5da0880

Please sign in to comment.