Skip to content

Commit 12742ac

Browse files
authored
Merge pull request #305 from nulib/deploy/staging
Production push
2 parents 362adbd + 1e5d8ef commit 12742ac

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

components/Footer/Footer.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ import Container from "@/components/Shared/Container";
22
import { FooterStyled } from "@/components/Footer/Footer.styled";
33
import { Footer as NUFooter } from "@nulib/design-system";
44
import React from "react";
5+
import SiteContentMessage from "./SiteContentMessage/SiteContentMessage";
56

67
export default function Footer() {
78
return (
89
<FooterStyled>
910
<Container>
1011
<NUFooter isCopyright />
1112
</Container>
13+
<SiteContentMessage />
1214
</FooterStyled>
1315
);
1416
}
File renamed without changes.

components/Shared/Message/Message.tsx renamed to components/Footer/SiteContentMessage/SiteContentMessage.tsx

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import {
22
MessageContent,
33
MessageStyled,
44
MessageText,
5-
MessageTitle,
6-
} from "@/components/Shared/Message/Message.styled";
5+
} from "@/components/Footer/SiteContentMessage/SiteContentMessage.styled";
76
import { useEffect, useState } from "react";
7+
88
import { Button } from "@nulib/design-system";
99
import Container from "@/components/Shared/Container";
1010
import useSessionStorage from "@/hooks/useSessionStorage";
1111

12-
const Message = () => {
12+
const SiteContentMessage = () => {
1313
const current = Date.now() / 1000;
1414
const interval = 86400; // 24 hours
1515

@@ -43,20 +43,19 @@ const Message = () => {
4343
<Container>
4444
<MessageContent>
4545
<div>
46-
<MessageTitle>Potentially harmful content</MessageTitle>
4746
<MessageText>
48-
Northwestern University Libraries Digital Collections contain
49-
materials that reflect the beliefs and norms of the era and
50-
culture in which they were created or collected. The site contains
51-
offensive imagery, language, or opinions related to a white
52-
supremist, exploitative, and/or discriminatory culture.
53-
Additionally, this site contains sexual content or violence that
54-
may not be appropriate for all audiences. The Libraries are
55-
committed to the ethical digitization and description of materials
56-
that offer alternative histories and center voices from
57-
marginalized cultures. If you have questions or concerns about the
58-
materials, please refer to our “Retention of Challenged Materials”
59-
policy with more information about how to contact us.
47+
Northwestern University Libraries&apos; Digital Collections
48+
contain materials that reflect the beliefs and norms of their eras
49+
and culture in which they were created or collected. The site may
50+
contain imagery, language, or opinions that are offensive and may
51+
not be appropriate for all audiences. The Libraries are committed
52+
to the ethical digitization and description of materials that
53+
offer alternative histories and center voices from marginalized
54+
cultures. Please direct questions to{" "}
55+
<a href="mailto:[email protected]">
56+
57+
</a>
58+
.
6059
</MessageText>
6160
</div>
6261
<div>
@@ -69,4 +68,4 @@ const Message = () => {
6968
</MessageStyled>
7069
);
7170
};
72-
export default Message;
71+
export default SiteContentMessage;

0 commit comments

Comments
 (0)