diff --git a/components/Footer/Footer.tsx b/components/Footer/Footer.tsx index 5f64bb2a..ffa71d95 100644 --- a/components/Footer/Footer.tsx +++ b/components/Footer/Footer.tsx @@ -2,6 +2,7 @@ import Container from "@/components/Shared/Container"; import { FooterStyled } from "@/components/Footer/Footer.styled"; import { Footer as NUFooter } from "@nulib/design-system"; import React from "react"; +import SiteContentMessage from "./SiteContentMessage/SiteContentMessage"; export default function Footer() { return ( @@ -9,6 +10,7 @@ export default function Footer() { + ); } diff --git a/components/Shared/Message/Message.styled.ts b/components/Footer/SiteContentMessage/SiteContentMessage.styled.ts similarity index 100% rename from components/Shared/Message/Message.styled.ts rename to components/Footer/SiteContentMessage/SiteContentMessage.styled.ts diff --git a/components/Shared/Message/Message.tsx b/components/Footer/SiteContentMessage/SiteContentMessage.tsx similarity index 53% rename from components/Shared/Message/Message.tsx rename to components/Footer/SiteContentMessage/SiteContentMessage.tsx index d579f63d..bd819eac 100644 --- a/components/Shared/Message/Message.tsx +++ b/components/Footer/SiteContentMessage/SiteContentMessage.tsx @@ -2,14 +2,14 @@ import { MessageContent, MessageStyled, MessageText, - MessageTitle, -} from "@/components/Shared/Message/Message.styled"; +} from "@/components/Footer/SiteContentMessage/SiteContentMessage.styled"; import { useEffect, useState } from "react"; + import { Button } from "@nulib/design-system"; import Container from "@/components/Shared/Container"; import useSessionStorage from "@/hooks/useSessionStorage"; -const Message = () => { +const SiteContentMessage = () => { const current = Date.now() / 1000; const interval = 86400; // 24 hours @@ -43,20 +43,19 @@ const Message = () => {
- Potentially harmful content - Northwestern University Libraries Digital Collections contain - materials that reflect the beliefs and norms of the era and - culture in which they were created or collected. The site contains - offensive imagery, language, or opinions related to a white - supremist, exploitative, and/or discriminatory culture. - Additionally, this site contains sexual content or violence that - may not be appropriate for all audiences. The Libraries are - committed to the ethical digitization and description of materials - that offer alternative histories and center voices from - marginalized cultures. If you have questions or concerns about the - materials, please refer to our “Retention of Challenged Materials” - policy with more information about how to contact us. + Northwestern University Libraries' Digital Collections + contain materials that reflect the beliefs and norms of their eras + and culture in which they were created or collected. The site may + contain imagery, language, or opinions that are offensive and may + not be appropriate for all audiences. The Libraries are committed + to the ethical digitization and description of materials that + offer alternative histories and center voices from marginalized + cultures. Please direct questions to{" "} + + library@northwestern.edu + + .
@@ -69,4 +68,4 @@ const Message = () => { ); }; -export default Message; +export default SiteContentMessage;