Skip to content

Commit

Permalink
Merge pull request #305 from nulib/deploy/staging
Browse files Browse the repository at this point in the history
Production push
  • Loading branch information
adamjarling authored Oct 10, 2023
2 parents 362adbd + 1e5d8ef commit 12742ac
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
2 changes: 2 additions & 0 deletions components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ 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 (
<FooterStyled>
<Container>
<NUFooter isCopyright />
</Container>
<SiteContentMessage />
</FooterStyled>
);
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -43,20 +43,19 @@ const Message = () => {
<Container>
<MessageContent>
<div>
<MessageTitle>Potentially harmful content</MessageTitle>
<MessageText>
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&apos; 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{" "}
<a href="mailto:[email protected]">
[email protected]
</a>
.
</MessageText>
</div>
<div>
Expand All @@ -69,4 +68,4 @@ const Message = () => {
</MessageStyled>
);
};
export default Message;
export default SiteContentMessage;

0 comments on commit 12742ac

Please sign in to comment.