Skip to content

Commit

Permalink
content: update exhibitions
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrobertbrooks committed Oct 1, 2024
1 parent 28b8b88 commit 3f55931
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 34 deletions.
15 changes: 1 addition & 14 deletions src/components/layout/Banner.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
import styled from 'styled-components';
import { UnstyledLink, Url } from '../../router';
import { BANNER_HEIGHT_PX, colors } from '../../styles';

const Banner = () => (
<Element>
<UnstyledLink className="text-center" to={Url.ExhibitionsPage}>
<span>
See <em>A Common Bond: Women Artists of Monhegan Island</em> at the
Monhegan Museum
</span>
<span className="small d-none d-md-block">
July 1 – September 30, 2024
</span>
</UnstyledLink>
</Element>
);
const Banner = () => <Element>{/* ... */}</Element>;

const Element = styled.aside`
align-items: center;
Expand Down
31 changes: 12 additions & 19 deletions src/pages/Exhibitions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@ export const Exhibitions = () => (
>
<H1>Exhibitions</H1>
<H2 className="mb-4">Current</H2>
<Exhibition
title="A Common Bond: Women Artists of Monhegan Island"
dates="July 1 – September 30, 2024"
location="Monhegan Museum of Art & History (Monhegan, ME)"
children={
<Paragraph className="row gy-2">
<span>
<ExternalLink href="https://monheganmuseum.org/upcoming">
More Information
</ExternalLink>
</span>
<span>
<ExternalLink href="https://www.islandinstitute.org/working-waterfront/righting-a-wrong-monhegans-women-artists-get-their-due/">
Review by Carl Little
</ExternalLink>
</span>
</Paragraph>
}
/>
<Exhibition
title="Nocturne"
dates="September 12 – October 20, 2024"
Expand All @@ -40,6 +21,18 @@ export const Exhibitions = () => (
<Divider />
*/}
<H2 className="mb-4">Past</H2>
<Exhibition
title="A Common Bond: Women Artists of Monhegan Island"
dates="July 1 – September 30, 2024"
location="Monhegan Museum of Art & History (Monhegan, ME)"
children={
<Paragraph>
<ExternalLink href="https://www.islandinstitute.org/working-waterfront/righting-a-wrong-monhegans-women-artists-get-their-due/">
Review by Carl Little
</ExternalLink>
</Paragraph>
}
/>
<Exhibition
title="Generations: The Legacy of Mentors"
dates="May 2 – June 9, 2024"
Expand Down
2 changes: 1 addition & 1 deletion src/styles/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const MIN_SCREEN_WIDTH_PX = 320;
/*
* banner
*/
export const HAS_BANNER = true;
export const HAS_BANNER = false;

export const BANNER_HEIGHT_PX = 57;

Expand Down

0 comments on commit 3f55931

Please sign in to comment.